diff --git a/eng/mgmt/mgmtmetadata/healthcareapis_resource-manager.txt b/eng/mgmt/mgmtmetadata/healthcareapis_resource-manager.txt
index e281778049c87..0d3dfe3b1c27d 100644
--- a/eng/mgmt/mgmtmetadata/healthcareapis_resource-manager.txt
+++ b/eng/mgmt/mgmtmetadata/healthcareapis_resource-manager.txt
@@ -3,12 +3,12 @@ AutoRest installed successfully.
Commencing code generation
Generating CSharp code
Executing AutoRest command
-cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/healthcareapis/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=C:\azure-sdk-for-net\sdk
-2020-10-29 23:21:21 UTC
+cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/healthcareapis/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=D:\projects\azure-sdk-for-net\sdk
+2021-03-29 08:17:21 UTC
Azure-rest-api-specs repository information
GitHub fork: Azure
Branch: master
-Commit: 3faca877220bd1d20af91576946e3e6c5819ce96
+Commit: 745f3e5d3beb25f312592d0fd332ded466154ce9
AutoRest information
Requested version: v2
Bootstrapper version: autorest@2.0.4413
diff --git a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/AzSdk.RP.props b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/AzSdk.RP.props
index 9d81a004b7e7f..fa83ec50462cd 100644
--- a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/AzSdk.RP.props
+++ b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/AzSdk.RP.props
@@ -1,7 +1,7 @@
- HealthcareApis_2020-03-30;
+ HealthcareApis_2021-01-11;
$(PackageTags);$(CommonTags);$(AzureApiTag);
\ No newline at end of file
diff --git a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/HealthcareApisManagementClient.cs b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/HealthcareApisManagementClient.cs
index 810198cb5de22..d7b6ab48b9a12 100644
--- a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/HealthcareApisManagementClient.cs
+++ b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/HealthcareApisManagementClient.cs
@@ -346,7 +346,7 @@ private void Initialize()
PrivateEndpointConnections = new PrivateEndpointConnectionsOperations(this);
PrivateLinkResources = new PrivateLinkResourcesOperations(this);
BaseUri = new System.Uri("https://management.azure.com");
- ApiVersion = "2020-03-30";
+ ApiVersion = "2021-01-11";
AcceptLanguage = "en-US";
LongRunningOperationRetryTimeout = 30;
GenerateClientRequestId = true;
diff --git a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/IPrivateEndpointConnectionsOperations.cs b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/IPrivateEndpointConnectionsOperations.cs
index cd1799395bcfb..5353386a44df1 100644
--- a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/IPrivateEndpointConnectionsOperations.cs
+++ b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/IPrivateEndpointConnectionsOperations.cs
@@ -47,7 +47,7 @@ public partial interface IPrivateEndpointConnectionsOperations
///
/// Thrown when a required parameter is null
///
- Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// Gets the specified private endpoint connection associated with the
/// service.
@@ -77,7 +77,7 @@ public partial interface IPrivateEndpointConnectionsOperations
///
/// Thrown when a required parameter is null
///
- Task> GetWithHttpMessagesAsync(string resourceGroupName, string resourceName, string privateEndpointConnectionName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> GetWithHttpMessagesAsync(string resourceGroupName, string resourceName, string privateEndpointConnectionName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// Update the state of the specified private endpoint connection
/// associated with the service.
@@ -110,7 +110,7 @@ public partial interface IPrivateEndpointConnectionsOperations
///
/// Thrown when a required parameter is null
///
- Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string resourceName, string privateEndpointConnectionName, PrivateEndpointConnection properties, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string resourceName, string privateEndpointConnectionName, PrivateEndpointConnection properties, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// Deletes a private endpoint connection.
///
@@ -169,7 +169,7 @@ public partial interface IPrivateEndpointConnectionsOperations
///
/// Thrown when a required parameter is null
///
- Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string resourceName, string privateEndpointConnectionName, PrivateEndpointConnection properties, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string resourceName, string privateEndpointConnectionName, PrivateEndpointConnection properties, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// Deletes a private endpoint connection.
///
diff --git a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/IPrivateLinkResourcesOperations.cs b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/IPrivateLinkResourcesOperations.cs
index 2c212bec22abc..2ed80818e6e85 100644
--- a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/IPrivateLinkResourcesOperations.cs
+++ b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/IPrivateLinkResourcesOperations.cs
@@ -10,8 +10,10 @@
namespace Microsoft.Azure.Management.HealthcareApis
{
+ using Microsoft.Rest;
using Microsoft.Rest.Azure;
using Models;
+ using System.Collections;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
@@ -46,7 +48,7 @@ public partial interface IPrivateLinkResourcesOperations
///
/// Thrown when a required parameter is null
///
- Task> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// Gets a private link resource that need to be created for a service.
///
@@ -74,6 +76,6 @@ public partial interface IPrivateLinkResourcesOperations
///
/// Thrown when a required parameter is null
///
- Task> GetWithHttpMessagesAsync(string resourceGroupName, string resourceName, string groupName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> GetWithHttpMessagesAsync(string resourceGroupName, string resourceName, string groupName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
}
}
diff --git a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/CreatedByType.cs b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/CreatedByType.cs
new file mode 100644
index 0000000000000..30b5e3d497fa6
--- /dev/null
+++ b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/CreatedByType.cs
@@ -0,0 +1,24 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.HealthcareApis.Models
+{
+
+ ///
+ /// Defines values for CreatedByType.
+ ///
+ public static class CreatedByType
+ {
+ public const string User = "User";
+ public const string Application = "Application";
+ public const string ManagedIdentity = "ManagedIdentity";
+ public const string Key = "Key";
+ }
+}
diff --git a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/PrivateEndpointConnectionDescription.cs b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/PrivateEndpointConnectionDescription.cs
new file mode 100644
index 0000000000000..8a8b6e885b1c4
--- /dev/null
+++ b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/PrivateEndpointConnectionDescription.cs
@@ -0,0 +1,78 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.HealthcareApis.Models
+{
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// The Private Endpoint Connection resource.
+ ///
+ public partial class PrivateEndpointConnectionDescription : PrivateEndpointConnection
+ {
+ ///
+ /// Initializes a new instance of the
+ /// PrivateEndpointConnectionDescription class.
+ ///
+ public PrivateEndpointConnectionDescription()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the
+ /// PrivateEndpointConnectionDescription class.
+ ///
+ /// A collection of
+ /// information about the state of the connection between service
+ /// consumer and provider.
+ /// Fully qualified resource ID for the resource. Ex -
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
+ /// The name of the resource
+ /// The type of the resource. E.g.
+ /// "Microsoft.Compute/virtualMachines" or
+ /// "Microsoft.Storage/storageAccounts"
+ /// The resource of private end
+ /// point.
+ /// The provisioning state of the
+ /// private endpoint connection resource. Possible values include:
+ /// 'Succeeded', 'Creating', 'Deleting', 'Failed'
+ /// System metadata for this resource.
+ public PrivateEndpointConnectionDescription(PrivateLinkServiceConnectionState privateLinkServiceConnectionState, string id = default(string), string name = default(string), string type = default(string), PrivateEndpoint privateEndpoint = default(PrivateEndpoint), string provisioningState = default(string), SystemData systemData = default(SystemData))
+ : base(privateLinkServiceConnectionState, id, name, type, privateEndpoint, provisioningState)
+ {
+ SystemData = systemData;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets system metadata for this resource.
+ ///
+ [JsonProperty(PropertyName = "systemData")]
+ public SystemData SystemData { get; set; }
+
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public override void Validate()
+ {
+ base.Validate();
+ }
+ }
+}
diff --git a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/PrivateLinkResourceDescription.cs b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/PrivateLinkResourceDescription.cs
new file mode 100644
index 0000000000000..545ac8aaf9374
--- /dev/null
+++ b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/PrivateLinkResourceDescription.cs
@@ -0,0 +1,67 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.HealthcareApis.Models
+{
+ using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+
+ ///
+ /// The Private Endpoint Connection resource.
+ ///
+ public partial class PrivateLinkResourceDescription : PrivateLinkResource
+ {
+ ///
+ /// Initializes a new instance of the PrivateLinkResourceDescription
+ /// class.
+ ///
+ public PrivateLinkResourceDescription()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the PrivateLinkResourceDescription
+ /// class.
+ ///
+ /// Fully qualified resource ID for the resource. Ex -
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
+ /// The name of the resource
+ /// The type of the resource. E.g.
+ /// "Microsoft.Compute/virtualMachines" or
+ /// "Microsoft.Storage/storageAccounts"
+ /// The private link resource group id.
+ /// The private link resource required
+ /// member names.
+ /// The private link resource Private
+ /// link DNS zone name.
+ /// System metadata for this resource.
+ public PrivateLinkResourceDescription(string id = default(string), string name = default(string), string type = default(string), string groupId = default(string), IList requiredMembers = default(IList), IList requiredZoneNames = default(IList), SystemData systemData = default(SystemData))
+ : base(id, name, type, groupId, requiredMembers, requiredZoneNames)
+ {
+ SystemData = systemData;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets system metadata for this resource.
+ ///
+ [JsonProperty(PropertyName = "systemData")]
+ public SystemData SystemData { get; set; }
+
+ }
+}
diff --git a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/PrivateLinkResourceListResult.cs b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/PrivateLinkResourceListResultDescription.cs
similarity index 68%
rename from sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/PrivateLinkResourceListResult.cs
rename to sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/PrivateLinkResourceListResultDescription.cs
index 8a5978b870dfe..393aa3e78b403 100644
--- a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/PrivateLinkResourceListResult.cs
+++ b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/PrivateLinkResourceListResultDescription.cs
@@ -18,23 +18,23 @@ namespace Microsoft.Azure.Management.HealthcareApis.Models
///
/// A list of private link resources
///
- public partial class PrivateLinkResourceListResult
+ public partial class PrivateLinkResourceListResultDescription
{
///
- /// Initializes a new instance of the PrivateLinkResourceListResult
- /// class.
+ /// Initializes a new instance of the
+ /// PrivateLinkResourceListResultDescription class.
///
- public PrivateLinkResourceListResult()
+ public PrivateLinkResourceListResultDescription()
{
CustomInit();
}
///
- /// Initializes a new instance of the PrivateLinkResourceListResult
- /// class.
+ /// Initializes a new instance of the
+ /// PrivateLinkResourceListResultDescription class.
///
/// Array of private link resources
- public PrivateLinkResourceListResult(IList value = default(IList))
+ public PrivateLinkResourceListResultDescription(IList value = default(IList))
{
Value = value;
CustomInit();
@@ -49,7 +49,7 @@ public PrivateLinkResourceListResult()
/// Gets or sets array of private link resources
///
[JsonProperty(PropertyName = "value")]
- public IList Value { get; set; }
+ public IList Value { get; set; }
}
}
diff --git a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/ServiceAcrConfigurationInfo.cs b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/ServiceAcrConfigurationInfo.cs
new file mode 100644
index 0000000000000..dccc2e618d585
--- /dev/null
+++ b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/ServiceAcrConfigurationInfo.cs
@@ -0,0 +1,56 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.HealthcareApis.Models
+{
+ using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+
+ ///
+ /// Azure container registry configuration information
+ ///
+ public partial class ServiceAcrConfigurationInfo
+ {
+ ///
+ /// Initializes a new instance of the ServiceAcrConfigurationInfo
+ /// class.
+ ///
+ public ServiceAcrConfigurationInfo()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the ServiceAcrConfigurationInfo
+ /// class.
+ ///
+ /// The list of the ACR login
+ /// servers.
+ public ServiceAcrConfigurationInfo(IList loginServers = default(IList))
+ {
+ LoginServers = loginServers;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets the list of the ACR login servers.
+ ///
+ [JsonProperty(PropertyName = "loginServers")]
+ public IList LoginServers { get; set; }
+
+ }
+}
diff --git a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/ServicesDescription.cs b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/ServicesDescription.cs
index 9b390417a9ffb..adfb2fa676455 100644
--- a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/ServicesDescription.cs
+++ b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/ServicesDescription.cs
@@ -44,10 +44,11 @@ public ServicesDescription()
/// managed identity associated with it.
/// The common properties of a
/// service.
- public ServicesDescription(Kind kind, string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string etag = default(string), ServicesResourceIdentity identity = default(ServicesResourceIdentity), ServicesProperties properties = default(ServicesProperties))
+ public ServicesDescription(Kind kind, string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string etag = default(string), ServicesResourceIdentity identity = default(ServicesResourceIdentity), ServicesProperties properties = default(ServicesProperties), SystemData systemData = default(SystemData))
: base(kind, location, id, name, type, tags, etag, identity)
{
Properties = properties;
+ SystemData = systemData;
CustomInit();
}
@@ -62,6 +63,11 @@ public ServicesDescription()
[JsonProperty(PropertyName = "properties")]
public ServicesProperties Properties { get; set; }
+ ///
+ ///
+ [JsonProperty(PropertyName = "systemData")]
+ public SystemData SystemData { get; set; }
+
///
/// Validate the object.
///
diff --git a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/ServicesProperties.cs b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/ServicesProperties.cs
index 32517b0b0ee39..3733f8fee3479 100644
--- a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/ServicesProperties.cs
+++ b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/ServicesProperties.cs
@@ -50,7 +50,10 @@ public ServicesProperties()
/// Control permission for data plane
/// traffic coming from public networks while private endpoint is
/// enabled. Possible values include: 'Enabled', 'Disabled'
- public ServicesProperties(string provisioningState = default(string), IList accessPolicies = default(IList), ServiceCosmosDbConfigurationInfo cosmosDbConfiguration = default(ServiceCosmosDbConfigurationInfo), ServiceAuthenticationConfigurationInfo authenticationConfiguration = default(ServiceAuthenticationConfigurationInfo), ServiceCorsConfigurationInfo corsConfiguration = default(ServiceCorsConfigurationInfo), ServiceExportConfigurationInfo exportConfiguration = default(ServiceExportConfigurationInfo), IList privateEndpointConnections = default(IList), string publicNetworkAccess = default(string))
+ /// The azure container registry
+ /// settings used for convert data operation of the service
+ /// instance.
+ public ServicesProperties(string provisioningState = default(string), IList accessPolicies = default(IList), ServiceCosmosDbConfigurationInfo cosmosDbConfiguration = default(ServiceCosmosDbConfigurationInfo), ServiceAuthenticationConfigurationInfo authenticationConfiguration = default(ServiceAuthenticationConfigurationInfo), ServiceCorsConfigurationInfo corsConfiguration = default(ServiceCorsConfigurationInfo), ServiceExportConfigurationInfo exportConfiguration = default(ServiceExportConfigurationInfo), IList privateEndpointConnections = default(IList), string publicNetworkAccess = default(string), ServiceAcrConfigurationInfo acrConfiguration = default(ServiceAcrConfigurationInfo))
{
ProvisioningState = provisioningState;
AccessPolicies = accessPolicies;
@@ -60,6 +63,7 @@ public ServicesProperties()
ExportConfiguration = exportConfiguration;
PrivateEndpointConnections = privateEndpointConnections;
PublicNetworkAccess = publicNetworkAccess;
+ AcrConfiguration = acrConfiguration;
CustomInit();
}
@@ -125,6 +129,13 @@ public ServicesProperties()
[JsonProperty(PropertyName = "publicNetworkAccess")]
public string PublicNetworkAccess { get; set; }
+ ///
+ /// Gets or sets the azure container registry settings used for convert
+ /// data operation of the service instance.
+ ///
+ [JsonProperty(PropertyName = "acrConfiguration")]
+ public ServiceAcrConfigurationInfo AcrConfiguration { get; set; }
+
///
/// Validate the object.
///
diff --git a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/SystemData.cs b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/SystemData.cs
new file mode 100644
index 0000000000000..ce78e3b7379bd
--- /dev/null
+++ b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/SystemData.cs
@@ -0,0 +1,103 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.HealthcareApis.Models
+{
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Metadata pertaining to creation and last modification of the resource.
+ ///
+ public partial class SystemData
+ {
+ ///
+ /// Initializes a new instance of the SystemData class.
+ ///
+ public SystemData()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the SystemData class.
+ ///
+ /// The identity that created the
+ /// resource.
+ /// The type of identity that created the
+ /// resource. Possible values include: 'User', 'Application',
+ /// 'ManagedIdentity', 'Key'
+ /// The timestamp of resource creation
+ /// (UTC).
+ /// The identity that last modified the
+ /// resource.
+ /// The type of identity that last
+ /// modified the resource. Possible values include: 'User',
+ /// 'Application', 'ManagedIdentity', 'Key'
+ /// The timestamp of resource last
+ /// modification (UTC)
+ public SystemData(string createdBy = default(string), string createdByType = default(string), System.DateTime? createdAt = default(System.DateTime?), string lastModifiedBy = default(string), string lastModifiedByType = default(string), System.DateTime? lastModifiedAt = default(System.DateTime?))
+ {
+ CreatedBy = createdBy;
+ CreatedByType = createdByType;
+ CreatedAt = createdAt;
+ LastModifiedBy = lastModifiedBy;
+ LastModifiedByType = lastModifiedByType;
+ LastModifiedAt = lastModifiedAt;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets the identity that created the resource.
+ ///
+ [JsonProperty(PropertyName = "createdBy")]
+ public string CreatedBy { get; set; }
+
+ ///
+ /// Gets or sets the type of identity that created the resource.
+ /// Possible values include: 'User', 'Application', 'ManagedIdentity',
+ /// 'Key'
+ ///
+ [JsonProperty(PropertyName = "createdByType")]
+ public string CreatedByType { get; set; }
+
+ ///
+ /// Gets or sets the timestamp of resource creation (UTC).
+ ///
+ [JsonProperty(PropertyName = "createdAt")]
+ public System.DateTime? CreatedAt { get; set; }
+
+ ///
+ /// Gets or sets the identity that last modified the resource.
+ ///
+ [JsonProperty(PropertyName = "lastModifiedBy")]
+ public string LastModifiedBy { get; set; }
+
+ ///
+ /// Gets or sets the type of identity that last modified the resource.
+ /// Possible values include: 'User', 'Application', 'ManagedIdentity',
+ /// 'Key'
+ ///
+ [JsonProperty(PropertyName = "lastModifiedByType")]
+ public string LastModifiedByType { get; set; }
+
+ ///
+ /// Gets or sets the timestamp of resource last modification (UTC)
+ ///
+ [JsonProperty(PropertyName = "lastModifiedAt")]
+ public System.DateTime? LastModifiedAt { get; set; }
+
+ }
+}
diff --git a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/PrivateEndpointConnectionsOperations.cs b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/PrivateEndpointConnectionsOperations.cs
index f9e7ede63d27c..db0b1a36ae788 100644
--- a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/PrivateEndpointConnectionsOperations.cs
+++ b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/PrivateEndpointConnectionsOperations.cs
@@ -80,7 +80,7 @@ internal PrivateEndpointConnectionsOperations(HealthcareApisManagementClient cli
///
/// A response object containing the response body and response headers.
///
- public async Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ public async Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
{
if (Client.SubscriptionId == null)
{
@@ -235,7 +235,7 @@ internal PrivateEndpointConnectionsOperations(HealthcareApisManagementClient cli
throw ex;
}
// Create Result
- var _result = new AzureOperationResponse>();
+ var _result = new AzureOperationResponse>();
_result.Request = _httpRequest;
_result.Response = _httpResponse;
if (_httpResponse.Headers.Contains("x-ms-request-id"))
@@ -248,7 +248,7 @@ internal PrivateEndpointConnectionsOperations(HealthcareApisManagementClient cli
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
try
{
- _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings);
+ _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings);
}
catch (JsonException ex)
{
@@ -301,7 +301,7 @@ internal PrivateEndpointConnectionsOperations(HealthcareApisManagementClient cli
///
/// A response object containing the response body and response headers.
///
- public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string resourceName, string privateEndpointConnectionName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string resourceName, string privateEndpointConnectionName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
{
if (Client.SubscriptionId == null)
{
@@ -462,7 +462,7 @@ internal PrivateEndpointConnectionsOperations(HealthcareApisManagementClient cli
throw ex;
}
// Create Result
- var _result = new AzureOperationResponse();
+ var _result = new AzureOperationResponse();
_result.Request = _httpRequest;
_result.Response = _httpResponse;
if (_httpResponse.Headers.Contains("x-ms-request-id"))
@@ -475,7 +475,7 @@ internal PrivateEndpointConnectionsOperations(HealthcareApisManagementClient cli
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
try
{
- _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
}
catch (JsonException ex)
{
@@ -517,10 +517,10 @@ internal PrivateEndpointConnectionsOperations(HealthcareApisManagementClient cli
///
/// The cancellation token.
///
- public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string resourceName, string privateEndpointConnectionName, PrivateEndpointConnection properties, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string resourceName, string privateEndpointConnectionName, PrivateEndpointConnection properties, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
{
// Send Request
- AzureOperationResponse _response = await BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, resourceName, privateEndpointConnectionName, properties, customHeaders, cancellationToken).ConfigureAwait(false);
+ AzureOperationResponse _response = await BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, resourceName, privateEndpointConnectionName, properties, customHeaders, cancellationToken).ConfigureAwait(false);
return await Client.GetPutOrPatchOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false);
}
@@ -588,7 +588,7 @@ internal PrivateEndpointConnectionsOperations(HealthcareApisManagementClient cli
///
/// A response object containing the response body and response headers.
///
- public async Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string resourceName, string privateEndpointConnectionName, PrivateEndpointConnection properties, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ public async Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string resourceName, string privateEndpointConnectionName, PrivateEndpointConnection properties, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
{
if (Client.SubscriptionId == null)
{
@@ -764,7 +764,7 @@ internal PrivateEndpointConnectionsOperations(HealthcareApisManagementClient cli
throw ex;
}
// Create Result
- var _result = new AzureOperationResponse();
+ var _result = new AzureOperationResponse();
_result.Request = _httpRequest;
_result.Response = _httpResponse;
if (_httpResponse.Headers.Contains("x-ms-request-id"))
@@ -777,7 +777,7 @@ internal PrivateEndpointConnectionsOperations(HealthcareApisManagementClient cli
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
try
{
- _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
}
catch (JsonException ex)
{
diff --git a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/PrivateEndpointConnectionsOperationsExtensions.cs b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/PrivateEndpointConnectionsOperationsExtensions.cs
index fcdc25e837f00..de90a7843380c 100644
--- a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/PrivateEndpointConnectionsOperationsExtensions.cs
+++ b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/PrivateEndpointConnectionsOperationsExtensions.cs
@@ -35,7 +35,7 @@ public static partial class PrivateEndpointConnectionsOperationsExtensions
///
/// The name of the service instance.
///
- public static IEnumerable ListByService(this IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string resourceName)
+ public static IEnumerable ListByService(this IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string resourceName)
{
return operations.ListByServiceAsync(resourceGroupName, resourceName).GetAwaiter().GetResult();
}
@@ -55,7 +55,7 @@ public static IEnumerable ListByService(this IPrivate
///
/// The cancellation token.
///
- public static async Task> ListByServiceAsync(this IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string resourceName, CancellationToken cancellationToken = default(CancellationToken))
+ public static async Task> ListByServiceAsync(this IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string resourceName, CancellationToken cancellationToken = default(CancellationToken))
{
using (var _result = await operations.ListByServiceWithHttpMessagesAsync(resourceGroupName, resourceName, null, cancellationToken).ConfigureAwait(false))
{
@@ -79,7 +79,7 @@ public static IEnumerable ListByService(this IPrivate
/// The name of the private endpoint connection associated with the Azure
/// resource
///
- public static PrivateEndpointConnection Get(this IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string resourceName, string privateEndpointConnectionName)
+ public static PrivateEndpointConnectionDescription Get(this IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string resourceName, string privateEndpointConnectionName)
{
return operations.GetAsync(resourceGroupName, resourceName, privateEndpointConnectionName).GetAwaiter().GetResult();
}
@@ -103,7 +103,7 @@ public static PrivateEndpointConnection Get(this IPrivateEndpointConnectionsOper
///
/// The cancellation token.
///
- public static async Task GetAsync(this IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string resourceName, string privateEndpointConnectionName, CancellationToken cancellationToken = default(CancellationToken))
+ public static async Task GetAsync(this IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string resourceName, string privateEndpointConnectionName, CancellationToken cancellationToken = default(CancellationToken))
{
using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, resourceName, privateEndpointConnectionName, null, cancellationToken).ConfigureAwait(false))
{
@@ -131,7 +131,7 @@ public static PrivateEndpointConnection Get(this IPrivateEndpointConnectionsOper
///
/// The private endpoint connection properties.
///
- public static PrivateEndpointConnection CreateOrUpdate(this IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string resourceName, string privateEndpointConnectionName, PrivateEndpointConnection properties)
+ public static PrivateEndpointConnectionDescription CreateOrUpdate(this IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string resourceName, string privateEndpointConnectionName, PrivateEndpointConnection properties)
{
return operations.CreateOrUpdateAsync(resourceGroupName, resourceName, privateEndpointConnectionName, properties).GetAwaiter().GetResult();
}
@@ -159,7 +159,7 @@ public static PrivateEndpointConnection CreateOrUpdate(this IPrivateEndpointConn
///
/// The cancellation token.
///
- public static async Task CreateOrUpdateAsync(this IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string resourceName, string privateEndpointConnectionName, PrivateEndpointConnection properties, CancellationToken cancellationToken = default(CancellationToken))
+ public static async Task CreateOrUpdateAsync(this IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string resourceName, string privateEndpointConnectionName, PrivateEndpointConnection properties, CancellationToken cancellationToken = default(CancellationToken))
{
using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, resourceName, privateEndpointConnectionName, properties, null, cancellationToken).ConfigureAwait(false))
{
@@ -232,7 +232,7 @@ public static void Delete(this IPrivateEndpointConnectionsOperations operations,
///
/// The private endpoint connection properties.
///
- public static PrivateEndpointConnection BeginCreateOrUpdate(this IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string resourceName, string privateEndpointConnectionName, PrivateEndpointConnection properties)
+ public static PrivateEndpointConnectionDescription BeginCreateOrUpdate(this IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string resourceName, string privateEndpointConnectionName, PrivateEndpointConnection properties)
{
return operations.BeginCreateOrUpdateAsync(resourceGroupName, resourceName, privateEndpointConnectionName, properties).GetAwaiter().GetResult();
}
@@ -260,7 +260,7 @@ public static PrivateEndpointConnection BeginCreateOrUpdate(this IPrivateEndpoin
///
/// The cancellation token.
///
- public static async Task BeginCreateOrUpdateAsync(this IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string resourceName, string privateEndpointConnectionName, PrivateEndpointConnection properties, CancellationToken cancellationToken = default(CancellationToken))
+ public static async Task BeginCreateOrUpdateAsync(this IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string resourceName, string privateEndpointConnectionName, PrivateEndpointConnection properties, CancellationToken cancellationToken = default(CancellationToken))
{
using (var _result = await operations.BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, resourceName, privateEndpointConnectionName, properties, null, cancellationToken).ConfigureAwait(false))
{
diff --git a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/PrivateLinkResourcesOperations.cs b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/PrivateLinkResourcesOperations.cs
index 86f84eeb29de6..068c57db7cdd9 100644
--- a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/PrivateLinkResourcesOperations.cs
+++ b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/PrivateLinkResourcesOperations.cs
@@ -80,7 +80,7 @@ internal PrivateLinkResourcesOperations(HealthcareApisManagementClient client)
///
/// A response object containing the response body and response headers.
///
- public async Task> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ public async Task> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
{
if (Client.SubscriptionId == null)
{
@@ -235,7 +235,7 @@ internal PrivateLinkResourcesOperations(HealthcareApisManagementClient client)
throw ex;
}
// Create Result
- var _result = new AzureOperationResponse();
+ var _result = new AzureOperationResponse();
_result.Request = _httpRequest;
_result.Response = _httpResponse;
if (_httpResponse.Headers.Contains("x-ms-request-id"))
@@ -248,7 +248,7 @@ internal PrivateLinkResourcesOperations(HealthcareApisManagementClient client)
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
try
{
- _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
}
catch (JsonException ex)
{
@@ -300,7 +300,7 @@ internal PrivateLinkResourcesOperations(HealthcareApisManagementClient client)
///
/// A response object containing the response body and response headers.
///
- public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string resourceName, string groupName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string resourceName, string groupName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
{
if (Client.SubscriptionId == null)
{
@@ -461,7 +461,7 @@ internal PrivateLinkResourcesOperations(HealthcareApisManagementClient client)
throw ex;
}
// Create Result
- var _result = new AzureOperationResponse();
+ var _result = new AzureOperationResponse();
_result.Request = _httpRequest;
_result.Response = _httpResponse;
if (_httpResponse.Headers.Contains("x-ms-request-id"))
@@ -474,7 +474,7 @@ internal PrivateLinkResourcesOperations(HealthcareApisManagementClient client)
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
try
{
- _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
}
catch (JsonException ex)
{
diff --git a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/PrivateLinkResourcesOperationsExtensions.cs b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/PrivateLinkResourcesOperationsExtensions.cs
index c73da1e3a23ec..6a4a6e977c9e1 100644
--- a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/PrivateLinkResourcesOperationsExtensions.cs
+++ b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/PrivateLinkResourcesOperationsExtensions.cs
@@ -33,7 +33,7 @@ public static partial class PrivateLinkResourcesOperationsExtensions
///
/// The name of the service instance.
///
- public static PrivateLinkResourceListResult ListByService(this IPrivateLinkResourcesOperations operations, string resourceGroupName, string resourceName)
+ public static PrivateLinkResourceListResultDescription ListByService(this IPrivateLinkResourcesOperations operations, string resourceGroupName, string resourceName)
{
return operations.ListByServiceAsync(resourceGroupName, resourceName).GetAwaiter().GetResult();
}
@@ -53,7 +53,7 @@ public static PrivateLinkResourceListResult ListByService(this IPrivateLinkResou
///
/// The cancellation token.
///
- public static async Task ListByServiceAsync(this IPrivateLinkResourcesOperations operations, string resourceGroupName, string resourceName, CancellationToken cancellationToken = default(CancellationToken))
+ public static async Task ListByServiceAsync(this IPrivateLinkResourcesOperations operations, string resourceGroupName, string resourceName, CancellationToken cancellationToken = default(CancellationToken))
{
using (var _result = await operations.ListByServiceWithHttpMessagesAsync(resourceGroupName, resourceName, null, cancellationToken).ConfigureAwait(false))
{
@@ -76,7 +76,7 @@ public static PrivateLinkResourceListResult ListByService(this IPrivateLinkResou
///
/// The name of the private link resource group.
///
- public static PrivateLinkResource Get(this IPrivateLinkResourcesOperations operations, string resourceGroupName, string resourceName, string groupName)
+ public static PrivateLinkResourceDescription Get(this IPrivateLinkResourcesOperations operations, string resourceGroupName, string resourceName, string groupName)
{
return operations.GetAsync(resourceGroupName, resourceName, groupName).GetAwaiter().GetResult();
}
@@ -99,7 +99,7 @@ public static PrivateLinkResource Get(this IPrivateLinkResourcesOperations opera
///
/// The cancellation token.
///
- public static async Task GetAsync(this IPrivateLinkResourcesOperations operations, string resourceGroupName, string resourceName, string groupName, CancellationToken cancellationToken = default(CancellationToken))
+ public static async Task GetAsync(this IPrivateLinkResourcesOperations operations, string resourceGroupName, string resourceName, string groupName, CancellationToken cancellationToken = default(CancellationToken))
{
using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, resourceName, groupName, null, cancellationToken).ConfigureAwait(false))
{
diff --git a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/SdkInfo_HealthcareApisManagementClient.cs b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/SdkInfo_HealthcareApisManagementClient.cs
index ff1141c406240..1564e79844727 100644
--- a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/SdkInfo_HealthcareApisManagementClient.cs
+++ b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/SdkInfo_HealthcareApisManagementClient.cs
@@ -19,21 +19,21 @@ public static IEnumerable> ApiInfo_HealthcareApisM
{
return new Tuple[]
{
- new Tuple("HealthcareApis", "OperationResults", "2020-03-30"),
- new Tuple("HealthcareApis", "Operations", "2020-03-30"),
- new Tuple("HealthcareApis", "PrivateEndpointConnections", "2020-03-30"),
- new Tuple("HealthcareApis", "PrivateLinkResources", "2020-03-30"),
- new Tuple("HealthcareApis", "Services", "2020-03-30"),
+ new Tuple("HealthcareApis", "OperationResults", "2021-01-11"),
+ new Tuple("HealthcareApis", "Operations", "2021-01-11"),
+ new Tuple("HealthcareApis", "PrivateEndpointConnections", "2021-01-11"),
+ new Tuple("HealthcareApis", "PrivateLinkResources", "2021-01-11"),
+ new Tuple("HealthcareApis", "Services", "2021-01-11"),
}.AsEnumerable();
}
}
// BEGIN: Code Generation Metadata Section
public static readonly String AutoRestVersion = "v2";
public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4413";
- public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/healthcareapis/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=C:\\azure-sdk-for-net\\sdk";
+ public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/healthcareapis/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=D:\\projects\\azure-sdk-for-net\\sdk";
public static readonly String GithubForkName = "Azure";
public static readonly String GithubBranchName = "master";
- public static readonly String GithubCommidId = "3faca877220bd1d20af91576946e3e6c5819ce96";
+ public static readonly String GithubCommidId = "745f3e5d3beb25f312592d0fd332ded466154ce9";
public static readonly String CodeGenerationErrors = "";
public static readonly String GithubRepoName = "azure-rest-api-specs";
// END: Code Generation Metadata Section
diff --git a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisAccountPrivateEndpointConnectionTest.json b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisAccountPrivateEndpointConnectionTest.json
index 93fa21261eefe..4fedbfe70b0e0 100644
--- a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisAccountPrivateEndpointConnectionTest.json
+++ b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisAccountPrivateEndpointConnectionTest.json
@@ -1,335 +1,335 @@
{
"Entries": [
- {
- "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourcegroups/res7089?api-version=2017-05-10",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzI0Mzc0NWQtNTBiYi00OGQxLTllNjItM2Y3MmVmYjMxNjZjL3Jlc291cmNlZ3JvdXBzL3JlczcwODk/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
- "RequestHeaders": {
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "28"
- ],
- "x-ms-client-request-id": [
- "89e61421-87a0-4d25-b6a1-946a8f9df00b"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.25211.01",
- "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
- ]
+ {
+ "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourcegroups/res7089?api-version=2017-05-10",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzI0Mzc0NWQtNTBiYi00OGQxLTllNjItM2Y3MmVmYjMxNjZjL3Jlc291cmNlZ3JvdXBzL3JlczcwODk/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "28"
+ ],
+ "x-ms-client-request-id": [
+ "89e61421-87a0-4d25-b6a1-946a8f9df00b"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089\",\r\n \"name\": \"hca1234\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "167"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 09 Mar 2018 08:09:16 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1181"
+ ],
+ "x-ms-request-id": [
+ "d55f54ca-0ad2-4798-9741-a96462bd1cb8"
+ ],
+ "x-ms-correlation-request-id": [
+ "9e622289-028e-44a3-bbcd-904ae16adbd3"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190618T153235Z:d55f54ca-0ad2-4798-9741-a96462bd1cb8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 201
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089\",\r\n \"name\": \"hca1234\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "167"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Mar 2018 08:09:16 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1181"
- ],
- "x-ms-request-id": [
- "d55f54ca-0ad2-4798-9741-a96462bd1cb8"
- ],
- "x-ms-correlation-request-id": [
- "9e622289-028e-44a3-bbcd-904ae16adbd3"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20190618T153235Z:d55f54ca-0ad2-4798-9741-a96462bd1cb8"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ]
+ {
+ "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services/hca1234?api-version=2021-01-11",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL3JlczcwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5IZWFsdGhjYXJlQXBpcy9zZXJ2aWNlcy9oY2ExMjM0P2FwaS12ZXJzaW9uPTIwMjEtMDEtMTE=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"name\": \"S1\"\r\n ,\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "4b0da0c4-6f03-4350-9f09-f4d1f8969223"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.HealthcareApis.HealthcareApisManagementClient/1.0.0.0"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "113"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/accounts/hca1234\",\r\n \"name\": \"hca1234\",\r\n \"type\": \"Microsoft.HealthcareApis/accounts\",\r\n \"etag\": \"\\\"0a002ee3-0000-0000-0000-5aa238d80000\\\"\",\r\n \"location\": \"westus\",\r\n \"name\": \"S1\"\r\n ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "570"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 04 Nov 2020 21:35:38 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "ETag": [
+ "\"0a002ee3-0000-0000-0000-5aa238d80000\""
+ ],
+ "Server": [
+ "Microsoft-IIS/10.0"
+ ],
+ "x-ms-request-id": [
+ "2263b931-e233-4217-bfba-448ee3ac8346"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1196"
+ ],
+ "x-ms-correlation-request-id": [
+ "a3163761-26b8-4627-a21e-2506d2c1f426"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHCENTRALUS:20201104T213538Z:52b565b9-0a7e-4936-8883-beda628c229d"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 201
},
- "StatusCode": 201
- },
- {
- "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services/hca1234?api-version=2020-03-30",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL3JlczcwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5IZWFsdGhjYXJlQXBpcy9zZXJ2aWNlcy9oY2ExMjM0P2FwaS12ZXJzaW9uPTIwMjAtMDMtMzA=",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"name\": \"S1\"\r\n ,\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "4b0da0c4-6f03-4350-9f09-f4d1f8969223"
- ],
- "Accept-Language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.25211.01",
- "Microsoft.Azure.Management.HealthcareApis.HealthcareApisManagementClient/1.0.0.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "113"
- ]
+ {
+ "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services/hca1234/privateLinkResources?api-version=2021-01-11",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL3JlczcwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5IZWFsdGhjYXJlQXBpcy9zZXJ2aWNlcy9oY2ExMjM0L3ByaXZhdGVMaW5rUmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMjEtMDEtMTE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "a0259ae7-6940-4683-b872-d548573e526d"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.HealthcareApis.HealthcareApisManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "a0259ae7-6940-4683-b872-d548573e526d"
+ ],
+ "x-envoy-upstream-service-time": [
+ "16"
+ ],
+ "Server": [
+ "istio-envoy"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "x-ms-correlation-request-id": [
+ "a0259ae7-6940-4683-b872-d548573e526d"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHCENTRALUS:20201104T215157Z:ae59009e-59fa-4971-85dd-ce2e275a4b0a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 04 Nov 2020 21:51:57 GMT"
+ ],
+ "Content-Length": [
+ "392"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services/hca1234/privateLinkResources/fhir\",\r\n \"name\": \"fhir\",\r\n \"type\": \"Microsoft.HealthcareApis/fhir/privateLinkResources\",\r\n \"properties\": {\r\n \"groupId\": \"fhir\",\r\n \"requiredMembers\": [\r\n \"fhir\"\r\n ],\r\n \"requiredZoneNames\": [\r\n \"privatelink.azurehealthcareapis.com\"\r\n ]\r\n }\r\n }\r\n ]\r\n}",
+ "StatusCode": 200
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/accounts/hca1234\",\r\n \"name\": \"hca1234\",\r\n \"type\": \"Microsoft.HealthcareApis/accounts\",\r\n \"etag\": \"\\\"0a002ee3-0000-0000-0000-5aa238d80000\\\"\",\r\n \"location\": \"westus\",\r\n \"name\": \"S1\"\r\n ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "570"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Wed, 04 Nov 2020 21:35:38 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "ETag": [
- "\"0a002ee3-0000-0000-0000-5aa238d80000\""
- ],
- "Server": [
- "Microsoft-IIS/10.0"
- ],
- "x-ms-request-id": [
- "2263b931-e233-4217-bfba-448ee3ac8346"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-AspNet-Version": [
- "4.0.30319"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1196"
- ],
- "x-ms-correlation-request-id": [
- "a3163761-26b8-4627-a21e-2506d2c1f426"
- ],
- "x-ms-routing-request-id": [
- "SOUTHCENTRALUS:20201104T213538Z:52b565b9-0a7e-4936-8883-beda628c229d"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ]
+ {
+ "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services/hca1234/privateEndpointConnections/notExistPCN?api-version=2021-01-11",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL3JlczcwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5IZWFsdGhjYXJlQXBpcy9zZXJ2aWNlcy9oY2ExMjM0L3ByaXZhdGVFbmRwb2ludENvbm5lY3Rpb25zL25vdEV4aXN0UENOP2FwaS12ZXJzaW9uPTIwMjEtMDEtMTE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "3aba856c-9dcc-4eea-887f-b8addf8a7a09"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.HealthcareApis.HealthcareApisManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "ca06e3b0-67a1-4ebc-930a-7a05e6f5daca"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11997"
+ ],
+ "x-ms-correlation-request-id": [
+ "3aba856c-9dcc-4eea-887f-b8addf8a7a09"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHCENTRALUS:20201104T221008Z:f69dd63a-3021-4b55-94a9-10dab8290001"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 04 Nov 2020 22:10:08 GMT"
+ ],
+ "Content-Length": [
+ "263"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"NotFound\",\r\n \"message\": \"Private Endpoint Connection in request is null.\"\r\n }\r\n}",
+ "StatusCode": 404
},
- "StatusCode": 201
- },
- {
- "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services/hca1234/privateLinkResources?api-version=2020-03-30",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL3JlczcwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5IZWFsdGhjYXJlQXBpcy9zZXJ2aWNlcy9oY2ExMjM0L3ByaXZhdGVMaW5rUmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMjAtMDMtMzA=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "a0259ae7-6940-4683-b872-d548573e526d"
- ],
- "Accept-Language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.25211.01",
- "Microsoft.Azure.Management.HealthcareApis.HealthcareApisManagementClient/1.0.0.0"
- ]
- },
- "ResponseHeaders": {
- "Cache-Control": [
- "no-cache"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "a0259ae7-6940-4683-b872-d548573e526d"
- ],
- "x-envoy-upstream-service-time": [
- "16"
- ],
- "Server": [
- "istio-envoy"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11999"
- ],
- "x-ms-correlation-request-id": [
- "a0259ae7-6940-4683-b872-d548573e526d"
- ],
- "x-ms-routing-request-id": [
- "SOUTHCENTRALUS:20201104T215157Z:ae59009e-59fa-4971-85dd-ce2e275a4b0a"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Wed, 04 Nov 2020 21:51:57 GMT"
- ],
- "Content-Length": [
- "392"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services/hca1234/privateLinkResources/fhir\",\r\n \"name\": \"fhir\",\r\n \"type\": \"Microsoft.HealthcareApis/fhir/privateLinkResources\",\r\n \"properties\": {\r\n \"groupId\": \"fhir\",\r\n \"requiredMembers\": [\r\n \"fhir\"\r\n ],\r\n \"requiredZoneNames\": [\r\n \"privatelink.azurehealthcareapis.com\"\r\n ]\r\n }\r\n }\r\n ]\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services/hca1234/privateEndpointConnections/notExistPCN?api-version=2020-03-30",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL3JlczcwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5IZWFsdGhjYXJlQXBpcy9zZXJ2aWNlcy9oY2ExMjM0L3ByaXZhdGVFbmRwb2ludENvbm5lY3Rpb25zL25vdEV4aXN0UENOP2FwaS12ZXJzaW9uPTIwMjAtMDMtMzA=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "3aba856c-9dcc-4eea-887f-b8addf8a7a09"
- ],
- "Accept-Language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.25211.01",
- "Microsoft.Azure.Management.HealthcareApis.HealthcareApisManagementClient/1.0.0.0"
- ]
- },
- "ResponseHeaders": {
- "Cache-Control": [
- "no-cache"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "ca06e3b0-67a1-4ebc-930a-7a05e6f5daca"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11997"
- ],
- "x-ms-correlation-request-id": [
- "3aba856c-9dcc-4eea-887f-b8addf8a7a09"
- ],
- "x-ms-routing-request-id": [
- "SOUTHCENTRALUS:20201104T221008Z:f69dd63a-3021-4b55-94a9-10dab8290001"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Wed, 04 Nov 2020 22:10:08 GMT"
- ],
- "Content-Length": [
- "263"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"NotFound\",\r\n \"message\": \"Private Endpoint Connection in request is null.\"\r\n }\r\n}",
- "StatusCode": 404
- },
- {
- "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services/hca1234/privateEndpointConnections?api-version=2020-03-30",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL3JlczcwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5IZWFsdGhjYXJlQXBpcy9zZXJ2aWNlcy9oY2ExMjM0L3ByaXZhdGVFbmRwb2ludENvbm5lY3Rpb25zP2FwaS12ZXJzaW9uPTIwMjAtMDMtMzA=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "3aceae69-79c2-41c3-9b44-1a7ef20812d0"
- ],
- "Accept-Language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.25211.01",
- "Microsoft.Azure.Management.HealthcareApis.HealthcareApisManagementClient/1.0.0.0"
- ]
- },
- "ResponseHeaders": {
- "Cache-Control": [
- "no-cache"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "17587ebf-5bf6-43af-8f87-352e35aedde4"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11996"
- ],
- "x-ms-correlation-request-id": [
- "3aceae69-79c2-41c3-9b44-1a7ef20812d0"
- ],
- "x-ms-routing-request-id": [
- "SOUTHCENTRALUS:20201104T221520Z:56398dc2-9c1c-45c9-bfd0-3ed5b7e1b496"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Wed, 04 Nov 2020 22:15:19 GMT"
- ],
- "Content-Length": [
- "12"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"value\": []\r\n}",
- "StatusCode": 200
- }
+ {
+ "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services/hca1234/privateEndpointConnections?api-version=2021-01-11",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL3JlczcwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5IZWFsdGhjYXJlQXBpcy9zZXJ2aWNlcy9oY2ExMjM0L3ByaXZhdGVFbmRwb2ludENvbm5lY3Rpb25zP2FwaS12ZXJzaW9uPTIwMjEtMDEtMTE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "3aceae69-79c2-41c3-9b44-1a7ef20812d0"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.HealthcareApis.HealthcareApisManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "17587ebf-5bf6-43af-8f87-352e35aedde4"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11996"
+ ],
+ "x-ms-correlation-request-id": [
+ "3aceae69-79c2-41c3-9b44-1a7ef20812d0"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHCENTRALUS:20201104T221520Z:56398dc2-9c1c-45c9-bfd0-3ed5b7e1b496"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 04 Nov 2020 22:15:19 GMT"
+ ],
+ "Content-Length": [
+ "12"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": []\r\n}",
+ "StatusCode": 200
+ }
],
"Names": {
- "CreateResourceGroup": [
- "res7089"
- ],
- "HealthcareApisAccountPrivateEndpointConnectionTest": [
- "hca1234"
- ]
+ "CreateResourceGroup": [
+ "res7089"
+ ],
+ "HealthcareApisAccountPrivateEndpointConnectionTest": [
+ "hca1234"
+ ]
},
"Variables": {
- "SubscriptionId": "cc148bf2-42fb-4913-a3fb-2f284a69eb89"
+ "SubscriptionId": "cc148bf2-42fb-4913-a3fb-2f284a69eb89"
}
- }
\ No newline at end of file
+}
\ No newline at end of file
diff --git a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisAccountUpdateWithCreateTest.json b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisAccountUpdateWithCreateTest.json
index e005fe9237586..168a2551949a4 100644
--- a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisAccountUpdateWithCreateTest.json
+++ b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisAccountUpdateWithCreateTest.json
@@ -1,4 +1,4 @@
-{
+{
"Entries": [
{
"RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourcegroups/res7089?api-version=2017-05-10",
@@ -65,8 +65,8 @@
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services/hca1234?api-version=2020-03-30",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL3JlczcwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5IZWFsdGhjYXJlQXBpcy9zZXJ2aWNlcy9oY2ExMjM0P2FwaS12ZXJzaW9uPTIwMjAtMDMtMzA=",
+ "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services/hca1234?api-version=2021-01-11",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL3JlczcwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5IZWFsdGhjYXJlQXBpcy9zZXJ2aWNlcy9oY2ExMjM0P2FwaS12ZXJzaW9uPTIwMjEtMDEtMTE=",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"name\": \"S1\"\r\n ,\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
"RequestHeaders": {
@@ -141,8 +141,8 @@
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services/hca1234?api-version=2020-03-30",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL3JlczcwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5IZWFsdGhjYXJlQXBpcy9zZXJ2aWNlcy9oY2ExMjM0P2FwaS12ZXJzaW9uPTIwMjAtMDMtMzA=",
+ "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services/hca1234?api-version=2021-01-11",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL3JlczcwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5IZWFsdGhjYXJlQXBpcy9zZXJ2aWNlcy9oY2ExMjM0P2FwaS12ZXJzaW9uPTIwMjEtMDEtMTE=",
"RequestMethod": "PATCH",
"RequestBody": "{\r\n \"tags\": {\r\n \"key3\": \"value3\",\r\n \"key4\": \"value4\",\r\n \"key5\": \"value5\"\r\n }\r\n}",
"RequestHeaders": {
@@ -220,8 +220,8 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services/hca1234?api-version=2020-03-30",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL3JlczcwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5IZWFsdGhjYXJlQXBpcy9zZXJ2aWNlcy9oY2ExMjM0P2FwaS12ZXJzaW9uPTIwMjAtMDMtMzA=",
+ "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services/hca1234?api-version=2021-01-11",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL3JlczcwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5IZWFsdGhjYXJlQXBpcy9zZXJ2aWNlcy9oY2ExMjM0P2FwaS12ZXJzaW9uPTIwMjEtMDEtMTE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -304,4 +304,4 @@
"Variables": {
"SubscriptionId": "cc148bf2-42fb-4913-a3fb-2f284a69eb89"
}
-}
+}
\ No newline at end of file
diff --git a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisCheckNameAvailabilityTest.json b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisCheckNameAvailabilityTest.json
index 8f5d79ef8ae1a..dc29c20df86da 100644
--- a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisCheckNameAvailabilityTest.json
+++ b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisCheckNameAvailabilityTest.json
@@ -1,80 +1,80 @@
-{
- "Entries": [
- {
- "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/providers/Microsoft.HealthcareApis/checkNameAvailability?api-version=2020-03-30",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Byb3ZpZGVycy9NaWNyb3NvZnQuSGVhbHRoY2FyZUFwaXMvY2hlY2tOYW1lQXZhaWxhYmlsaXR5P2FwaS12ZXJzaW9uPTIwMjAtMDMtMzA=",
- "RequestMethod": "POST",
- "RequestBody": "{\"name\":\"account1234\",\"type\":\"Microsoft.HealthcareApis/services\"}",
- "RequestHeaders": {
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "57"
- ],
- "x-ms-client-request-id": [
- "ac7f273b-1df8-4c11-ab39-56f409c338c4"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.25211.01"
- ]
- },
- "ResponseBody": "{\"nameAvailable\": true,\"reason\": null,\"message\": null}",
- "ResponseHeaders": {
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Tue, 16 May 2017 07:09:31 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Transfer-Encoding": [
- "chunked"
- ],
- "Server": [
- "Microsoft-IIS/8.5"
- ],
- "Vary": [
- "Accept-Encoding"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-AspNet-Version": [
- "4.0.30319"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1190"
- ],
- "x-ms-request-id": [
- "f2b7789d-64df-415a-b750-21f95c2e9a43"
- ],
- "x-ms-correlation-request-id": [
- "f2b7789d-64df-415a-b750-21f95c2e9a43"
- ],
- "x-ms-routing-request-id": [
- "JAPANEAST:20170516T070931Z:f2b7789d-64df-415a-b750-21f95c2e9a43"
- ]
- },
- "StatusCode": 200
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/providers/Microsoft.HealthcareApis/checkNameAvailability?api-version=2021-01-11",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Byb3ZpZGVycy9NaWNyb3NvZnQuSGVhbHRoY2FyZUFwaXMvY2hlY2tOYW1lQXZhaWxhYmlsaXR5P2FwaS12ZXJzaW9uPTIwMjEtMDEtMTE=",
+ "RequestMethod": "POST",
+ "RequestBody": "{\"name\":\"account1234\",\"type\":\"Microsoft.HealthcareApis/services\"}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "57"
+ ],
+ "x-ms-client-request-id": [
+ "ac7f273b-1df8-4c11-ab39-56f409c338c4"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01"
+ ]
+ },
+ "ResponseBody": "{\"nameAvailable\": true,\"reason\": null,\"message\": null}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 16 May 2017 07:09:31 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1190"
+ ],
+ "x-ms-request-id": [
+ "f2b7789d-64df-415a-b750-21f95c2e9a43"
+ ],
+ "x-ms-correlation-request-id": [
+ "f2b7789d-64df-415a-b750-21f95c2e9a43"
+ ],
+ "x-ms-routing-request-id": [
+ "JAPANEAST:20170516T070931Z:f2b7789d-64df-415a-b750-21f95c2e9a43"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "cc148bf2-42fb-4913-a3fb-2f284a69eb89"
}
- ],
- "Names": {},
- "Variables": {
- "SubscriptionId": "cc148bf2-42fb-4913-a3fb-2f284a69eb89"
- }
}
\ No newline at end of file
diff --git a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisCreateAccountErrorTest.json b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisCreateAccountErrorTest.json
index 7f04fbbb34d05..f9076f045a30d 100644
--- a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisCreateAccountErrorTest.json
+++ b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisCreateAccountErrorTest.json
@@ -1,155 +1,155 @@
-{
- "Entries": [
- {
- "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourcegroups/res7089?api-version=2017-05-10",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzI0Mzc0NWQtNTBiYi00OGQxLTllNjItM2Y3MmVmYjMxNjZjL3Jlc291cmNlZ3JvdXBzL3JlczcwODk/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
- "RequestHeaders": {
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "28"
- ],
- "x-ms-client-request-id": [
- "89e61421-87a0-4d25-b6a1-946a8f9df00b"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.25211.01",
- "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089\",\r\n \"name\": \"hca1234\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "167"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Mar 2018 08:09:16 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1181"
- ],
- "x-ms-request-id": [
- "d55f54ca-0ad2-4798-9741-a96462bd1cb8"
- ],
- "x-ms-correlation-request-id": [
- "9e622289-028e-44a3-bbcd-904ae16adbd3"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20190618T153235Z:d55f54ca-0ad2-4798-9741-a96462bd1cb8"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourcegroups/res7089?api-version=2017-05-10",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzI0Mzc0NWQtNTBiYi00OGQxLTllNjItM2Y3MmVmYjMxNjZjL3Jlc291cmNlZ3JvdXBzL3JlczcwODk/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "28"
+ ],
+ "x-ms-client-request-id": [
+ "89e61421-87a0-4d25-b6a1-946a8f9df00b"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089\",\r\n \"name\": \"hca1234\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "167"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 09 Mar 2018 08:09:16 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1181"
+ ],
+ "x-ms-request-id": [
+ "d55f54ca-0ad2-4798-9741-a96462bd1cb8"
+ ],
+ "x-ms-correlation-request-id": [
+ "9e622289-028e-44a3-bbcd-904ae16adbd3"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190618T153235Z:d55f54ca-0ad2-4798-9741-a96462bd1cb8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/NotExistedRG/providers/Microsoft.HealthcareApis/services/hca1234?api-version=2021-01-11",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL05vdEV4aXN0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LkhlYWx0aGNhcmVBcGlzL3NlcnZpY2VzL2hjYTEyMzQ/YXBpLXZlcnNpb249MjAyMS0wMS0xMQ==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"name\": \"S1\"\r\n ,\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "113"
+ ],
+ "x-ms-client-request-id": [
+ "39bce3ac-f86e-490f-92d3-260643c3a770"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.HealthcareApis.HealthcareApisManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'NotExistedRG' could not be found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "104"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 09 Mar 2018 07:33:44 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "ETag": [
+ "\"0a002ee3-0000-0000-0000-5aa238d80000\""
+ ],
+ "Server": [
+ "Microsoft-IIS/10.0"
+ ],
+ "x-ms-request-id": [
+ "2263b931-e233-4217-bfba-448ee3ac8346"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1196"
+ ],
+ "x-ms-correlation-request-id": [
+ "977d2f5c-4af0-4c2e-8068-6de427d796c0"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20180309T073344Z:977d2f5c-4af0-4c2e-8068-6de427d796c0"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 404
+ }
+ ],
+ "Names": {
+ "CreateResourceGroup": [
+ "res7089"
],
- "X-Content-Type-Options": [
- "nosniff"
+ "HealthcareApisCreateAccountErrorTest": [
+ "hca1234"
]
- },
- "StatusCode": 201
},
- {
- "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/NotExistedRG/providers/Microsoft.HealthcareApis/services/hca1234?api-version=2020-03-30",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL05vdEV4aXN0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LkhlYWx0aGNhcmVBcGlzL3NlcnZpY2VzL2hjYTEyMzQ/YXBpLXZlcnNpb249MjAyMC0wMy0zMA==",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"name\": \"S1\"\r\n ,\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
- "RequestHeaders": {
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "113"
- ],
- "x-ms-client-request-id": [
- "39bce3ac-f86e-490f-92d3-260643c3a770"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.25211.01",
- "Microsoft.Azure.Management.HealthcareApis.HealthcareApisManagementClient/1.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'NotExistedRG' could not be found.\"\r\n }\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "104"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Mar 2018 07:33:44 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "ETag": [
- "\"0a002ee3-0000-0000-0000-5aa238d80000\""
- ],
- "Server": [
- "Microsoft-IIS/10.0"
- ],
- "x-ms-request-id": [
- "2263b931-e233-4217-bfba-448ee3ac8346"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-AspNet-Version": [
- "4.0.30319"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1196"
- ],
- "x-ms-correlation-request-id": [
- "977d2f5c-4af0-4c2e-8068-6de427d796c0"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20180309T073344Z:977d2f5c-4af0-4c2e-8068-6de427d796c0"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ]
- },
- "StatusCode": 404
+ "Variables": {
+ "SubscriptionId": "cc148bf2-42fb-4913-a3fb-2f284a69eb89"
}
- ],
- "Names": {
- "CreateResourceGroup": [
- "res7089"
- ],
- "HealthcareApisCreateAccountErrorTest": [
- "hca1234"
- ]
- },
- "Variables": {
- "SubscriptionId": "cc148bf2-42fb-4913-a3fb-2f284a69eb89"
- }
-}
+}
\ No newline at end of file
diff --git a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisCreateTest.json b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisCreateTest.json
index a8b304699e222..392bcb01bd11b 100644
--- a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisCreateTest.json
+++ b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisCreateTest.json
@@ -1,155 +1,155 @@
-{
- "Entries": [
- {
- "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourcegroups/res7089?api-version=2017-05-10",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzI0Mzc0NWQtNTBiYi00OGQxLTllNjItM2Y3MmVmYjMxNjZjL3Jlc291cmNlZ3JvdXBzL3JlczcwODk/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
- "RequestHeaders": {
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "28"
- ],
- "x-ms-client-request-id": [
- "89e61421-87a0-4d25-b6a1-946a8f9df00b"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.25211.01",
- "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089\",\r\n \"name\": \"account1234\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "167"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Mar 2018 08:09:16 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1181"
- ],
- "x-ms-request-id": [
- "d55f54ca-0ad2-4798-9741-a96462bd1cb8"
- ],
- "x-ms-correlation-request-id": [
- "9e622289-028e-44a3-bbcd-904ae16adbd3"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20190618T153235Z:d55f54ca-0ad2-4798-9741-a96462bd1cb8"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourcegroups/res7089?api-version=2017-05-10",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzI0Mzc0NWQtNTBiYi00OGQxLTllNjItM2Y3MmVmYjMxNjZjL3Jlc291cmNlZ3JvdXBzL3JlczcwODk/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "28"
+ ],
+ "x-ms-client-request-id": [
+ "89e61421-87a0-4d25-b6a1-946a8f9df00b"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089\",\r\n \"name\": \"account1234\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "167"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 09 Mar 2018 08:09:16 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1181"
+ ],
+ "x-ms-request-id": [
+ "d55f54ca-0ad2-4798-9741-a96462bd1cb8"
+ ],
+ "x-ms-correlation-request-id": [
+ "9e622289-028e-44a3-bbcd-904ae16adbd3"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190618T153235Z:d55f54ca-0ad2-4798-9741-a96462bd1cb8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services/hca1234?api-version=2021-01-11",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL3JlczcwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5IZWFsdGhjYXJlQXBpcy9zZXJ2aWNlcy9oY2ExMjM0P2FwaS12ZXJzaW9uPTIwMjEtMDEtMTE=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"name\": \"S1\"\r\n,\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "113"
+ ],
+ "x-ms-client-request-id": [
+ "39bce3ac-f86e-490f-92d3-260643c3a770"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.HealthcareApis.HealthcareApisManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/accounts/hca1234\",\r\n \"name\": \"hca1234\",\r\n \"type\": \"Microsoft.HealthcareApis/accounts\",\r\n \"etag\": \"\\\"0a002ee3-0000-0000-0000-5aa238d80000\\\"\",\r\n \"location\": \"westus\",\r\n \"name\": \"S1\"\r\n ,\r\n \"kind\": \"fhir-R4\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "570"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 09 Mar 2018 07:33:44 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "ETag": [
+ "\"0a002ee3-0000-0000-0000-5aa238d80000\""
+ ],
+ "Server": [
+ "Microsoft-IIS/10.0"
+ ],
+ "x-ms-request-id": [
+ "2263b931-e233-4217-bfba-448ee3ac8346"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1196"
+ ],
+ "x-ms-correlation-request-id": [
+ "977d2f5c-4af0-4c2e-8068-6de427d796c0"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20180309T073344Z:977d2f5c-4af0-4c2e-8068-6de427d796c0"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 201
+ }
+ ],
+ "Names": {
+ "CreateResourceGroup": [
+ "res7089"
],
- "X-Content-Type-Options": [
- "nosniff"
+ "HealthcareApisCreateTest": [
+ "hca1234"
]
- },
- "StatusCode": 201
},
- {
- "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services/hca1234?api-version=2020-03-30",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL3JlczcwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5IZWFsdGhjYXJlQXBpcy9zZXJ2aWNlcy9oY2ExMjM0P2FwaS12ZXJzaW9uPTIwMjAtMDMtMzA=",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"name\": \"S1\"\r\n,\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
- "RequestHeaders": {
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "113"
- ],
- "x-ms-client-request-id": [
- "39bce3ac-f86e-490f-92d3-260643c3a770"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.25211.01",
- "Microsoft.Azure.Management.HealthcareApis.HealthcareApisManagementClient/1.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/accounts/hca1234\",\r\n \"name\": \"hca1234\",\r\n \"type\": \"Microsoft.HealthcareApis/accounts\",\r\n \"etag\": \"\\\"0a002ee3-0000-0000-0000-5aa238d80000\\\"\",\r\n \"location\": \"westus\",\r\n \"name\": \"S1\"\r\n ,\r\n \"kind\": \"fhir-R4\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "570"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Mar 2018 07:33:44 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "ETag": [
- "\"0a002ee3-0000-0000-0000-5aa238d80000\""
- ],
- "Server": [
- "Microsoft-IIS/10.0"
- ],
- "x-ms-request-id": [
- "2263b931-e233-4217-bfba-448ee3ac8346"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-AspNet-Version": [
- "4.0.30319"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1196"
- ],
- "x-ms-correlation-request-id": [
- "977d2f5c-4af0-4c2e-8068-6de427d796c0"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20180309T073344Z:977d2f5c-4af0-4c2e-8068-6de427d796c0"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ]
- },
- "StatusCode": 201
+ "Variables": {
+ "SubscriptionId": "cc148bf2-42fb-4913-a3fb-2f284a69eb89"
}
- ],
- "Names": {
- "CreateResourceGroup": [
- "res7089"
- ],
- "HealthcareApisCreateTest": [
- "hca1234"
- ]
- },
- "Variables": {
- "SubscriptionId": "cc148bf2-42fb-4913-a3fb-2f284a69eb89"
- }
-}
+}
\ No newline at end of file
diff --git a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisCreateTestWithDefaultKind.json b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisCreateTestWithDefaultKind.json
index c4b156c4b2ea2..6d9b6829dfd4d 100644
--- a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisCreateTestWithDefaultKind.json
+++ b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisCreateTestWithDefaultKind.json
@@ -1,155 +1,155 @@
-{
- "Entries": [
- {
- "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourcegroups/res7089?api-version=2017-05-10",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzI0Mzc0NWQtNTBiYi00OGQxLTllNjItM2Y3MmVmYjMxNjZjL3Jlc291cmNlZ3JvdXBzL3JlczcwODk/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
- "RequestHeaders": {
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "28"
- ],
- "x-ms-client-request-id": [
- "89e61421-87a0-4d25-b6a1-946a8f9df00b"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.25211.01",
- "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089\",\r\n \"name\": \"account1234\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "167"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Mar 2018 08:09:16 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1181"
- ],
- "x-ms-request-id": [
- "d55f54ca-0ad2-4798-9741-a96462bd1cb8"
- ],
- "x-ms-correlation-request-id": [
- "9e622289-028e-44a3-bbcd-904ae16adbd3"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20190618T153235Z:d55f54ca-0ad2-4798-9741-a96462bd1cb8"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourcegroups/res7089?api-version=2017-05-10",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzI0Mzc0NWQtNTBiYi00OGQxLTllNjItM2Y3MmVmYjMxNjZjL3Jlc291cmNlZ3JvdXBzL3JlczcwODk/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "28"
+ ],
+ "x-ms-client-request-id": [
+ "89e61421-87a0-4d25-b6a1-946a8f9df00b"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089\",\r\n \"name\": \"account1234\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "167"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 09 Mar 2018 08:09:16 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1181"
+ ],
+ "x-ms-request-id": [
+ "d55f54ca-0ad2-4798-9741-a96462bd1cb8"
+ ],
+ "x-ms-correlation-request-id": [
+ "9e622289-028e-44a3-bbcd-904ae16adbd3"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190618T153235Z:d55f54ca-0ad2-4798-9741-a96462bd1cb8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services/hca1234?api-version=2021-01-11",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL3JlczcwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5IZWFsdGhjYXJlQXBpcy9zZXJ2aWNlcy9oY2ExMjM0P2FwaS12ZXJzaW9uPTIwMjEtMDEtMTE=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"name\": \"S1\"\r\n,\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "113"
+ ],
+ "x-ms-client-request-id": [
+ "39bce3ac-f86e-490f-92d3-260643c3a770"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.HealthcareApis.HealthcareApisManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/accounts/hca1234\",\r\n \"name\": \"hca1234\",\r\n \"type\": \"Microsoft.HealthcareApis/accounts\",\r\n \"etag\": \"\\\"0a002ee3-0000-0000-0000-5aa238d80000\\\"\",\r\n \"location\": \"westus\",\r\n \"name\": \"S1\"\r\n ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "570"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 09 Mar 2018 07:33:44 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "ETag": [
+ "\"0a002ee3-0000-0000-0000-5aa238d80000\""
+ ],
+ "Server": [
+ "Microsoft-IIS/10.0"
+ ],
+ "x-ms-request-id": [
+ "2263b931-e233-4217-bfba-448ee3ac8346"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1196"
+ ],
+ "x-ms-correlation-request-id": [
+ "977d2f5c-4af0-4c2e-8068-6de427d796c0"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20180309T073344Z:977d2f5c-4af0-4c2e-8068-6de427d796c0"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 201
+ }
+ ],
+ "Names": {
+ "CreateResourceGroup": [
+ "res7089"
],
- "X-Content-Type-Options": [
- "nosniff"
+ "HealthcareApisCreateTestWithDefaultKind": [
+ "hca1234"
]
- },
- "StatusCode": 201
},
- {
- "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services/hca1234?api-version=2020-03-30",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL3JlczcwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5IZWFsdGhjYXJlQXBpcy9zZXJ2aWNlcy9oY2ExMjM0P2FwaS12ZXJzaW9uPTIwMjAtMDMtMzA=",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"name\": \"S1\"\r\n,\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
- "RequestHeaders": {
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "113"
- ],
- "x-ms-client-request-id": [
- "39bce3ac-f86e-490f-92d3-260643c3a770"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.25211.01",
- "Microsoft.Azure.Management.HealthcareApis.HealthcareApisManagementClient/1.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/accounts/hca1234\",\r\n \"name\": \"hca1234\",\r\n \"type\": \"Microsoft.HealthcareApis/accounts\",\r\n \"etag\": \"\\\"0a002ee3-0000-0000-0000-5aa238d80000\\\"\",\r\n \"location\": \"westus\",\r\n \"name\": \"S1\"\r\n ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "570"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Mar 2018 07:33:44 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "ETag": [
- "\"0a002ee3-0000-0000-0000-5aa238d80000\""
- ],
- "Server": [
- "Microsoft-IIS/10.0"
- ],
- "x-ms-request-id": [
- "2263b931-e233-4217-bfba-448ee3ac8346"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-AspNet-Version": [
- "4.0.30319"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1196"
- ],
- "x-ms-correlation-request-id": [
- "977d2f5c-4af0-4c2e-8068-6de427d796c0"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20180309T073344Z:977d2f5c-4af0-4c2e-8068-6de427d796c0"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ]
- },
- "StatusCode": 201
+ "Variables": {
+ "SubscriptionId": "cc148bf2-42fb-4913-a3fb-2f284a69eb89"
}
- ],
- "Names": {
- "CreateResourceGroup": [
- "res7089"
- ],
- "HealthcareApisCreateTestWithDefaultKind": [
- "hca1234"
- ]
- },
- "Variables": {
- "SubscriptionId": "cc148bf2-42fb-4913-a3fb-2f284a69eb89"
- }
-}
+}
\ No newline at end of file
diff --git a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisCreateWithParametersTest.json b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisCreateWithParametersTest.json
index 97b1533b123ff..963eaa8f5333c 100644
--- a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisCreateWithParametersTest.json
+++ b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisCreateWithParametersTest.json
@@ -1,155 +1,155 @@
-{
- "Entries": [
- {
- "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourcegroups/res7089?api-version=2017-05-10",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzI0Mzc0NWQtNTBiYi00OGQxLTllNjItM2Y3MmVmYjMxNjZjL3Jlc291cmNlZ3JvdXBzL3JlczcwODk/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
- "RequestHeaders": {
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "28"
- ],
- "x-ms-client-request-id": [
- "89e61421-87a0-4d25-b6a1-946a8f9df00b"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.25211.01",
- "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089\",\r\n \"name\": \"hca1234\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "167"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Mar 2018 08:09:16 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1181"
- ],
- "x-ms-request-id": [
- "d55f54ca-0ad2-4798-9741-a96462bd1cb8"
- ],
- "x-ms-correlation-request-id": [
- "9e622289-028e-44a3-bbcd-904ae16adbd3"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20190618T153235Z:d55f54ca-0ad2-4798-9741-a96462bd1cb8"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourcegroups/res7089?api-version=2017-05-10",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzI0Mzc0NWQtNTBiYi00OGQxLTllNjItM2Y3MmVmYjMxNjZjL3Jlc291cmNlZ3JvdXBzL3JlczcwODk/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "28"
+ ],
+ "x-ms-client-request-id": [
+ "89e61421-87a0-4d25-b6a1-946a8f9df00b"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089\",\r\n \"name\": \"hca1234\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "167"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 09 Mar 2018 08:09:16 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1181"
+ ],
+ "x-ms-request-id": [
+ "d55f54ca-0ad2-4798-9741-a96462bd1cb8"
+ ],
+ "x-ms-correlation-request-id": [
+ "9e622289-028e-44a3-bbcd-904ae16adbd3"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190618T153235Z:d55f54ca-0ad2-4798-9741-a96462bd1cb8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services/hca1234?api-version=2021-01-11",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL3JlczcwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5IZWFsdGhjYXJlQXBpcy9zZXJ2aWNlcy9oY2ExMjM0P2FwaS12ZXJzaW9uPTIwMjEtMDEtMTE=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{ \"name\": \"S1\" ,\"location\":\"westus\", \"properties\": { \"authenticationConfiguration\": { \"authority\": \"https://login.microsoftonline.com/common\",\"audience\": \"https://azurehealthcareapis.com\",\"smartProxyEnabled\": \"false\" },\"cosmosDbConfiguration\": {\"offerThroughput\": \"400\",\"keyVaultKeyUri\": \"https://my-vault.vault.azure.net/keys/my-key\"},\"accessPolicies\": [ {\"objectId\": \"7df19f2f-6169-40f0-ac1e-9a9b4e65a898\"}]}}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "113"
+ ],
+ "x-ms-client-request-id": [
+ "39bce3ac-f86e-490f-92d3-260643c3a770"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.HealthcareApis.HealthcareApisManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/accounts/hca1234\",\r\n \"name\": \"hca1234\",\r\n \"type\": \"Microsoft.HealthcareApis/accounts\",\r\n \"etag\": \"\\\"0a002ee3-0000-0000-0000-5aa238d80000\\\"\",\r\n \"location\": \"westus\",\r\n \"name\": \"S1\"\r\n ,\r\n \"kind\": \"fhir-R4\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n , \"authenticationConfiguration\": { \"authority\": \"https://login.microsoftonline.com/common\",\"audience\": \"https://azurehealthcareapis.com\",\"smartProxyEnabled\": \"false\" },\"cosmosDbConfiguration\": {\"offerThroughput\": \"400\",\"keyVaultKeyUri\": \"https://my-vault.vault.azure.net/keys/my-key\"},\"accessPolicies\": [ {\"objectId\": \"7df19f2f-6169-40f0-ac1e-9a9b4e65a898\"}]}}\r\n",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "570"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 09 Mar 2018 07:33:44 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "ETag": [
+ "\"0a002ee3-0000-0000-0000-5aa238d80000\""
+ ],
+ "Server": [
+ "Microsoft-IIS/10.0"
+ ],
+ "x-ms-request-id": [
+ "2263b931-e233-4217-bfba-448ee3ac8346"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1196"
+ ],
+ "x-ms-correlation-request-id": [
+ "977d2f5c-4af0-4c2e-8068-6de427d796c0"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20180309T073344Z:977d2f5c-4af0-4c2e-8068-6de427d796c0"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 201
+ }
+ ],
+ "Names": {
+ "CreateResourceGroup": [
+ "res7089"
],
- "X-Content-Type-Options": [
- "nosniff"
+ "HealthcareApisCreateWithParametersTest": [
+ "hca1234"
]
- },
- "StatusCode": 201
},
- {
- "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services/hca1234?api-version=2020-03-30",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL3JlczcwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5IZWFsdGhjYXJlQXBpcy9zZXJ2aWNlcy9oY2ExMjM0P2FwaS12ZXJzaW9uPTIwMjAtMDMtMzA=",
- "RequestMethod": "PUT",
- "RequestBody": "{ \"name\": \"S1\" ,\"location\":\"westus\", \"properties\": { \"authenticationConfiguration\": { \"authority\": \"https://login.microsoftonline.com/common\",\"audience\": \"https://azurehealthcareapis.com\",\"smartProxyEnabled\": \"false\" },\"cosmosDbConfiguration\": {\"offerThroughput\": \"400\",\"keyVaultKeyUri\": \"https://my-vault.vault.azure.net/keys/my-key\"},\"accessPolicies\": [ {\"objectId\": \"7df19f2f-6169-40f0-ac1e-9a9b4e65a898\"}]}}",
- "RequestHeaders": {
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "113"
- ],
- "x-ms-client-request-id": [
- "39bce3ac-f86e-490f-92d3-260643c3a770"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.25211.01",
- "Microsoft.Azure.Management.HealthcareApis.HealthcareApisManagementClient/1.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/accounts/hca1234\",\r\n \"name\": \"hca1234\",\r\n \"type\": \"Microsoft.HealthcareApis/accounts\",\r\n \"etag\": \"\\\"0a002ee3-0000-0000-0000-5aa238d80000\\\"\",\r\n \"location\": \"westus\",\r\n \"name\": \"S1\"\r\n ,\r\n \"kind\": \"fhir-R4\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n , \"authenticationConfiguration\": { \"authority\": \"https://login.microsoftonline.com/common\",\"audience\": \"https://azurehealthcareapis.com\",\"smartProxyEnabled\": \"false\" },\"cosmosDbConfiguration\": {\"offerThroughput\": \"400\",\"keyVaultKeyUri\": \"https://my-vault.vault.azure.net/keys/my-key\"},\"accessPolicies\": [ {\"objectId\": \"7df19f2f-6169-40f0-ac1e-9a9b4e65a898\"}]}}\r\n",
- "ResponseHeaders": {
- "Content-Length": [
- "570"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Mar 2018 07:33:44 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "ETag": [
- "\"0a002ee3-0000-0000-0000-5aa238d80000\""
- ],
- "Server": [
- "Microsoft-IIS/10.0"
- ],
- "x-ms-request-id": [
- "2263b931-e233-4217-bfba-448ee3ac8346"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-AspNet-Version": [
- "4.0.30319"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1196"
- ],
- "x-ms-correlation-request-id": [
- "977d2f5c-4af0-4c2e-8068-6de427d796c0"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20180309T073344Z:977d2f5c-4af0-4c2e-8068-6de427d796c0"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ]
- },
- "StatusCode": 201
+ "Variables": {
+ "SubscriptionId": "cc148bf2-42fb-4913-a3fb-2f284a69eb89"
}
- ],
- "Names": {
- "CreateResourceGroup": [
- "res7089"
- ],
- "HealthcareApisCreateWithParametersTest": [
- "hca1234"
- ]
- },
- "Variables": {
- "SubscriptionId": "cc148bf2-42fb-4913-a3fb-2f284a69eb89"
- }
-}
+}
\ No newline at end of file
diff --git a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisDeleteAccountErrorTest.json b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisDeleteAccountErrorTest.json
index 2da8c87a5d5c1..77040133d4f1e 100644
--- a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisDeleteAccountErrorTest.json
+++ b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisDeleteAccountErrorTest.json
@@ -1,139 +1,139 @@
-{
- "Entries": [
- {
- "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourcegroups/res7089?api-version=2017-05-10",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzI0Mzc0NWQtNTBiYi00OGQxLTllNjItM2Y3MmVmYjMxNjZjL3Jlc291cmNlZ3JvdXBzL3JlczcwODk/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
- "RequestHeaders": {
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "28"
- ],
- "x-ms-client-request-id": [
- "89e61421-87a0-4d25-b6a1-946a8f9df00b"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.25211.01",
- "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089\",\r\n \"name\": \"hca1234\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "167"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Mar 2018 08:09:16 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1181"
- ],
- "x-ms-request-id": [
- "d55f54ca-0ad2-4798-9741-a96462bd1cb8"
- ],
- "x-ms-correlation-request-id": [
- "9e622289-028e-44a3-bbcd-904ae16adbd3"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20190618T153235Z:d55f54ca-0ad2-4798-9741-a96462bd1cb8"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ]
- },
- "StatusCode": 201
- },
- {
- "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/NotExistedRG/providers/Microsoft.HealthcareApis/services/nonExistedAccountName?api-version=2020-03-30",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL05vdEV4aXN0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LkhlYWx0aGNhcmVBcGlzL3NlcnZpY2VzL25vbkV4aXN0ZWRBY2NvdW50TmFtZT9hcGktdmVyc2lvbj0yMDIwLTAzLTMw",
- "RequestMethod": "DELETE",
- "RequestBody": "",
- "RequestHeaders": {
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "28"
- ],
- "x-ms-client-request-id": [
- "ccfc3a51-0fa5-4fbf-be57-638efc84c3e2"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.25211.01",
- "Microsoft.Azure.Management.HealthcareApis.HealthcareApisManagementClient/1.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'NotExistedRG' could not be found.\"\r\n }\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "104"
- ],
- "Expires": [
- "-1"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 26 May 2017 11:20:00 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Server": [
- "Microsoft-IIS/8.5"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-AspNet-Version": [
- "4.0.30319"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1194"
- ],
- "x-ms-request-id": [
- "7824fc5b-dcea-46b4-91b8-2992ec8a8bf6"
- ],
- "x-ms-correlation-request-id": [
- "7824fc5b-dcea-46b4-91b8-2992ec8a8bf6"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20170526T112000Z:7824fc5b-dcea-46b4-91b8-2992ec8a8bf6"
- ]
- },
- "StatusCode": 404
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourcegroups/res7089?api-version=2017-05-10",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzI0Mzc0NWQtNTBiYi00OGQxLTllNjItM2Y3MmVmYjMxNjZjL3Jlc291cmNlZ3JvdXBzL3JlczcwODk/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "28"
+ ],
+ "x-ms-client-request-id": [
+ "89e61421-87a0-4d25-b6a1-946a8f9df00b"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089\",\r\n \"name\": \"hca1234\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "167"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 09 Mar 2018 08:09:16 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1181"
+ ],
+ "x-ms-request-id": [
+ "d55f54ca-0ad2-4798-9741-a96462bd1cb8"
+ ],
+ "x-ms-correlation-request-id": [
+ "9e622289-028e-44a3-bbcd-904ae16adbd3"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190618T153235Z:d55f54ca-0ad2-4798-9741-a96462bd1cb8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/NotExistedRG/providers/Microsoft.HealthcareApis/services/nonExistedAccountName?api-version=2021-01-11",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL05vdEV4aXN0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LkhlYWx0aGNhcmVBcGlzL3NlcnZpY2VzL25vbkV4aXN0ZWRBY2NvdW50TmFtZT9hcGktdmVyc2lvbj0yMDIxLTAxLTEx",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "28"
+ ],
+ "x-ms-client-request-id": [
+ "ccfc3a51-0fa5-4fbf-be57-638efc84c3e2"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.HealthcareApis.HealthcareApisManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'NotExistedRG' could not be found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "104"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 26 May 2017 11:20:00 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1194"
+ ],
+ "x-ms-request-id": [
+ "7824fc5b-dcea-46b4-91b8-2992ec8a8bf6"
+ ],
+ "x-ms-correlation-request-id": [
+ "7824fc5b-dcea-46b4-91b8-2992ec8a8bf6"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20170526T112000Z:7824fc5b-dcea-46b4-91b8-2992ec8a8bf6"
+ ]
+ },
+ "StatusCode": 404
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "cc148bf2-42fb-4913-a3fb-2f284a69eb89"
}
- ],
- "Names": {},
- "Variables": {
- "SubscriptionId": "cc148bf2-42fb-4913-a3fb-2f284a69eb89"
- }
-}
+}
\ No newline at end of file
diff --git a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisDeleteTest.json b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisDeleteTest.json
index b95387407528d..022eac668cec4 100644
--- a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisDeleteTest.json
+++ b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisDeleteTest.json
@@ -1,277 +1,277 @@
-{
- "Entries": [
- {
- "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourcegroups/res7089?api-version=2017-05-10",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzI0Mzc0NWQtNTBiYi00OGQxLTllNjItM2Y3MmVmYjMxNjZjL3Jlc291cmNlZ3JvdXBzL3JlczcwODk/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
- "RequestHeaders": {
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "28"
- ],
- "x-ms-client-request-id": [
- "89e61421-87a0-4d25-b6a1-946a8f9df00b"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.25211.01",
- "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089\",\r\n \"name\": \"account1235\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "167"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Mar 2018 08:09:16 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1181"
- ],
- "x-ms-request-id": [
- "d55f54ca-0ad2-4798-9741-a96462bd1cb8"
- ],
- "x-ms-correlation-request-id": [
- "9e622289-028e-44a3-bbcd-904ae16adbd3"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20190618T153235Z:d55f54ca-0ad2-4798-9741-a96462bd1cb8"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ]
- },
- "StatusCode": 201
- },
- {
- "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services/hca1234?api-version=2020-03-30",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL3JlczcwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5IZWFsdGhjYXJlQXBpcy9zZXJ2aWNlcy9oY2ExMjM0P2FwaS12ZXJzaW9uPTIwMjAtMDMtMzA=",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"name\": \"S1\"\r\n ,\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
- "RequestHeaders": {
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "113"
- ],
- "x-ms-client-request-id": [
- "39bce3ac-f86e-490f-92d3-260643c3a770"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.25211.01",
- "Microsoft.Azure.Management.HealthcareApis.HealthcareApisManagementClient/1.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/accounts/hca1234\",\r\n \"name\": \"hca1234\",\r\n \"type\": \"Microsoft.HealthcareApis/accounts\",\r\n \"etag\": \"\\\"0a002ee3-0000-0000-0000-5aa238d80000\\\"\",\r\n \"location\": \"westus\",\r\n \"name\": \"S1\"\r\n ,\r\n \"kind\": \"fhir-R4\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "570"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Mar 2018 07:33:44 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "ETag": [
- "\"0a002ee3-0000-0000-0000-5aa238d80000\""
- ],
- "Server": [
- "Microsoft-IIS/10.0"
- ],
- "x-ms-request-id": [
- "2263b931-e233-4217-bfba-448ee3ac8346"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-AspNet-Version": [
- "4.0.30319"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1196"
- ],
- "x-ms-correlation-request-id": [
- "977d2f5c-4af0-4c2e-8068-6de427d796c0"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20180309T073344Z:977d2f5c-4af0-4c2e-8068-6de427d796c0"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ]
- },
- "StatusCode": 201
- },
- {
- "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services/hca1234?api-version=2020-03-30",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL3JlczcwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5IZWFsdGhjYXJlQXBpcy9zZXJ2aWNlcy9oY2ExMjM0P2FwaS12ZXJzaW9uPTIwMjAtMDMtMzA=",
- "RequestMethod": "DELETE",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "ccfc3a51-0fa5-4fbf-be57-638efc84c3e2"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.25211.01",
- "Microsoft.Azure.Management.HealthcareApis.HealthcareApisManagementClient/1.0.0.0"
- ]
- },
- "ResponseBody": "",
- "ResponseHeaders": {
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 26 May 2017 11:20:00 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Server": [
- "Microsoft-IIS/8.5"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-AspNet-Version": [
- "4.0.30319"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1194"
- ],
- "x-ms-request-id": [
- "7824fc5b-dcea-46b4-91b8-2992ec8a8bf6"
- ],
- "x-ms-correlation-request-id": [
- "7824fc5b-dcea-46b4-91b8-2992ec8a8bf6"
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourcegroups/res7089?api-version=2017-05-10",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzI0Mzc0NWQtNTBiYi00OGQxLTllNjItM2Y3MmVmYjMxNjZjL3Jlc291cmNlZ3JvdXBzL3JlczcwODk/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "28"
+ ],
+ "x-ms-client-request-id": [
+ "89e61421-87a0-4d25-b6a1-946a8f9df00b"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089\",\r\n \"name\": \"account1235\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "167"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 09 Mar 2018 08:09:16 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1181"
+ ],
+ "x-ms-request-id": [
+ "d55f54ca-0ad2-4798-9741-a96462bd1cb8"
+ ],
+ "x-ms-correlation-request-id": [
+ "9e622289-028e-44a3-bbcd-904ae16adbd3"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190618T153235Z:d55f54ca-0ad2-4798-9741-a96462bd1cb8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services/hca1234?api-version=2021-01-11",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL3JlczcwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5IZWFsdGhjYXJlQXBpcy9zZXJ2aWNlcy9oY2ExMjM0P2FwaS12ZXJzaW9uPTIwMjEtMDEtMTE=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"name\": \"S1\"\r\n ,\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "113"
+ ],
+ "x-ms-client-request-id": [
+ "39bce3ac-f86e-490f-92d3-260643c3a770"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.HealthcareApis.HealthcareApisManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/accounts/hca1234\",\r\n \"name\": \"hca1234\",\r\n \"type\": \"Microsoft.HealthcareApis/accounts\",\r\n \"etag\": \"\\\"0a002ee3-0000-0000-0000-5aa238d80000\\\"\",\r\n \"location\": \"westus\",\r\n \"name\": \"S1\"\r\n ,\r\n \"kind\": \"fhir-R4\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "570"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 09 Mar 2018 07:33:44 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "ETag": [
+ "\"0a002ee3-0000-0000-0000-5aa238d80000\""
+ ],
+ "Server": [
+ "Microsoft-IIS/10.0"
+ ],
+ "x-ms-request-id": [
+ "2263b931-e233-4217-bfba-448ee3ac8346"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1196"
+ ],
+ "x-ms-correlation-request-id": [
+ "977d2f5c-4af0-4c2e-8068-6de427d796c0"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20180309T073344Z:977d2f5c-4af0-4c2e-8068-6de427d796c0"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services/hca1234?api-version=2021-01-11",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL3JlczcwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5IZWFsdGhjYXJlQXBpcy9zZXJ2aWNlcy9oY2ExMjM0P2FwaS12ZXJzaW9uPTIwMjEtMDEtMTE=",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "ccfc3a51-0fa5-4fbf-be57-638efc84c3e2"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.HealthcareApis.HealthcareApisManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 26 May 2017 11:20:00 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1194"
+ ],
+ "x-ms-request-id": [
+ "7824fc5b-dcea-46b4-91b8-2992ec8a8bf6"
+ ],
+ "x-ms-correlation-request-id": [
+ "7824fc5b-dcea-46b4-91b8-2992ec8a8bf6"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20170526T112000Z:7824fc5b-dcea-46b4-91b8-2992ec8a8bf6"
+ ]
+ },
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services/missingaccount?api-version=2021-01-11",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL3JlczcwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5IZWFsdGhjYXJlQXBpcy9zZXJ2aWNlcy9taXNzaW5nYWNjb3VudD9hcGktdmVyc2lvbj0yMDIxLTAxLTEx",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "ccfc3a51-0fa5-4fbf-be57-638efc84c3e2"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.HealthcareApis.HealthcareApisManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 26 May 2017 11:20:00 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1194"
+ ],
+ "x-ms-request-id": [
+ "7824fc5b-dcea-46b4-91b8-2992ec8a8bf6"
+ ],
+ "x-ms-correlation-request-id": [
+ "7824fc5b-dcea-46b4-91b8-2992ec8a8bf6"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20170526T112000Z:7824fc5b-dcea-46b4-91b8-2992ec8a8bf6"
+ ]
+ },
+ "StatusCode": 204
+ }
+ ],
+ "Names": {
+ "CreateResourceGroup": [
+ "res7089"
],
- "x-ms-routing-request-id": [
- "WESTUS:20170526T112000Z:7824fc5b-dcea-46b4-91b8-2992ec8a8bf6"
+ "HealthcareApisDeleteTest": [
+ "hca1234"
]
- },
- "StatusCode": 204
},
- {
- "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services/missingaccount?api-version=2020-03-30",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL3JlczcwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5IZWFsdGhjYXJlQXBpcy9zZXJ2aWNlcy9taXNzaW5nYWNjb3VudD9hcGktdmVyc2lvbj0yMDIwLTAzLTMw",
- "RequestMethod": "DELETE",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "ccfc3a51-0fa5-4fbf-be57-638efc84c3e2"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.25211.01",
- "Microsoft.Azure.Management.HealthcareApis.HealthcareApisManagementClient/1.0.0.0"
- ]
- },
- "ResponseBody": "",
- "ResponseHeaders": {
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 26 May 2017 11:20:00 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Server": [
- "Microsoft-IIS/8.5"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-AspNet-Version": [
- "4.0.30319"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1194"
- ],
- "x-ms-request-id": [
- "7824fc5b-dcea-46b4-91b8-2992ec8a8bf6"
- ],
- "x-ms-correlation-request-id": [
- "7824fc5b-dcea-46b4-91b8-2992ec8a8bf6"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20170526T112000Z:7824fc5b-dcea-46b4-91b8-2992ec8a8bf6"
- ]
- },
- "StatusCode": 204
+ "Variables": {
+ "SubscriptionId": "cc148bf2-42fb-4913-a3fb-2f284a69eb89"
}
- ],
- "Names": {
- "CreateResourceGroup": [
- "res7089"
- ],
- "HealthcareApisDeleteTest": [
- "hca1234"
- ]
- },
- "Variables": {
- "SubscriptionId": "cc148bf2-42fb-4913-a3fb-2f284a69eb89"
- }
-}
+}
\ No newline at end of file
diff --git a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisGetAccountTest.json b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisGetAccountTest.json
index ba5d22d32f0e5..9c40cb8c950b6 100644
--- a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisGetAccountTest.json
+++ b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisGetAccountTest.json
@@ -1,228 +1,228 @@
-{
- "Entries": [
- {
- "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourcegroups/res7089?api-version=2017-05-10",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzI0Mzc0NWQtNTBiYi00OGQxLTllNjItM2Y3MmVmYjMxNjZjL3Jlc291cmNlZ3JvdXBzL3JlczcwODk/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
- "RequestHeaders": {
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "28"
- ],
- "x-ms-client-request-id": [
- "89e61421-87a0-4d25-b6a1-946a8f9df00b"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.25211.01",
- "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089\",\r\n \"name\": \"hca1234\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "167"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Mar 2018 08:09:16 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1181"
- ],
- "x-ms-request-id": [
- "d55f54ca-0ad2-4798-9741-a96462bd1cb8"
- ],
- "x-ms-correlation-request-id": [
- "9e622289-028e-44a3-bbcd-904ae16adbd3"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20190618T153235Z:d55f54ca-0ad2-4798-9741-a96462bd1cb8"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ]
- },
- "StatusCode": 201
- },
- {
- "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services/hca1234?api-version=2020-03-30",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL3JlczcwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5IZWFsdGhjYXJlQXBpcy9zZXJ2aWNlcy9oY2ExMjM0P2FwaS12ZXJzaW9uPTIwMjAtMDMtMzA=",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"name\": \"S1\"\r\n ,\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
- "RequestHeaders": {
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "113"
- ],
- "x-ms-client-request-id": [
- "39bce3ac-f86e-490f-92d3-260643c3a770"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.25211.01",
- "Microsoft.Azure.Management.HealthcareApis.HealthcareApisManagementClient/1.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/accounts/hca1234\",\r\n \"name\": \"hca1234\",\r\n \"type\": \"Microsoft.HealthcareApis/accounts\",\r\n \"etag\": \"\\\"0a002ee3-0000-0000-0000-5aa238d80000\\\"\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"fhir-R4\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "570"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Mar 2018 07:33:44 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "ETag": [
- "\"0a002ee3-0000-0000-0000-5aa238d80000\""
- ],
- "Server": [
- "Microsoft-IIS/10.0"
- ],
- "x-ms-request-id": [
- "2263b931-e233-4217-bfba-448ee3ac8346"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-AspNet-Version": [
- "4.0.30319"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1196"
- ],
- "x-ms-correlation-request-id": [
- "977d2f5c-4af0-4c2e-8068-6de427d796c0"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20180309T073344Z:977d2f5c-4af0-4c2e-8068-6de427d796c0"
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourcegroups/res7089?api-version=2017-05-10",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYzI0Mzc0NWQtNTBiYi00OGQxLTllNjItM2Y3MmVmYjMxNjZjL3Jlc291cmNlZ3JvdXBzL3JlczcwODk/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "28"
+ ],
+ "x-ms-client-request-id": [
+ "89e61421-87a0-4d25-b6a1-946a8f9df00b"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089\",\r\n \"name\": \"hca1234\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "167"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 09 Mar 2018 08:09:16 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1181"
+ ],
+ "x-ms-request-id": [
+ "d55f54ca-0ad2-4798-9741-a96462bd1cb8"
+ ],
+ "x-ms-correlation-request-id": [
+ "9e622289-028e-44a3-bbcd-904ae16adbd3"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190618T153235Z:d55f54ca-0ad2-4798-9741-a96462bd1cb8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services/hca1234?api-version=2021-01-11",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL3JlczcwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5IZWFsdGhjYXJlQXBpcy9zZXJ2aWNlcy9oY2ExMjM0P2FwaS12ZXJzaW9uPTIwMjEtMDEtMTE=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"name\": \"S1\"\r\n ,\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "113"
+ ],
+ "x-ms-client-request-id": [
+ "39bce3ac-f86e-490f-92d3-260643c3a770"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.HealthcareApis.HealthcareApisManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/accounts/hca1234\",\r\n \"name\": \"hca1234\",\r\n \"type\": \"Microsoft.HealthcareApis/accounts\",\r\n \"etag\": \"\\\"0a002ee3-0000-0000-0000-5aa238d80000\\\"\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"fhir-R4\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "570"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 09 Mar 2018 07:33:44 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "ETag": [
+ "\"0a002ee3-0000-0000-0000-5aa238d80000\""
+ ],
+ "Server": [
+ "Microsoft-IIS/10.0"
+ ],
+ "x-ms-request-id": [
+ "2263b931-e233-4217-bfba-448ee3ac8346"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1196"
+ ],
+ "x-ms-correlation-request-id": [
+ "977d2f5c-4af0-4c2e-8068-6de427d796c0"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20180309T073344Z:977d2f5c-4af0-4c2e-8068-6de427d796c0"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services/hca1234?api-version=2021-01-11",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL3JlczcwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5IZWFsdGhjYXJlQXBpcy9zZXJ2aWNlcy9oY2ExMjM0P2FwaS12ZXJzaW9uPTIwMjEtMDEtMTE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "65c39c9c-dcfd-47d3-a5ea-a98bfd4989bb"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.HealthcareApis.HealthcareApisManagementClient/3.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services/hca1234\",\r\n \"name\": \"hca1234\",\r\n \"type\": \"Microsoft.HealthcareApis/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"fhir-R4\",\r\n \"tags\": {\r\n \"key3\": \"value3\",\r\n \"key4\": \"value4\",\r\n \"key5\": \"value5\"\r\n },\"properties\": {\"provisioningState\": \"Succeeded\"}}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 09 Mar 2018 07:49:29 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "ETag": [
+ "\"0a00bcf7-0000-0000-0000-5aa23c880000\""
+ ],
+ "Server": [
+ "Microsoft-IIS/10.0"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "4697a59a-84eb-4e5c-967e-085b2a555af8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14953"
+ ],
+ "x-ms-correlation-request-id": [
+ "122819a6-98f9-4c61-b68c-c06a134c084f"
+ ],
+ "x-ms-routing-request-id": [
+ "JAPANWEST:20180309T074930Z:122819a6-98f9-4c61-b68c-c06a134c084f"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {
+ "CreateResourceGroup": [
+ "res7089"
],
- "X-Content-Type-Options": [
- "nosniff"
+ "HealthcareApisGetAccountTest": [
+ "hca1234"
]
- },
- "StatusCode": 201
},
- {
- "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services/hca1234?api-version=2020-03-30",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL3JlczcwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5IZWFsdGhjYXJlQXBpcy9zZXJ2aWNlcy9oY2ExMjM0P2FwaS12ZXJzaW9uPTIwMjAtMDMtMzA=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "65c39c9c-dcfd-47d3-a5ea-a98bfd4989bb"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.25211.01",
- "Microsoft.Azure.Management.HealthcareApis.HealthcareApisManagementClient/3.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services/hca1234\",\r\n \"name\": \"hca1234\",\r\n \"type\": \"Microsoft.HealthcareApis/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"fhir-R4\",\r\n \"tags\": {\r\n \"key3\": \"value3\",\r\n \"key4\": \"value4\",\r\n \"key5\": \"value5\"\r\n },\"properties\": {\"provisioningState\": \"Succeeded\"}}",
- "ResponseHeaders": {
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Mar 2018 07:49:29 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Transfer-Encoding": [
- "chunked"
- ],
- "ETag": [
- "\"0a00bcf7-0000-0000-0000-5aa23c880000\""
- ],
- "Server": [
- "Microsoft-IIS/10.0"
- ],
- "Vary": [
- "Accept-Encoding"
- ],
- "x-ms-request-id": [
- "4697a59a-84eb-4e5c-967e-085b2a555af8"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-AspNet-Version": [
- "4.0.30319"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14953"
- ],
- "x-ms-correlation-request-id": [
- "122819a6-98f9-4c61-b68c-c06a134c084f"
- ],
- "x-ms-routing-request-id": [
- "JAPANWEST:20180309T074930Z:122819a6-98f9-4c61-b68c-c06a134c084f"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ]
- },
- "StatusCode": 200
+ "Variables": {
+ "SubscriptionId": "cc148bf2-42fb-4913-a3fb-2f284a69eb89"
}
- ],
- "Names": {
- "CreateResourceGroup": [
- "res7089"
- ],
- "HealthcareApisGetAccountTest": [
- "hca1234"
- ]
- },
- "Variables": {
- "SubscriptionId": "cc148bf2-42fb-4913-a3fb-2f284a69eb89"
- }
-}
+}
\ No newline at end of file
diff --git a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisListAccountByResourceGroupTest.json b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisListAccountByResourceGroupTest.json
index b66dc8a814bd8..8e4363f32b5fe 100644
--- a/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisListAccountByResourceGroupTest.json
+++ b/sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/tests/SessionRecords/HealthcareApisTests/HealthcareApisListAccountByResourceGroupTest.json
@@ -1,378 +1,378 @@
-{
- "Entries": [
- {
- "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourcegroups/res7089?api-version=2018-08-20-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlZ3JvdXBzL3JlczcwODk/YXBpLXZlcnNpb249MjAxOC0wOC0yMC1wcmV2aWV3",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
- "RequestHeaders": {
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "28"
- ],
- "x-ms-client-request-id": [
- "89e61421-87a0-4d25-b6a1-946a8f9df00b"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.25211.01",
- "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089\",\r\n \"name\": \"hca1234\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "167"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Mar 2018 08:09:16 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1181"
- ],
- "x-ms-request-id": [
- "d55f54ca-0ad2-4798-9741-a96462bd1cb8"
- ],
- "x-ms-correlation-request-id": [
- "9e622289-028e-44a3-bbcd-904ae16adbd3"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20190618T153235Z:d55f54ca-0ad2-4798-9741-a96462bd1cb8"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ]
- },
- "StatusCode": 201
- },
- {
- "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services?api-version=2020-03-30",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL3JlczcwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5IZWFsdGhjYXJlQXBpcy9zZXJ2aWNlcz9hcGktdmVyc2lvbj0yMDIwLTAzLTMw",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "65c39c9c-dcfd-47d3-a5ea-a98bfd4989bb"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.25211.01",
- "Microsoft.Azure.Management.HealthcareApis.HealthcareApisManagementClient/3.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"value\": []\r\n}",
- "ResponseHeaders": {
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Mar 2018 07:49:29 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Transfer-Encoding": [
- "chunked"
- ],
- "ETag": [
- "\"0a00bcf7-0000-0000-0000-5aa23c880000\""
- ],
- "Server": [
- "Microsoft-IIS/10.0"
- ],
- "Vary": [
- "Accept-Encoding"
- ],
- "x-ms-request-id": [
- "4697a59a-84eb-4e5c-967e-085b2a555af8"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-AspNet-Version": [
- "4.0.30319"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14953"
- ],
- "x-ms-correlation-request-id": [
- "122819a6-98f9-4c61-b68c-c06a134c084f"
- ],
- "x-ms-routing-request-id": [
- "JAPANWEST:20180309T074930Z:122819a6-98f9-4c61-b68c-c06a134c084f"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ]
- },
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services/hca1234?api-version=2020-03-30",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL3JlczcwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5IZWFsdGhjYXJlQXBpcy9zZXJ2aWNlcy9oY2ExMjM0P2FwaS12ZXJzaW9uPTIwMjAtMDMtMzA=",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"name\": \"S1\"\r\n ,\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
- "RequestHeaders": {
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "113"
- ],
- "x-ms-client-request-id": [
- "39bce3ac-f86e-490f-92d3-260643c3a770"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.25211.01",
- "Microsoft.Azure.Management.HealthcareApis.HealthcareApisManagementClient/1.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/accounts/hca1235\",\r\n \"name\": \"hca1234\",\r\n \"type\": \"Microsoft.HealthcareApis/accounts\",\r\n \"etag\": \"\\\"0a002ee3-0000-0000-0000-5aa238d80000\\\"\",\r\n \"location\": \"westus\",\r\n \"name\": \"S1\"\r\n ,\r\n \"kind\": \"Fhir\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "570"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Mar 2018 07:33:44 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "ETag": [
- "\"0a002ee3-0000-0000-0000-5aa238d80000\""
- ],
- "Server": [
- "Microsoft-IIS/10.0"
- ],
- "x-ms-request-id": [
- "2263b931-e233-4217-bfba-448ee3ac8346"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-AspNet-Version": [
- "4.0.30319"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1196"
- ],
- "x-ms-correlation-request-id": [
- "977d2f5c-4af0-4c2e-8068-6de427d796c0"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20180309T073344Z:977d2f5c-4af0-4c2e-8068-6de427d796c0"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ]
- },
- "StatusCode": 201
- },
- {
- "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services/hca1235?api-version=2020-03-30",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL3JlczcwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5IZWFsdGhjYXJlQXBpcy9zZXJ2aWNlcy9oY2ExMjM1P2FwaS12ZXJzaW9uPTIwMjAtMDMtMzA=",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"name\": \"S1\"\r\n ,\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
- "RequestHeaders": {
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "113"
- ],
- "x-ms-client-request-id": [
- "39bce3ac-f86e-490f-92d3-260643c3a770"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.25211.01",
- "Microsoft.Azure.Management.HealthcareApis.HealthcareApisManagementClient/1.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/accounts/hca1235\",\r\n \"name\": \"hca1234\",\r\n \"type\": \"Microsoft.HealthcareApis/accounts\",\r\n \"etag\": \"\\\"0a002ee3-0000-0000-0000-5aa238d80000\\\"\",\r\n \"location\": \"westus\",\r\n \"name\": \"S1\"\r\n ,\r\n \"kind\": \"Fhir\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "570"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Mar 2018 07:33:44 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "ETag": [
- "\"0a002ee3-0000-0000-0000-5aa238d80000\""
- ],
- "Server": [
- "Microsoft-IIS/10.0"
- ],
- "x-ms-request-id": [
- "2263b931-e233-4217-bfba-448ee3ac8346"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-AspNet-Version": [
- "4.0.30319"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1196"
- ],
- "x-ms-correlation-request-id": [
- "977d2f5c-4af0-4c2e-8068-6de427d796c0"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20180309T073344Z:977d2f5c-4af0-4c2e-8068-6de427d796c0"
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourcegroups/res7089?api-version=2018-08-20-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlZ3JvdXBzL3JlczcwODk/YXBpLXZlcnNpb249MjAxOC0wOC0yMC1wcmV2aWV3",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "28"
+ ],
+ "x-ms-client-request-id": [
+ "89e61421-87a0-4d25-b6a1-946a8f9df00b"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089\",\r\n \"name\": \"hca1234\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "167"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 09 Mar 2018 08:09:16 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1181"
+ ],
+ "x-ms-request-id": [
+ "d55f54ca-0ad2-4798-9741-a96462bd1cb8"
+ ],
+ "x-ms-correlation-request-id": [
+ "9e622289-028e-44a3-bbcd-904ae16adbd3"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190618T153235Z:d55f54ca-0ad2-4798-9741-a96462bd1cb8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services?api-version=2021-01-11",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL3JlczcwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5IZWFsdGhjYXJlQXBpcy9zZXJ2aWNlcz9hcGktdmVyc2lvbj0yMDIxLTAxLTEx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "65c39c9c-dcfd-47d3-a5ea-a98bfd4989bb"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.HealthcareApis.HealthcareApisManagementClient/3.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": []\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 09 Mar 2018 07:49:29 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "ETag": [
+ "\"0a00bcf7-0000-0000-0000-5aa23c880000\""
+ ],
+ "Server": [
+ "Microsoft-IIS/10.0"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "4697a59a-84eb-4e5c-967e-085b2a555af8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14953"
+ ],
+ "x-ms-correlation-request-id": [
+ "122819a6-98f9-4c61-b68c-c06a134c084f"
+ ],
+ "x-ms-routing-request-id": [
+ "JAPANWEST:20180309T074930Z:122819a6-98f9-4c61-b68c-c06a134c084f"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services/hca1234?api-version=2021-01-11",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL3JlczcwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5IZWFsdGhjYXJlQXBpcy9zZXJ2aWNlcy9oY2ExMjM0P2FwaS12ZXJzaW9uPTIwMjEtMDEtMTE=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"name\": \"S1\"\r\n ,\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "113"
+ ],
+ "x-ms-client-request-id": [
+ "39bce3ac-f86e-490f-92d3-260643c3a770"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.HealthcareApis.HealthcareApisManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/accounts/hca1235\",\r\n \"name\": \"hca1234\",\r\n \"type\": \"Microsoft.HealthcareApis/accounts\",\r\n \"etag\": \"\\\"0a002ee3-0000-0000-0000-5aa238d80000\\\"\",\r\n \"location\": \"westus\",\r\n \"name\": \"S1\"\r\n ,\r\n \"kind\": \"Fhir\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "570"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 09 Mar 2018 07:33:44 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "ETag": [
+ "\"0a002ee3-0000-0000-0000-5aa238d80000\""
+ ],
+ "Server": [
+ "Microsoft-IIS/10.0"
+ ],
+ "x-ms-request-id": [
+ "2263b931-e233-4217-bfba-448ee3ac8346"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1196"
+ ],
+ "x-ms-correlation-request-id": [
+ "977d2f5c-4af0-4c2e-8068-6de427d796c0"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20180309T073344Z:977d2f5c-4af0-4c2e-8068-6de427d796c0"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services/hca1235?api-version=2021-01-11",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL3JlczcwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5IZWFsdGhjYXJlQXBpcy9zZXJ2aWNlcy9oY2ExMjM1P2FwaS12ZXJzaW9uPTIwMjEtMDEtMTE=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"name\": \"S1\"\r\n ,\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "113"
+ ],
+ "x-ms-client-request-id": [
+ "39bce3ac-f86e-490f-92d3-260643c3a770"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.HealthcareApis.HealthcareApisManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/accounts/hca1235\",\r\n \"name\": \"hca1234\",\r\n \"type\": \"Microsoft.HealthcareApis/accounts\",\r\n \"etag\": \"\\\"0a002ee3-0000-0000-0000-5aa238d80000\\\"\",\r\n \"location\": \"westus\",\r\n \"name\": \"S1\"\r\n ,\r\n \"kind\": \"Fhir\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "570"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 09 Mar 2018 07:33:44 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "ETag": [
+ "\"0a002ee3-0000-0000-0000-5aa238d80000\""
+ ],
+ "Server": [
+ "Microsoft-IIS/10.0"
+ ],
+ "x-ms-request-id": [
+ "2263b931-e233-4217-bfba-448ee3ac8346"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1196"
+ ],
+ "x-ms-correlation-request-id": [
+ "977d2f5c-4af0-4c2e-8068-6de427d796c0"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20180309T073344Z:977d2f5c-4af0-4c2e-8068-6de427d796c0"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services?api-version=2021-01-11",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL3JlczcwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5IZWFsdGhjYXJlQXBpcy9zZXJ2aWNlcz9hcGktdmVyc2lvbj0yMDIxLTAxLTEx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "65c39c9c-dcfd-47d3-a5ea-a98bfd4989bb"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.HealthcareApis.HealthcareApisManagementClient/3.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApus/services/hcs1234\",\r\n \"name\": \"hca1234\",\"etag\": \"0a002ee3-0000-0000-0000-5aa238d80000\",\r\n \"type\": \"Microsoft.HealthcareApis/services\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"Fhir\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"}\r\n },\r\n {\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services/hca1235\",\r\n \"name\": \"hca1235\",\r\n \"type\": \"Microsoft.HealthcareApis/services\",\r\n \"location\": \"westus\",\r\n \"name\": \"S1\"\r\n ,\r\n \"kind\": \"Fhir\",\"etag\": \"0a002ee3-0000-0000-0000-5aa238d800\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2017-05-26T11%3A20%3A39.9949008Z'\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"}\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 09 Mar 2018 07:49:29 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "ETag": [
+ "\"0a00bcf7-0000-0000-0000-5aa23c880000\""
+ ],
+ "Server": [
+ "Microsoft-IIS/10.0"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-request-id": [
+ "4697a59a-84eb-4e5c-967e-085b2a555af8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14953"
+ ],
+ "x-ms-correlation-request-id": [
+ "122819a6-98f9-4c61-b68c-c06a134c084f"
+ ],
+ "x-ms-routing-request-id": [
+ "JAPANWEST:20180309T074930Z:122819a6-98f9-4c61-b68c-c06a134c084f"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {
+ "CreateResourceGroup": [
+ "res7089"
],
- "X-Content-Type-Options": [
- "nosniff"
+ "CreateHealthcareApisAccount": [
+ "hca1234",
+ "hca1235"
]
- },
- "StatusCode": 201
},
- {
- "RequestUri": "/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services?api-version=2020-03-30",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2MxNDhiZjItNDJmYi00OTEzLWEzZmItMmYyODRhNjllYjg5L3Jlc291cmNlR3JvdXBzL3JlczcwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5IZWFsdGhjYXJlQXBpcy9zZXJ2aWNlcz9hcGktdmVyc2lvbj0yMDIwLTAzLTMw",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "65c39c9c-dcfd-47d3-a5ea-a98bfd4989bb"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.25211.01",
- "Microsoft.Azure.Management.HealthcareApis.HealthcareApisManagementClient/3.0.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApus/services/hcs1234\",\r\n \"name\": \"hca1234\",\"etag\": \"0a002ee3-0000-0000-0000-5aa238d80000\",\r\n \"type\": \"Microsoft.HealthcareApis/services\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"Fhir\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"}\r\n },\r\n {\r\n \"id\": \"/subscriptions/cc148bf2-42fb-4913-a3fb-2f284a69eb89/resourceGroups/res7089/providers/Microsoft.HealthcareApis/services/hca1235\",\r\n \"name\": \"hca1235\",\r\n \"type\": \"Microsoft.HealthcareApis/services\",\r\n \"location\": \"westus\",\r\n \"name\": \"S1\"\r\n ,\r\n \"kind\": \"Fhir\",\"etag\": \"0a002ee3-0000-0000-0000-5aa238d800\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2017-05-26T11%3A20%3A39.9949008Z'\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"}\r\n }\r\n ]\r\n}",
- "ResponseHeaders": {
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Mar 2018 07:49:29 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Transfer-Encoding": [
- "chunked"
- ],
- "ETag": [
- "\"0a00bcf7-0000-0000-0000-5aa23c880000\""
- ],
- "Server": [
- "Microsoft-IIS/10.0"
- ],
- "Vary": [
- "Accept-Encoding"
- ],
- "x-ms-request-id": [
- "4697a59a-84eb-4e5c-967e-085b2a555af8"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-AspNet-Version": [
- "4.0.30319"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14953"
- ],
- "x-ms-correlation-request-id": [
- "122819a6-98f9-4c61-b68c-c06a134c084f"
- ],
- "x-ms-routing-request-id": [
- "JAPANWEST:20180309T074930Z:122819a6-98f9-4c61-b68c-c06a134c084f"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ]
- },
- "StatusCode": 200
+ "Variables": {
+ "SubscriptionId": "cc148bf2-42fb-4913-a3fb-2f284a69eb89"
}
- ],
- "Names": {
- "CreateResourceGroup": [
- "res7089"
- ],
- "CreateHealthcareApisAccount": [
- "hca1234",
- "hca1235"
- ]
- },
- "Variables": {
- "SubscriptionId": "cc148bf2-42fb-4913-a3fb-2f284a69eb89"
- }
-}
+}
\ No newline at end of file