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 810198cb5de2..d7b6ab48b9a1 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 cd1799395bcf..5353386a44df 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 2c212bec22ab..2ed80818e6e8 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 000000000000..30b5e3d497fa
--- /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 000000000000..8a8b6e885b1c
--- /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 000000000000..545ac8aaf937
--- /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 8a5978b870df..393aa3e78b40 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 000000000000..dccc2e618d58
--- /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 9b390417a9ff..adfb2fa67645 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 32517b0b0ee3..3733f8fee347 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 000000000000..ce78e3b7379b
--- /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 f9e7ede63d27..db0b1a36ae78 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 fcdc25e837f0..de90a7843380 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 86f84eeb29de..068c57db7cdd 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 c73da1e3a23e..6a4a6e977c9e 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 ff1141c40624..4f4d3e8ae623 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,24 +19,13 @@ 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 GithubForkName = "Azure";
- public static readonly String GithubBranchName = "master";
- public static readonly String GithubCommidId = "3faca877220bd1d20af91576946e3e6c5819ce96";
- public static readonly String CodeGenerationErrors = "";
- public static readonly String GithubRepoName = "azure-rest-api-specs";
- // END: Code Generation Metadata Section
}
}
-