From c59471d0803e9fbcbbf856d2b6d33eda0e11dbca Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 8 Apr 2024 07:07:19 +0000 Subject: [PATCH] CodeGen from PR 3265 in test-repo-billy/azure-rest-api-specs Merge 4af7c0ca9d212d86b98eeb1e0c061ad711223281 into eb5d86ef25799428905881b2a0b2b3656430d734 --- ...ceManager.HealthcareApis.netstandard2.0.cs | 93 +++---- .../Samples/Sample_DicomServiceCollection.cs | 11 +- .../Samples/Sample_DicomServiceResource.cs | 6 +- .../Samples/Sample_FhirServiceCollection.cs | 10 +- .../Samples/Sample_FhirServiceResource.cs | 6 +- ...le_HealthcareApisIotConnectorCollection.cs | 10 +- ...mple_HealthcareApisIotConnectorResource.cs | 6 +- ...lthcareApisIotFhirDestinationCollection.cs | 10 +- ...ealthcareApisIotFhirDestinationResource.cs | 6 +- .../Sample_HealthcareApisServiceCollection.cs | 229 +----------------- ...vicePrivateEndpointConnectionCollection.cs | 10 +- ...ervicePrivateEndpointConnectionResource.cs | 6 +- ...ealthcareApisServicePrivateLinkResource.cs | 2 +- ...pisServicePrivateLinkResourceCollection.cs | 8 +- .../Sample_HealthcareApisServiceResource.cs | 12 +- ...ample_HealthcareApisWorkspaceCollection.cs | 10 +- ...pacePrivateEndpointConnectionCollection.cs | 10 +- ...kspacePrivateEndpointConnectionResource.cs | 6 +- ...lthcareApisWorkspacePrivateLinkResource.cs | 2 +- ...sWorkspacePrivateLinkResourceCollection.cs | 8 +- .../Sample_HealthcareApisWorkspaceResource.cs | 8 +- .../ArmHealthcareApisModelFactory.cs | 88 ++++++- .../src/Generated/DicomServiceCollection.cs | 20 +- .../DicomServiceData.Serialization.cs | 16 -- .../src/Generated/DicomServiceData.cs | 6 +- .../src/Generated/DicomServiceResource.cs | 24 +- .../Extensions/HealthcareApisExtensions.cs | 20 +- ...ableHealthcareApisResourceGroupResource.cs | 8 +- ...kableHealthcareApisSubscriptionResource.cs | 12 +- .../src/Generated/FhirServiceCollection.cs | 20 +- .../src/Generated/FhirServiceResource.cs | 24 +- .../HealthcareApisIotConnectorCollection.cs | 20 +- .../HealthcareApisIotConnectorResource.cs | 28 +-- ...lthcareApisIotFhirDestinationCollection.cs | 20 +- ...ealthcareApisIotFhirDestinationResource.cs | 12 +- .../HealthcareApisServiceCollection.cs | 114 +-------- ...HealthcareApisServiceData.Serialization.cs | 64 ++--- .../Generated/HealthcareApisServiceData.cs | 28 ++- ...vicePrivateEndpointConnectionCollection.cs | 20 +- ...ervicePrivateEndpointConnectionResource.cs | 12 +- ...ealthcareApisServicePrivateLinkResource.cs | 4 +- ...pisServicePrivateLinkResourceCollection.cs | 16 +- .../HealthcareApisServiceResource.cs | 32 +-- .../HealthcareApisWorkspaceCollection.cs | 20 +- ...pacePrivateEndpointConnectionCollection.cs | 20 +- ...kspacePrivateEndpointConnectionResource.cs | 12 +- ...lthcareApisWorkspacePrivateLinkResource.cs | 4 +- ...sWorkspacePrivateLinkResourceCollection.cs | 16 +- .../HealthcareApisWorkspaceResource.cs | 44 ++-- .../HealthcareApisServiceAccessPolicyEntry.cs | 4 +- ...isServiceAcrConfiguration.Serialization.cs | 4 +- .../HealthcareApisServiceAcrConfiguration.cs | 8 +- ...eApisServiceAuthenticationConfiguration.cs | 8 +- ...sServiceCorsConfiguration.Serialization.cs | 6 +- .../HealthcareApisServiceCorsConfiguration.cs | 14 +- ...lthcareApisServiceCosmosDbConfiguration.cs | 8 +- ...ealthcareApisServiceImportConfiguration.cs | 8 +- ...careApisServiceProperties.Serialization.cs | 4 +- .../Models/HealthcareApisServiceProperties.cs | 30 +-- .../Models/ServiceExportConfigurationInfo.cs | 4 +- .../DicomServicesRestOperations.cs | 2 +- .../FhirDestinationsRestOperations.cs | 2 +- .../FhirServicesRestOperations.cs | 2 +- ...tConnectorFhirDestinationRestOperations.cs | 2 +- .../IotConnectorsRestOperations.cs | 2 +- ...rivateEndpointConnectionsRestOperations.cs | 2 +- .../PrivateLinkResourcesRestOperations.cs | 2 +- .../RestOperations/ServicesRestOperations.cs | 80 +----- ...rivateEndpointConnectionsRestOperations.cs | 2 +- ...spacePrivateLinkResourcesRestOperations.cs | 2 +- .../WorkspacesRestOperations.cs | 2 +- .../src/autorest.md | 2 +- 72 files changed, 529 insertions(+), 864 deletions(-) diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/api/Azure.ResourceManager.HealthcareApis.netstandard2.0.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/api/Azure.ResourceManager.HealthcareApis.netstandard2.0.cs index ef9d1f2a18b5..0776702ed3f0 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/api/Azure.ResourceManager.HealthcareApis.netstandard2.0.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/api/Azure.ResourceManager.HealthcareApis.netstandard2.0.cs @@ -25,7 +25,6 @@ public DicomServiceData(Azure.Core.AzureLocation location) { } public Azure.ETag? ETag { get { throw null; } set { } } public Azure.ResourceManager.HealthcareApis.Models.FhirServiceEventState? EventState { get { throw null; } } public Azure.ResourceManager.Models.ManagedServiceIdentity Identity { get { throw null; } set { } } - public bool? IsDataPartitionsEnabled { get { throw null; } set { } } public System.Uri KeyEncryptionKeyUri { get { throw null; } set { } } public System.Collections.Generic.IReadOnlyList PrivateEndpointConnections { get { throw null; } } public Azure.ResourceManager.HealthcareApis.Models.HealthcareApisProvisioningState? ProvisioningState { get { throw null; } } @@ -273,8 +272,6 @@ public HealthcareApisPrivateLinkResourceData() { } public partial class HealthcareApisServiceCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { protected HealthcareApisServiceCollection() { } - public virtual Azure.ResourceManager.ArmOperation CreateOrUpdate(Azure.WaitUntil waitUntil, string resourceName, Azure.ResourceManager.HealthcareApis.HealthcareApisServiceData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(Azure.WaitUntil waitUntil, string resourceName, Azure.ResourceManager.HealthcareApis.HealthcareApisServiceData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Exists(string resourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> ExistsAsync(string resourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Get(string resourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -287,13 +284,15 @@ protected HealthcareApisServiceCollection() { } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } } - public partial class HealthcareApisServiceData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + public partial class HealthcareApisServiceData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { - public HealthcareApisServiceData(Azure.Core.AzureLocation location, Azure.ResourceManager.HealthcareApis.Models.HealthcareApisKind kind) { } - public Azure.ETag? ETag { get { throw null; } set { } } - public Azure.ResourceManager.Models.ManagedServiceIdentity Identity { get { throw null; } set { } } - public Azure.ResourceManager.HealthcareApis.Models.HealthcareApisKind Kind { get { throw null; } set { } } - public Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceProperties Properties { get { throw null; } set { } } + internal HealthcareApisServiceData() { } + public Azure.ETag? ETag { get { throw null; } } + public Azure.ResourceManager.Models.ManagedServiceIdentity Identity { get { throw null; } } + public Azure.ResourceManager.HealthcareApis.Models.HealthcareApisKind Kind { get { throw null; } } + public Azure.Core.AzureLocation Location { get { throw null; } } + public Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceProperties Properties { get { throw null; } } + public System.Collections.Generic.IReadOnlyDictionary Tags { get { throw null; } } Azure.ResourceManager.HealthcareApis.HealthcareApisServiceData System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } Azure.ResourceManager.HealthcareApis.HealthcareApisServiceData System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } @@ -546,7 +545,7 @@ public static partial class ArmHealthcareApisModelFactory public static Azure.ResourceManager.HealthcareApis.Models.DicomServiceAuthenticationConfiguration DicomServiceAuthenticationConfiguration(string authority = null, System.Collections.Generic.IEnumerable audiences = null) { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public static Azure.ResourceManager.HealthcareApis.DicomServiceData DicomServiceData(Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData, System.Collections.Generic.IDictionary tags, Azure.Core.AzureLocation location, Azure.ResourceManager.HealthcareApis.Models.HealthcareApisProvisioningState? provisioningState, Azure.ResourceManager.HealthcareApis.Models.DicomServiceAuthenticationConfiguration authenticationConfiguration, Azure.ResourceManager.HealthcareApis.Models.DicomServiceCorsConfiguration corsConfiguration, System.Uri serviceUri, System.Collections.Generic.IEnumerable privateEndpointConnections, Azure.ResourceManager.HealthcareApis.Models.HealthcareApisPublicNetworkAccess? publicNetworkAccess, Azure.ResourceManager.Models.ManagedServiceIdentity identity, Azure.ETag? etag) { throw null; } - public static Azure.ResourceManager.HealthcareApis.DicomServiceData DicomServiceData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), Azure.ResourceManager.HealthcareApis.Models.HealthcareApisProvisioningState? provisioningState = default(Azure.ResourceManager.HealthcareApis.Models.HealthcareApisProvisioningState?), Azure.ResourceManager.HealthcareApis.Models.DicomServiceAuthenticationConfiguration authenticationConfiguration = null, Azure.ResourceManager.HealthcareApis.Models.DicomServiceCorsConfiguration corsConfiguration = null, System.Uri serviceUri = null, System.Collections.Generic.IEnumerable privateEndpointConnections = null, Azure.ResourceManager.HealthcareApis.Models.HealthcareApisPublicNetworkAccess? publicNetworkAccess = default(Azure.ResourceManager.HealthcareApis.Models.HealthcareApisPublicNetworkAccess?), Azure.ResourceManager.HealthcareApis.Models.FhirServiceEventState? eventState = default(Azure.ResourceManager.HealthcareApis.Models.FhirServiceEventState?), System.Uri keyEncryptionKeyUri = null, Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceStorageConfiguration storageConfiguration = null, bool? isDataPartitionsEnabled = default(bool?), Azure.ResourceManager.Models.ManagedServiceIdentity identity = null, Azure.ETag? etag = default(Azure.ETag?)) { throw null; } + public static Azure.ResourceManager.HealthcareApis.DicomServiceData DicomServiceData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), Azure.ResourceManager.HealthcareApis.Models.HealthcareApisProvisioningState? provisioningState = default(Azure.ResourceManager.HealthcareApis.Models.HealthcareApisProvisioningState?), Azure.ResourceManager.HealthcareApis.Models.DicomServiceAuthenticationConfiguration authenticationConfiguration = null, Azure.ResourceManager.HealthcareApis.Models.DicomServiceCorsConfiguration corsConfiguration = null, System.Uri serviceUri = null, System.Collections.Generic.IEnumerable privateEndpointConnections = null, Azure.ResourceManager.HealthcareApis.Models.HealthcareApisPublicNetworkAccess? publicNetworkAccess = default(Azure.ResourceManager.HealthcareApis.Models.HealthcareApisPublicNetworkAccess?), Azure.ResourceManager.HealthcareApis.Models.FhirServiceEventState? eventState = default(Azure.ResourceManager.HealthcareApis.Models.FhirServiceEventState?), System.Uri keyEncryptionKeyUri = null, Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceStorageConfiguration storageConfiguration = null, Azure.ResourceManager.Models.ManagedServiceIdentity identity = null, Azure.ETag? etag = default(Azure.ETag?)) { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public static Azure.ResourceManager.HealthcareApis.DicomServiceData DicomServiceData(Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData, System.Collections.Generic.IDictionary tags, Azure.Core.AzureLocation location, Azure.ResourceManager.HealthcareApis.Models.HealthcareApisProvisioningState? provisioningState, Azure.ResourceManager.HealthcareApis.Models.DicomServiceAuthenticationConfiguration authenticationConfiguration, Azure.ResourceManager.HealthcareApis.Models.DicomServiceCorsConfiguration corsConfiguration, System.Uri serviceUri, System.Collections.Generic.IEnumerable privateEndpointConnections, Azure.ResourceManager.HealthcareApis.Models.HealthcareApisPublicNetworkAccess? publicNetworkAccess, Azure.ResourceManager.HealthcareApis.Models.FhirServiceEventState? eventState, System.Uri keyEncryptionKeyUri, Azure.ResourceManager.Models.ManagedServiceIdentity identity, Azure.ETag? etag) { throw null; } public static Azure.ResourceManager.HealthcareApis.FhirServiceData FhirServiceData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), Azure.ResourceManager.HealthcareApis.Models.FhirServiceKind? kind = default(Azure.ResourceManager.HealthcareApis.Models.FhirServiceKind?), Azure.ResourceManager.HealthcareApis.Models.HealthcareApisProvisioningState? provisioningState = default(Azure.ResourceManager.HealthcareApis.Models.HealthcareApisProvisioningState?), Azure.ResourceManager.HealthcareApis.Models.FhirServiceAcrConfiguration acrConfiguration = null, Azure.ResourceManager.HealthcareApis.Models.FhirServiceAuthenticationConfiguration authenticationConfiguration = null, Azure.ResourceManager.HealthcareApis.Models.FhirServiceCorsConfiguration corsConfiguration = null, string exportStorageAccountName = null, System.Collections.Generic.IEnumerable privateEndpointConnections = null, Azure.ResourceManager.HealthcareApis.Models.HealthcareApisPublicNetworkAccess? publicNetworkAccess = default(Azure.ResourceManager.HealthcareApis.Models.HealthcareApisPublicNetworkAccess?), Azure.ResourceManager.HealthcareApis.Models.FhirServiceEventState? eventState = default(Azure.ResourceManager.HealthcareApis.Models.FhirServiceEventState?), Azure.ResourceManager.HealthcareApis.Models.FhirServiceResourceVersionPolicyConfiguration resourceVersionPolicyConfiguration = null, Azure.ResourceManager.HealthcareApis.Models.FhirServiceImportConfiguration importConfiguration = null, bool? isUsCoreMissingDataEnabled = default(bool?), System.Uri keyEncryptionKeyUri = null, Azure.ResourceManager.Models.ManagedServiceIdentity identity = null, Azure.ETag? etag = default(Azure.ETag?)) { throw null; } @@ -557,7 +556,13 @@ public static partial class ArmHealthcareApisModelFactory public static Azure.ResourceManager.HealthcareApis.Models.HealthcareApisNameAvailabilityResult HealthcareApisNameAvailabilityResult(bool? isNameAvailable = default(bool?), Azure.ResourceManager.HealthcareApis.Models.HealthcareApisNameUnavailableReason? reason = default(Azure.ResourceManager.HealthcareApis.Models.HealthcareApisNameUnavailableReason?), string message = null) { throw null; } public static Azure.ResourceManager.HealthcareApis.HealthcareApisPrivateEndpointConnectionData HealthcareApisPrivateEndpointConnectionData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.Core.ResourceIdentifier privateEndpointId = null, Azure.ResourceManager.HealthcareApis.Models.HealthcareApisPrivateLinkServiceConnectionState connectionState = null, Azure.ResourceManager.HealthcareApis.Models.HealthcareApisPrivateEndpointConnectionProvisioningState? provisioningState = default(Azure.ResourceManager.HealthcareApis.Models.HealthcareApisPrivateEndpointConnectionProvisioningState?)) { throw null; } public static Azure.ResourceManager.HealthcareApis.HealthcareApisPrivateLinkResourceData HealthcareApisPrivateLinkResourceData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, string groupId = null, System.Collections.Generic.IEnumerable requiredMembers = null, System.Collections.Generic.IEnumerable requiredZoneNames = null) { throw null; } - public static Azure.ResourceManager.HealthcareApis.HealthcareApisServiceData HealthcareApisServiceData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceProperties properties = null, Azure.ResourceManager.HealthcareApis.Models.HealthcareApisKind kind = Azure.ResourceManager.HealthcareApis.Models.HealthcareApisKind.Fhir, Azure.ETag? etag = default(Azure.ETag?), Azure.ResourceManager.Models.ManagedServiceIdentity identity = null) { throw null; } + public static Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceAccessPolicyEntry HealthcareApisServiceAccessPolicyEntry(string objectId = null) { throw null; } + public static Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceAcrConfiguration HealthcareApisServiceAcrConfiguration(System.Collections.Generic.IEnumerable loginServers = null, System.Collections.Generic.IEnumerable ociArtifacts = null) { throw null; } + public static Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceAuthenticationConfiguration HealthcareApisServiceAuthenticationConfiguration(string authority = null, string audience = null, bool? isSmartProxyEnabled = default(bool?)) { throw null; } + public static Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceCorsConfiguration HealthcareApisServiceCorsConfiguration(System.Collections.Generic.IEnumerable origins = null, System.Collections.Generic.IEnumerable headers = null, System.Collections.Generic.IEnumerable methods = null, int? maxAge = default(int?), bool? allowCredentials = default(bool?)) { throw null; } + public static Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceCosmosDbConfiguration HealthcareApisServiceCosmosDbConfiguration(int? offerThroughput = default(int?), System.Uri keyVaultKeyUri = null, System.Guid? crossTenantCmkApplicationId = default(System.Guid?)) { throw null; } + public static Azure.ResourceManager.HealthcareApis.HealthcareApisServiceData HealthcareApisServiceData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceProperties properties = null, Azure.ResourceManager.HealthcareApis.Models.HealthcareApisKind kind = Azure.ResourceManager.HealthcareApis.Models.HealthcareApisKind.Fhir, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), System.Collections.Generic.IReadOnlyDictionary tags = null, Azure.ETag? etag = default(Azure.ETag?), Azure.ResourceManager.Models.ManagedServiceIdentity identity = null) { throw null; } + public static Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceImportConfiguration HealthcareApisServiceImportConfiguration(string integrationDataStore = null, bool? isInitialImportMode = default(bool?), bool? isEnabled = default(bool?)) { throw null; } public static Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceProperties HealthcareApisServiceProperties(Azure.ResourceManager.HealthcareApis.Models.HealthcareApisProvisioningState? provisioningState = default(Azure.ResourceManager.HealthcareApis.Models.HealthcareApisProvisioningState?), System.Collections.Generic.IEnumerable accessPolicies = null, Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceCosmosDbConfiguration cosmosDbConfiguration = null, Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceAuthenticationConfiguration authenticationConfiguration = null, Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceCorsConfiguration corsConfiguration = null, string exportStorageAccountName = null, System.Collections.Generic.IEnumerable privateEndpointConnections = null, Azure.ResourceManager.HealthcareApis.Models.HealthcareApisPublicNetworkAccess? publicNetworkAccess = default(Azure.ResourceManager.HealthcareApis.Models.HealthcareApisPublicNetworkAccess?), Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceAcrConfiguration acrConfiguration = null, Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceImportConfiguration importConfiguration = null) { throw null; } public static Azure.ResourceManager.HealthcareApis.HealthcareApisWorkspaceData HealthcareApisWorkspaceData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), Azure.ResourceManager.HealthcareApis.Models.HealthcareApisWorkspaceProperties properties = null, Azure.ETag? etag = default(Azure.ETag?)) { throw null; } public static Azure.ResourceManager.HealthcareApis.Models.HealthcareApisWorkspaceProperties HealthcareApisWorkspaceProperties(Azure.ResourceManager.HealthcareApis.Models.HealthcareApisProvisioningState? provisioningState = default(Azure.ResourceManager.HealthcareApis.Models.HealthcareApisProvisioningState?), System.Collections.Generic.IEnumerable privateEndpointConnections = null, Azure.ResourceManager.HealthcareApis.Models.HealthcareApisPublicNetworkAccess? publicNetworkAccess = default(Azure.ResourceManager.HealthcareApis.Models.HealthcareApisPublicNetworkAccess?)) { throw null; } @@ -930,8 +935,8 @@ public HealthcareApisResourceTags() { } } public partial class HealthcareApisServiceAccessPolicyEntry : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { - public HealthcareApisServiceAccessPolicyEntry(string objectId) { } - public string ObjectId { get { throw null; } set { } } + internal HealthcareApisServiceAccessPolicyEntry() { } + public string ObjectId { get { throw null; } } Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceAccessPolicyEntry System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceAccessPolicyEntry System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } @@ -940,9 +945,9 @@ public HealthcareApisServiceAccessPolicyEntry(string objectId) { } } public partial class HealthcareApisServiceAcrConfiguration : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { - public HealthcareApisServiceAcrConfiguration() { } - public System.Collections.Generic.IList LoginServers { get { throw null; } } - public System.Collections.Generic.IList OciArtifacts { get { throw null; } } + internal HealthcareApisServiceAcrConfiguration() { } + public System.Collections.Generic.IReadOnlyList LoginServers { get { throw null; } } + public System.Collections.Generic.IReadOnlyList OciArtifacts { get { throw null; } } Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceAcrConfiguration System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceAcrConfiguration System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } @@ -951,10 +956,10 @@ public HealthcareApisServiceAcrConfiguration() { } } public partial class HealthcareApisServiceAuthenticationConfiguration : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { - public HealthcareApisServiceAuthenticationConfiguration() { } - public string Audience { get { throw null; } set { } } - public string Authority { get { throw null; } set { } } - public bool? IsSmartProxyEnabled { get { throw null; } set { } } + internal HealthcareApisServiceAuthenticationConfiguration() { } + public string Audience { get { throw null; } } + public string Authority { get { throw null; } } + public bool? IsSmartProxyEnabled { get { throw null; } } Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceAuthenticationConfiguration System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceAuthenticationConfiguration System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } @@ -963,12 +968,12 @@ public HealthcareApisServiceAuthenticationConfiguration() { } } public partial class HealthcareApisServiceCorsConfiguration : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { - public HealthcareApisServiceCorsConfiguration() { } - public bool? AllowCredentials { get { throw null; } set { } } - public System.Collections.Generic.IList Headers { get { throw null; } } - public int? MaxAge { get { throw null; } set { } } - public System.Collections.Generic.IList Methods { get { throw null; } } - public System.Collections.Generic.IList Origins { get { throw null; } } + internal HealthcareApisServiceCorsConfiguration() { } + public bool? AllowCredentials { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Headers { get { throw null; } } + public int? MaxAge { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Methods { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Origins { get { throw null; } } Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceCorsConfiguration System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceCorsConfiguration System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } @@ -977,10 +982,10 @@ public HealthcareApisServiceCorsConfiguration() { } } public partial class HealthcareApisServiceCosmosDbConfiguration : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { - public HealthcareApisServiceCosmosDbConfiguration() { } - public System.Guid? CrossTenantCmkApplicationId { get { throw null; } set { } } - public System.Uri KeyVaultKeyUri { get { throw null; } set { } } - public int? OfferThroughput { get { throw null; } set { } } + internal HealthcareApisServiceCosmosDbConfiguration() { } + public System.Guid? CrossTenantCmkApplicationId { get { throw null; } } + public System.Uri KeyVaultKeyUri { get { throw null; } } + public int? OfferThroughput { get { throw null; } } Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceCosmosDbConfiguration System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceCosmosDbConfiguration System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } @@ -989,10 +994,10 @@ public HealthcareApisServiceCosmosDbConfiguration() { } } public partial class HealthcareApisServiceImportConfiguration : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { - public HealthcareApisServiceImportConfiguration() { } - public string IntegrationDataStore { get { throw null; } set { } } - public bool? IsEnabled { get { throw null; } set { } } - public bool? IsInitialImportMode { get { throw null; } set { } } + internal HealthcareApisServiceImportConfiguration() { } + public string IntegrationDataStore { get { throw null; } } + public bool? IsEnabled { get { throw null; } } + public bool? IsInitialImportMode { get { throw null; } } Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceImportConfiguration System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceImportConfiguration System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } @@ -1024,17 +1029,17 @@ public HealthcareApisServicePatch() { } } public partial class HealthcareApisServiceProperties : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { - public HealthcareApisServiceProperties() { } - public System.Collections.Generic.IList AccessPolicies { get { throw null; } } - public Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceAcrConfiguration AcrConfiguration { get { throw null; } set { } } - public Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceAuthenticationConfiguration AuthenticationConfiguration { get { throw null; } set { } } - public Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceCorsConfiguration CorsConfiguration { get { throw null; } set { } } - public Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceCosmosDbConfiguration CosmosDbConfiguration { get { throw null; } set { } } - public string ExportStorageAccountName { get { throw null; } set { } } - public Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceImportConfiguration ImportConfiguration { get { throw null; } set { } } - public System.Collections.Generic.IList PrivateEndpointConnections { get { throw null; } } + internal HealthcareApisServiceProperties() { } + public System.Collections.Generic.IReadOnlyList AccessPolicies { get { throw null; } } + public Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceAcrConfiguration AcrConfiguration { get { throw null; } } + public Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceAuthenticationConfiguration AuthenticationConfiguration { get { throw null; } } + public Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceCorsConfiguration CorsConfiguration { get { throw null; } } + public Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceCosmosDbConfiguration CosmosDbConfiguration { get { throw null; } } + public string ExportStorageAccountName { get { throw null; } } + public Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceImportConfiguration ImportConfiguration { get { throw null; } } + public System.Collections.Generic.IReadOnlyList PrivateEndpointConnections { get { throw null; } } public Azure.ResourceManager.HealthcareApis.Models.HealthcareApisProvisioningState? ProvisioningState { get { throw null; } } - public Azure.ResourceManager.HealthcareApis.Models.HealthcareApisPublicNetworkAccess? PublicNetworkAccess { get { throw null; } set { } } + public Azure.ResourceManager.HealthcareApis.Models.HealthcareApisPublicNetworkAccess? PublicNetworkAccess { get { throw null; } } Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceProperties System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } Azure.ResourceManager.HealthcareApis.Models.HealthcareApisServiceProperties System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_DicomServiceCollection.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_DicomServiceCollection.cs index 4fe2a41194b1..3cb5228e2521 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_DicomServiceCollection.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_DicomServiceCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_DicomServiceCollection [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAll_ListDicomservices() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/dicomservices/DicomServices_List.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/dicomservices/DicomServices_List.json // this example is just showing the usage of "DicomServices_ListByWorkspace" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -57,7 +57,7 @@ public async Task GetAll_ListDicomservices() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetADicomservice() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/dicomservices/DicomServices_Get.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/dicomservices/DicomServices_Get.json // this example is just showing the usage of "DicomServices_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -92,7 +92,7 @@ public async Task Get_GetADicomservice() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_GetADicomservice() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/dicomservices/DicomServices_Get.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/dicomservices/DicomServices_Get.json // this example is just showing the usage of "DicomServices_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -123,7 +123,7 @@ public async Task Exists_GetADicomservice() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_GetADicomservice() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/dicomservices/DicomServices_Get.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/dicomservices/DicomServices_Get.json // this example is just showing the usage of "DicomServices_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -166,7 +166,7 @@ public async Task GetIfExists_GetADicomservice() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task CreateOrUpdate_CreateOrUpdateADicomService() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/dicomservices/DicomServices_Create.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/dicomservices/DicomServices_Create.json // this example is just showing the usage of "DicomServices_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -194,7 +194,6 @@ public async Task CreateOrUpdate_CreateOrUpdateADicomService() StorageResourceId = new ResourceIdentifier("/subscriptions/ab309d4e-4c2e-4241-be2e-08e1c8dd4246/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/accountname"), FileSystemName = "fileSystemName", }, - IsDataPartitionsEnabled = false, }; ArmOperation lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, dicomServiceName, data); DicomServiceResource result = lro.Value; diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_DicomServiceResource.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_DicomServiceResource.cs index 4bb47f58f9c0..96782fb8af0c 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_DicomServiceResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_DicomServiceResource.cs @@ -20,7 +20,7 @@ public partial class Sample_DicomServiceResource [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetADicomservice() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/dicomservices/DicomServices_Get.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/dicomservices/DicomServices_Get.json // this example is just showing the usage of "DicomServices_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -52,7 +52,7 @@ public async Task Get_GetADicomservice() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Update_UpdateADicomservice() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/dicomservices/DicomServices_Patch.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/dicomservices/DicomServices_Patch.json // this example is just showing the usage of "DicomServices_Update" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -92,7 +92,7 @@ public async Task Update_UpdateADicomservice() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Delete_DeleteADicomservice() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/dicomservices/DicomServices_Delete.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/dicomservices/DicomServices_Delete.json // this example is just showing the usage of "DicomServices_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_FhirServiceCollection.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_FhirServiceCollection.cs index 7c1a16ed0e4f..f63269ee5886 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_FhirServiceCollection.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_FhirServiceCollection.cs @@ -21,7 +21,7 @@ public partial class Sample_FhirServiceCollection [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAll_ListFhirservices() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/fhirservices/FhirServices_List.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/fhirservices/FhirServices_List.json // this example is just showing the usage of "FhirServices_ListByWorkspace" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -58,7 +58,7 @@ public async Task GetAll_ListFhirservices() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetAFhirService() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/fhirservices/FhirServices_Get.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/fhirservices/FhirServices_Get.json // this example is just showing the usage of "FhirServices_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -93,7 +93,7 @@ public async Task Get_GetAFhirService() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_GetAFhirService() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/fhirservices/FhirServices_Get.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/fhirservices/FhirServices_Get.json // this example is just showing the usage of "FhirServices_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -124,7 +124,7 @@ public async Task Exists_GetAFhirService() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_GetAFhirService() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/fhirservices/FhirServices_Get.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/fhirservices/FhirServices_Get.json // this example is just showing the usage of "FhirServices_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -167,7 +167,7 @@ public async Task GetIfExists_GetAFhirService() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task CreateOrUpdate_CreateOrUpdateAFhirService() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/fhirservices/FhirServices_Create.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/fhirservices/FhirServices_Create.json // this example is just showing the usage of "FhirServices_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_FhirServiceResource.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_FhirServiceResource.cs index 4eae56ebc2f1..a23b571e53c7 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_FhirServiceResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_FhirServiceResource.cs @@ -20,7 +20,7 @@ public partial class Sample_FhirServiceResource [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetAFhirService() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/fhirservices/FhirServices_Get.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/fhirservices/FhirServices_Get.json // this example is just showing the usage of "FhirServices_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -52,7 +52,7 @@ public async Task Get_GetAFhirService() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Update_UpdateAFhirService() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/fhirservices/FhirServices_Patch.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/fhirservices/FhirServices_Patch.json // this example is just showing the usage of "FhirServices_Update" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -92,7 +92,7 @@ public async Task Update_UpdateAFhirService() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Delete_DeleteAFhirService() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/fhirservices/FhirServices_Delete.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/fhirservices/FhirServices_Delete.json // this example is just showing the usage of "FhirServices_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisIotConnectorCollection.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisIotConnectorCollection.cs index 71e013c1a3ce..e69f5120a7a8 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisIotConnectorCollection.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisIotConnectorCollection.cs @@ -22,7 +22,7 @@ public partial class Sample_HealthcareApisIotConnectorCollection [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAll_ListIotconnectors() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_List.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/iotconnectors/iotconnector_List.json // this example is just showing the usage of "IotConnectors_ListByWorkspace" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -59,7 +59,7 @@ public async Task GetAll_ListIotconnectors() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetAnIoTConnector() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_Get.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/iotconnectors/iotconnector_Get.json // this example is just showing the usage of "IotConnectors_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -94,7 +94,7 @@ public async Task Get_GetAnIoTConnector() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_GetAnIoTConnector() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_Get.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/iotconnectors/iotconnector_Get.json // this example is just showing the usage of "IotConnectors_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -125,7 +125,7 @@ public async Task Exists_GetAnIoTConnector() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_GetAnIoTConnector() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_Get.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/iotconnectors/iotconnector_Get.json // this example is just showing the usage of "IotConnectors_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -168,7 +168,7 @@ public async Task GetIfExists_GetAnIoTConnector() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task CreateOrUpdate_CreateAnIoTConnector() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_Create.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/iotconnectors/iotconnector_Create.json // this example is just showing the usage of "IotConnectors_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisIotConnectorResource.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisIotConnectorResource.cs index eeb730593e66..7fc765b572c6 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisIotConnectorResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisIotConnectorResource.cs @@ -21,7 +21,7 @@ public partial class Sample_HealthcareApisIotConnectorResource [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetAnIoTConnector() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_Get.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/iotconnectors/iotconnector_Get.json // this example is just showing the usage of "IotConnectors_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -53,7 +53,7 @@ public async Task Get_GetAnIoTConnector() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Update_PatchAnIoTConnector() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_Patch.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/iotconnectors/iotconnector_Patch.json // this example is just showing the usage of "IotConnectors_Update" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -96,7 +96,7 @@ public async Task Update_PatchAnIoTConnector() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Delete_DeleteAnIoTConnector() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_Delete.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/iotconnectors/iotconnector_Delete.json // this example is just showing the usage of "IotConnectors_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisIotFhirDestinationCollection.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisIotFhirDestinationCollection.cs index 96b8e4051ccd..5ed7921d42d4 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisIotFhirDestinationCollection.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisIotFhirDestinationCollection.cs @@ -21,7 +21,7 @@ public partial class Sample_HealthcareApisIotFhirDestinationCollection [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAll_ListIoTConnectors() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_fhirdestination_List.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/iotconnectors/iotconnector_fhirdestination_List.json // this example is just showing the usage of "FhirDestinations_ListByIotConnector" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -59,7 +59,7 @@ public async Task GetAll_ListIoTConnectors() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetAnIoTConnectorDestination() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_fhirdestination_Get.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/iotconnectors/iotconnector_fhirdestination_Get.json // this example is just showing the usage of "IotConnectorFhirDestination_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -95,7 +95,7 @@ public async Task Get_GetAnIoTConnectorDestination() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_GetAnIoTConnectorDestination() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_fhirdestination_Get.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/iotconnectors/iotconnector_fhirdestination_Get.json // this example is just showing the usage of "IotConnectorFhirDestination_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -127,7 +127,7 @@ public async Task Exists_GetAnIoTConnectorDestination() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_GetAnIoTConnectorDestination() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_fhirdestination_Get.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/iotconnectors/iotconnector_fhirdestination_Get.json // this example is just showing the usage of "IotConnectorFhirDestination_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -171,7 +171,7 @@ public async Task GetIfExists_GetAnIoTConnectorDestination() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task CreateOrUpdate_CreateOrUpdateAnIotConnectorFHIRDestination() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_fhirdestination_Create.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/iotconnectors/iotconnector_fhirdestination_Create.json // this example is just showing the usage of "IotConnectorFhirDestination_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisIotFhirDestinationResource.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisIotFhirDestinationResource.cs index e18b49ccd374..3ca93108b28f 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisIotFhirDestinationResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisIotFhirDestinationResource.cs @@ -21,7 +21,7 @@ public partial class Sample_HealthcareApisIotFhirDestinationResource [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetAnIoTConnectorDestination() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_fhirdestination_Get.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/iotconnectors/iotconnector_fhirdestination_Get.json // this example is just showing the usage of "IotConnectorFhirDestination_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -54,7 +54,7 @@ public async Task Get_GetAnIoTConnectorDestination() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Update_CreateOrUpdateAnIotConnectorFHIRDestination() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_fhirdestination_Create.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/iotconnectors/iotconnector_fhirdestination_Create.json // this example is just showing the usage of "IotConnectorFhirDestination_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -116,7 +116,7 @@ public async Task Update_CreateOrUpdateAnIotConnectorFHIRDestination() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Delete_DeleteAnIoTConnectorDestination() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_fhirdestination_Delete.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/iotconnectors/iotconnector_fhirdestination_Delete.json // this example is just showing the usage of "IotConnectorFhirDestination_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServiceCollection.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServiceCollection.cs index b93df6472527..5ff32ad47b4e 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServiceCollection.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServiceCollection.cs @@ -9,8 +9,6 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; -using Azure.ResourceManager.HealthcareApis.Models; -using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; namespace Azure.ResourceManager.HealthcareApis.Samples @@ -22,7 +20,7 @@ public partial class Sample_HealthcareApisServiceCollection [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetMetadata() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceGet.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/legacy/ServiceGet.json // this example is just showing the usage of "Services_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -56,7 +54,7 @@ public async Task Get_GetMetadata() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_GetMetadata() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceGet.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/legacy/ServiceGet.json // this example is just showing the usage of "Services_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -86,7 +84,7 @@ public async Task Exists_GetMetadata() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_GetMetadata() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceGet.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/legacy/ServiceGet.json // this example is just showing the usage of "Services_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -128,7 +126,7 @@ public async Task GetIfExists_GetMetadata() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetMetadataForCMKEnabledServiceInDataSovereignRegion() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceGetInDataSovereignRegionWithCmkEnabled.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/legacy/ServiceGetInDataSovereignRegionWithCmkEnabled.json // this example is just showing the usage of "Services_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -162,7 +160,7 @@ public async Task Get_GetMetadataForCMKEnabledServiceInDataSovereignRegion() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_GetMetadataForCMKEnabledServiceInDataSovereignRegion() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceGetInDataSovereignRegionWithCmkEnabled.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/legacy/ServiceGetInDataSovereignRegionWithCmkEnabled.json // this example is just showing the usage of "Services_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -192,7 +190,7 @@ public async Task Exists_GetMetadataForCMKEnabledServiceInDataSovereignRegion() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_GetMetadataForCMKEnabledServiceInDataSovereignRegion() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceGetInDataSovereignRegionWithCmkEnabled.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/legacy/ServiceGetInDataSovereignRegionWithCmkEnabled.json // this example is just showing the usage of "Services_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -229,225 +227,12 @@ public async Task GetIfExists_GetMetadataForCMKEnabledServiceInDataSovereignRegi } } - // Create or Update a service with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] - public async Task CreateOrUpdate_CreateOrUpdateAServiceWithAllParameters() - { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceCreate.json - // this example is just showing the usage of "Services_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. - - // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line - TokenCredential cred = new DefaultAzureCredential(); - // authenticate your client - ArmClient client = new ArmClient(cred); - - // this example assumes you already have this ResourceGroupResource created on azure - // for more information of creating ResourceGroupResource, please refer to the document of ResourceGroupResource - string subscriptionId = "subid"; - string resourceGroupName = "rg1"; - ResourceIdentifier resourceGroupResourceId = ResourceGroupResource.CreateResourceIdentifier(subscriptionId, resourceGroupName); - ResourceGroupResource resourceGroupResource = client.GetResourceGroupResource(resourceGroupResourceId); - - // get the collection of this HealthcareApisServiceResource - HealthcareApisServiceCollection collection = resourceGroupResource.GetHealthcareApisServices(); - - // invoke the operation - string resourceName = "service1"; - HealthcareApisServiceData data = new HealthcareApisServiceData(new AzureLocation("westus2"), HealthcareApisKind.FhirR4) - { - Properties = new HealthcareApisServiceProperties() - { - AccessPolicies = -{ -new HealthcareApisServiceAccessPolicyEntry("c487e7d1-3210-41a3-8ccc-e9372b78da47"),new HealthcareApisServiceAccessPolicyEntry("5b307da8-43d4-492b-8b66-b0294ade872f") -}, - CosmosDbConfiguration = new HealthcareApisServiceCosmosDbConfiguration() - { - OfferThroughput = 1000, - KeyVaultKeyUri = new Uri("https://my-vault.vault.azure.net/keys/my-key"), - }, - AuthenticationConfiguration = new HealthcareApisServiceAuthenticationConfiguration() - { - Authority = "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc", - Audience = "https://azurehealthcareapis.com", - IsSmartProxyEnabled = true, - }, - CorsConfiguration = new HealthcareApisServiceCorsConfiguration() - { - Origins = -{ -"*" -}, - Headers = -{ -"*" -}, - Methods = -{ -"DELETE","GET","OPTIONS","PATCH","POST","PUT" -}, - MaxAge = 1440, - AllowCredentials = false, - }, - ExportStorageAccountName = "existingStorageAccount", - PrivateEndpointConnections = -{ -}, - PublicNetworkAccess = HealthcareApisPublicNetworkAccess.Disabled, - }, - Identity = new ManagedServiceIdentity("SystemAssigned"), - Tags = -{ -}, - }; - ArmOperation lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, resourceName, data); - HealthcareApisServiceResource result = lro.Value; - - // the variable result is a resource, you could call other operations on this instance as well - // but just for demo, we get its data from this resource instance - HealthcareApisServiceData resourceData = result.Data; - // for demo we just print out the id - Console.WriteLine($"Succeeded on id: {resourceData.Id}"); - } - - // Create or Update a service with all parameters and CMK enabled in a data sovereign region - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] - public async Task CreateOrUpdate_CreateOrUpdateAServiceWithAllParametersAndCMKEnabledInADataSovereignRegion() - { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceCreateInDataSovereignRegionWithCmkEnabled.json - // this example is just showing the usage of "Services_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. - - // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line - TokenCredential cred = new DefaultAzureCredential(); - // authenticate your client - ArmClient client = new ArmClient(cred); - - // this example assumes you already have this ResourceGroupResource created on azure - // for more information of creating ResourceGroupResource, please refer to the document of ResourceGroupResource - string subscriptionId = "subid"; - string resourceGroupName = "rg1"; - ResourceIdentifier resourceGroupResourceId = ResourceGroupResource.CreateResourceIdentifier(subscriptionId, resourceGroupName); - ResourceGroupResource resourceGroupResource = client.GetResourceGroupResource(resourceGroupResourceId); - - // get the collection of this HealthcareApisServiceResource - HealthcareApisServiceCollection collection = resourceGroupResource.GetHealthcareApisServices(); - - // invoke the operation - string resourceName = "service1"; - HealthcareApisServiceData data = new HealthcareApisServiceData(new AzureLocation("Southeast Asia"), HealthcareApisKind.FhirR4) - { - Properties = new HealthcareApisServiceProperties() - { - AccessPolicies = -{ -new HealthcareApisServiceAccessPolicyEntry("c487e7d1-3210-41a3-8ccc-e9372b78da47"),new HealthcareApisServiceAccessPolicyEntry("5b307da8-43d4-492b-8b66-b0294ade872f") -}, - CosmosDbConfiguration = new HealthcareApisServiceCosmosDbConfiguration() - { - OfferThroughput = 1000, - KeyVaultKeyUri = new Uri("https://my-vault.vault.azure.net/keys/my-key"), - CrossTenantCmkApplicationId = Guid.Parse("de3fbeef-8c3a-428e-8b9f-4d229c8a85f4"), - }, - AuthenticationConfiguration = new HealthcareApisServiceAuthenticationConfiguration() - { - Authority = "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc", - Audience = "https://azurehealthcareapis.com", - IsSmartProxyEnabled = true, - }, - CorsConfiguration = new HealthcareApisServiceCorsConfiguration() - { - Origins = -{ -"*" -}, - Headers = -{ -"*" -}, - Methods = -{ -"DELETE","GET","OPTIONS","PATCH","POST","PUT" -}, - MaxAge = 1440, - AllowCredentials = false, - }, - ExportStorageAccountName = "existingStorageAccount", - PrivateEndpointConnections = -{ -}, - PublicNetworkAccess = HealthcareApisPublicNetworkAccess.Disabled, - }, - Identity = new ManagedServiceIdentity("SystemAssigned"), - Tags = -{ -}, - }; - ArmOperation lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, resourceName, data); - HealthcareApisServiceResource result = lro.Value; - - // the variable result is a resource, you could call other operations on this instance as well - // but just for demo, we get its data from this resource instance - HealthcareApisServiceData resourceData = result.Data; - // for demo we just print out the id - Console.WriteLine($"Succeeded on id: {resourceData.Id}"); - } - - // Create or Update a service with minimum parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] - public async Task CreateOrUpdate_CreateOrUpdateAServiceWithMinimumParameters() - { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceCreateMinimum.json - // this example is just showing the usage of "Services_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. - - // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line - TokenCredential cred = new DefaultAzureCredential(); - // authenticate your client - ArmClient client = new ArmClient(cred); - - // this example assumes you already have this ResourceGroupResource created on azure - // for more information of creating ResourceGroupResource, please refer to the document of ResourceGroupResource - string subscriptionId = "subid"; - string resourceGroupName = "rg1"; - ResourceIdentifier resourceGroupResourceId = ResourceGroupResource.CreateResourceIdentifier(subscriptionId, resourceGroupName); - ResourceGroupResource resourceGroupResource = client.GetResourceGroupResource(resourceGroupResourceId); - - // get the collection of this HealthcareApisServiceResource - HealthcareApisServiceCollection collection = resourceGroupResource.GetHealthcareApisServices(); - - // invoke the operation - string resourceName = "service2"; - HealthcareApisServiceData data = new HealthcareApisServiceData(new AzureLocation("westus2"), HealthcareApisKind.FhirR4) - { - Properties = new HealthcareApisServiceProperties() - { - AccessPolicies = -{ -new HealthcareApisServiceAccessPolicyEntry("c487e7d1-3210-41a3-8ccc-e9372b78da47") -}, - }, - Tags = -{ -}, - }; - ArmOperation lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, resourceName, data); - HealthcareApisServiceResource result = lro.Value; - - // the variable result is a resource, you could call other operations on this instance as well - // but just for demo, we get its data from this resource instance - HealthcareApisServiceData resourceData = result.Data; - // for demo we just print out the id - Console.WriteLine($"Succeeded on id: {resourceData.Id}"); - } - // List all services in resource group [NUnit.Framework.Test] [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAll_ListAllServicesInResourceGroup() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceListByResourceGroup.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/legacy/ServiceListByResourceGroup.json // this example is just showing the usage of "Services_ListByResourceGroup" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServicePrivateEndpointConnectionCollection.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServicePrivateEndpointConnectionCollection.cs index 03f8cba9c8a7..ed6cd8a8437e 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServicePrivateEndpointConnectionCollection.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServicePrivateEndpointConnectionCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_HealthcareApisServicePrivateEndpointConnectionCollec [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAll_PrivateEndpointConnectionList() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceListPrivateEndpointConnections.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/legacy/ServiceListPrivateEndpointConnections.json // this example is just showing the usage of "PrivateEndpointConnections_ListByService" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -57,7 +57,7 @@ public async Task GetAll_PrivateEndpointConnectionList() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_PrivateEndpointConnectionGetConnection() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceGetPrivateEndpointConnection.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/legacy/ServiceGetPrivateEndpointConnection.json // this example is just showing the usage of "PrivateEndpointConnections_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -92,7 +92,7 @@ public async Task Get_PrivateEndpointConnectionGetConnection() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_PrivateEndpointConnectionGetConnection() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceGetPrivateEndpointConnection.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/legacy/ServiceGetPrivateEndpointConnection.json // this example is just showing the usage of "PrivateEndpointConnections_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -123,7 +123,7 @@ public async Task Exists_PrivateEndpointConnectionGetConnection() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_PrivateEndpointConnectionGetConnection() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceGetPrivateEndpointConnection.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/legacy/ServiceGetPrivateEndpointConnection.json // this example is just showing the usage of "PrivateEndpointConnections_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -166,7 +166,7 @@ public async Task GetIfExists_PrivateEndpointConnectionGetConnection() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task CreateOrUpdate_PrivateEndpointConnectionCreateOrUpdate() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceCreatePrivateEndpointConnection.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/legacy/ServiceCreatePrivateEndpointConnection.json // this example is just showing the usage of "PrivateEndpointConnections_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServicePrivateEndpointConnectionResource.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServicePrivateEndpointConnectionResource.cs index eaa6bc08ca4a..96f4300717a0 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServicePrivateEndpointConnectionResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServicePrivateEndpointConnectionResource.cs @@ -20,7 +20,7 @@ public partial class Sample_HealthcareApisServicePrivateEndpointConnectionResour [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_PrivateEndpointConnectionGetConnection() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceGetPrivateEndpointConnection.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/legacy/ServiceGetPrivateEndpointConnection.json // this example is just showing the usage of "PrivateEndpointConnections_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -52,7 +52,7 @@ public async Task Get_PrivateEndpointConnectionGetConnection() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Update_PrivateEndpointConnectionCreateOrUpdate() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceCreatePrivateEndpointConnection.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/legacy/ServiceCreatePrivateEndpointConnection.json // this example is just showing the usage of "PrivateEndpointConnections_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -93,7 +93,7 @@ public async Task Update_PrivateEndpointConnectionCreateOrUpdate() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Delete_PrivateEndpointConnectionsDelete() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceDeletePrivateEndpointConnection.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/legacy/ServiceDeletePrivateEndpointConnection.json // this example is just showing the usage of "PrivateEndpointConnections_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServicePrivateLinkResource.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServicePrivateLinkResource.cs index 3351834eaa11..de6098e6559b 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServicePrivateLinkResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServicePrivateLinkResource.cs @@ -19,7 +19,7 @@ public partial class Sample_HealthcareApisServicePrivateLinkResource [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_PrivateLinkResourcesGet() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/PrivateLinkResourceGet.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/legacy/PrivateLinkResourceGet.json // this example is just showing the usage of "PrivateLinkResources_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServicePrivateLinkResourceCollection.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServicePrivateLinkResourceCollection.cs index 17aa061cc4b0..162134303219 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServicePrivateLinkResourceCollection.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServicePrivateLinkResourceCollection.cs @@ -19,7 +19,7 @@ public partial class Sample_HealthcareApisServicePrivateLinkResourceCollection [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAll_PrivateLinkResourcesListGroupIds() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/PrivateLinkResourcesListByService.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/legacy/PrivateLinkResourcesListByService.json // this example is just showing the usage of "PrivateLinkResources_ListByService" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -56,7 +56,7 @@ public async Task GetAll_PrivateLinkResourcesListGroupIds() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_PrivateLinkResourcesGet() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/PrivateLinkResourceGet.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/legacy/PrivateLinkResourceGet.json // this example is just showing the usage of "PrivateLinkResources_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -91,7 +91,7 @@ public async Task Get_PrivateLinkResourcesGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_PrivateLinkResourcesGet() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/PrivateLinkResourceGet.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/legacy/PrivateLinkResourceGet.json // this example is just showing the usage of "PrivateLinkResources_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -122,7 +122,7 @@ public async Task Exists_PrivateLinkResourcesGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_PrivateLinkResourcesGet() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/PrivateLinkResourceGet.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/legacy/PrivateLinkResourceGet.json // this example is just showing the usage of "PrivateLinkResources_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServiceResource.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServiceResource.cs index cd86000dfab3..1eb40018e431 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServiceResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServiceResource.cs @@ -21,7 +21,7 @@ public partial class Sample_HealthcareApisServiceResource [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetMetadata() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceGet.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/legacy/ServiceGet.json // this example is just showing the usage of "Services_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -52,7 +52,7 @@ public async Task Get_GetMetadata() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetMetadataForCMKEnabledServiceInDataSovereignRegion() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceGetInDataSovereignRegionWithCmkEnabled.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/legacy/ServiceGetInDataSovereignRegionWithCmkEnabled.json // this example is just showing the usage of "Services_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -83,7 +83,7 @@ public async Task Get_GetMetadataForCMKEnabledServiceInDataSovereignRegion() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Update_PatchService() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServicePatch.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/legacy/ServicePatch.json // this example is just showing the usage of "Services_Update" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -123,7 +123,7 @@ public async Task Update_PatchService() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Delete_DeleteService() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceDelete.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/legacy/ServiceDelete.json // this example is just showing the usage of "Services_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -150,7 +150,7 @@ public async Task Delete_DeleteService() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetHealthcareApisServices_ListAllServicesInSubscription() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceList.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/legacy/ServiceList.json // this example is just showing the usage of "Services_List" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -182,7 +182,7 @@ public async Task GetHealthcareApisServices_ListAllServicesInSubscription() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task CheckHealthcareApisNameAvailability_CheckNameAvailability() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/CheckNameAvailabilityPost.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/CheckNameAvailabilityPost.json // this example is just showing the usage of "Services_CheckNameAvailability" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspaceCollection.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspaceCollection.cs index b66a30ac475f..fe119650d908 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspaceCollection.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspaceCollection.cs @@ -21,7 +21,7 @@ public partial class Sample_HealthcareApisWorkspaceCollection [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAll_GetWorkspacesByResourceGroup() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/workspaces/Workspaces_ListByResourceGroup.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/workspaces/Workspaces_ListByResourceGroup.json // this example is just showing the usage of "Workspaces_ListByResourceGroup" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -57,7 +57,7 @@ public async Task GetAll_GetWorkspacesByResourceGroup() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetWorkspace() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/workspaces/Workspaces_Get.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/workspaces/Workspaces_Get.json // this example is just showing the usage of "Workspaces_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -91,7 +91,7 @@ public async Task Get_GetWorkspace() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_GetWorkspace() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/workspaces/Workspaces_Get.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/workspaces/Workspaces_Get.json // this example is just showing the usage of "Workspaces_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -121,7 +121,7 @@ public async Task Exists_GetWorkspace() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_GetWorkspace() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/workspaces/Workspaces_Get.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/workspaces/Workspaces_Get.json // this example is just showing the usage of "Workspaces_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -163,7 +163,7 @@ public async Task GetIfExists_GetWorkspace() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task CreateOrUpdate_CreateOrUpdateAWorkspace() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/workspaces/Workspaces_Create.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/workspaces/Workspaces_Create.json // this example is just showing the usage of "Workspaces_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspacePrivateEndpointConnectionCollection.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspacePrivateEndpointConnectionCollection.cs index 23af97ed0c59..5972f48a7169 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspacePrivateEndpointConnectionCollection.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspacePrivateEndpointConnectionCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_HealthcareApisWorkspacePrivateEndpointConnectionColl [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAll_WorkspacePrivateEndpointConnectionList() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/privatelink/WorkspaceListPrivateEndpointConnections.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/privatelink/WorkspaceListPrivateEndpointConnections.json // this example is just showing the usage of "WorkspacePrivateEndpointConnections_ListByWorkspace" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -57,7 +57,7 @@ public async Task GetAll_WorkspacePrivateEndpointConnectionList() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_WorkspacePrivateEndpointConnectionGetConnection() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/privatelink/WorkspaceGetPrivateEndpointConnection.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/privatelink/WorkspaceGetPrivateEndpointConnection.json // this example is just showing the usage of "WorkspacePrivateEndpointConnections_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -92,7 +92,7 @@ public async Task Get_WorkspacePrivateEndpointConnectionGetConnection() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_WorkspacePrivateEndpointConnectionGetConnection() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/privatelink/WorkspaceGetPrivateEndpointConnection.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/privatelink/WorkspaceGetPrivateEndpointConnection.json // this example is just showing the usage of "WorkspacePrivateEndpointConnections_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -123,7 +123,7 @@ public async Task Exists_WorkspacePrivateEndpointConnectionGetConnection() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_WorkspacePrivateEndpointConnectionGetConnection() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/privatelink/WorkspaceGetPrivateEndpointConnection.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/privatelink/WorkspaceGetPrivateEndpointConnection.json // this example is just showing the usage of "WorkspacePrivateEndpointConnections_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -166,7 +166,7 @@ public async Task GetIfExists_WorkspacePrivateEndpointConnectionGetConnection() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task CreateOrUpdate_WorkspacePrivateEndpointConnectionCreateOrUpdate() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/privatelink/WorkspaceCreatePrivateEndpointConnection.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/privatelink/WorkspaceCreatePrivateEndpointConnection.json // this example is just showing the usage of "WorkspacePrivateEndpointConnections_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspacePrivateEndpointConnectionResource.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspacePrivateEndpointConnectionResource.cs index 09494883983a..b1e60c136097 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspacePrivateEndpointConnectionResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspacePrivateEndpointConnectionResource.cs @@ -20,7 +20,7 @@ public partial class Sample_HealthcareApisWorkspacePrivateEndpointConnectionReso [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_WorkspacePrivateEndpointConnectionGetConnection() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/privatelink/WorkspaceGetPrivateEndpointConnection.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/privatelink/WorkspaceGetPrivateEndpointConnection.json // this example is just showing the usage of "WorkspacePrivateEndpointConnections_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -52,7 +52,7 @@ public async Task Get_WorkspacePrivateEndpointConnectionGetConnection() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Update_WorkspacePrivateEndpointConnectionCreateOrUpdate() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/privatelink/WorkspaceCreatePrivateEndpointConnection.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/privatelink/WorkspaceCreatePrivateEndpointConnection.json // this example is just showing the usage of "WorkspacePrivateEndpointConnections_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -93,7 +93,7 @@ public async Task Update_WorkspacePrivateEndpointConnectionCreateOrUpdate() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Delete_WorkspacePrivateEndpointConnectionsDelete() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/privatelink/WorkspaceDeletePrivateEndpointConnection.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/privatelink/WorkspaceDeletePrivateEndpointConnection.json // this example is just showing the usage of "WorkspacePrivateEndpointConnections_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspacePrivateLinkResource.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspacePrivateLinkResource.cs index c52a1e5c6189..292f435a4930 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspacePrivateLinkResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspacePrivateLinkResource.cs @@ -19,7 +19,7 @@ public partial class Sample_HealthcareApisWorkspacePrivateLinkResource [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_WorkspacePrivateLinkResourcesGet() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/privatelink/WorkspacePrivateLinkResourceGet.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/privatelink/WorkspacePrivateLinkResourceGet.json // this example is just showing the usage of "WorkspacePrivateLinkResources_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspacePrivateLinkResourceCollection.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspacePrivateLinkResourceCollection.cs index dfc584b449cd..d8d7649203bc 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspacePrivateLinkResourceCollection.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspacePrivateLinkResourceCollection.cs @@ -19,7 +19,7 @@ public partial class Sample_HealthcareApisWorkspacePrivateLinkResourceCollection [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAll_WorkspacePrivateLinkResourcesListGroupIds() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/privatelink/PrivateLinkResourcesListByWorkspace.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/privatelink/PrivateLinkResourcesListByWorkspace.json // this example is just showing the usage of "WorkspacePrivateLinkResources_ListByWorkspace" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -56,7 +56,7 @@ public async Task GetAll_WorkspacePrivateLinkResourcesListGroupIds() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_WorkspacePrivateLinkResourcesGet() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/privatelink/WorkspacePrivateLinkResourceGet.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/privatelink/WorkspacePrivateLinkResourceGet.json // this example is just showing the usage of "WorkspacePrivateLinkResources_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -91,7 +91,7 @@ public async Task Get_WorkspacePrivateLinkResourcesGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_WorkspacePrivateLinkResourcesGet() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/privatelink/WorkspacePrivateLinkResourceGet.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/privatelink/WorkspacePrivateLinkResourceGet.json // this example is just showing the usage of "WorkspacePrivateLinkResources_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -122,7 +122,7 @@ public async Task Exists_WorkspacePrivateLinkResourcesGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_WorkspacePrivateLinkResourcesGet() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/privatelink/WorkspacePrivateLinkResourceGet.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/privatelink/WorkspacePrivateLinkResourceGet.json // this example is just showing the usage of "WorkspacePrivateLinkResources_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspaceResource.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspaceResource.cs index 3b7c26c3dae6..4c67189ef848 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspaceResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspaceResource.cs @@ -21,7 +21,7 @@ public partial class Sample_HealthcareApisWorkspaceResource [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetHealthcareApisWorkspaces_GetWorkspacesBySubscription() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/workspaces/Workspaces_ListBySubscription.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/workspaces/Workspaces_ListBySubscription.json // this example is just showing the usage of "Workspaces_ListBySubscription" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -53,7 +53,7 @@ public async Task GetHealthcareApisWorkspaces_GetWorkspacesBySubscription() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetWorkspace() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/workspaces/Workspaces_Get.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/workspaces/Workspaces_Get.json // this example is just showing the usage of "Workspaces_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -84,7 +84,7 @@ public async Task Get_GetWorkspace() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Update_UpdateAWorkspace() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/workspaces/Workspaces_Patch.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/workspaces/Workspaces_Patch.json // this example is just showing the usage of "Workspaces_Update" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -123,7 +123,7 @@ public async Task Update_UpdateAWorkspace() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Delete_DeleteAWorkspace() { - // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/workspaces/Workspaces_Delete.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-01/examples/workspaces/Workspaces_Delete.json // this example is just showing the usage of "Workspaces_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/ArmHealthcareApisModelFactory.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/ArmHealthcareApisModelFactory.cs index a606eb757a8f..3f46bc61959d 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/ArmHealthcareApisModelFactory.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/ArmHealthcareApisModelFactory.cs @@ -22,14 +22,14 @@ public static partial class ArmHealthcareApisModelFactory /// The name. /// The resourceType. /// The systemData. - /// The tags. - /// The location. /// The common properties of a service. /// The kind of the service. + /// The resource location. + /// The resource tags. /// An etag associated with the resource, used for optimistic concurrency when editing it. /// Setting indicating whether the service has a managed identity associated with it. Current supported identity types: SystemAssigned, None. /// A new instance for mocking. - public static HealthcareApisServiceData HealthcareApisServiceData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, HealthcareApisServiceProperties properties = null, HealthcareApisKind kind = default, ETag? etag = null, ManagedServiceIdentity identity = null) + public static HealthcareApisServiceData HealthcareApisServiceData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, HealthcareApisServiceProperties properties = null, HealthcareApisKind kind = default, AzureLocation location = default, IReadOnlyDictionary tags = null, ETag? etag = null, ManagedServiceIdentity identity = null) { tags ??= new Dictionary(); @@ -38,10 +38,10 @@ public static HealthcareApisServiceData HealthcareApisServiceData(ResourceIdenti name, resourceType, systemData, - tags, - location, properties, kind, + location, + tags, etag, identity, serializedAdditionalRawData: null); @@ -78,6 +78,56 @@ public static HealthcareApisServiceProperties HealthcareApisServiceProperties(He serializedAdditionalRawData: null); } + /// Initializes a new instance of . + /// An Azure AD object ID (User or Apps) that is allowed access to the FHIR service. + /// A new instance for mocking. + public static HealthcareApisServiceAccessPolicyEntry HealthcareApisServiceAccessPolicyEntry(string objectId = null) + { + return new HealthcareApisServiceAccessPolicyEntry(objectId, serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . + /// The provisioned throughput for the backing database. + /// The URI of the customer-managed key for the backing database. + /// The multi-tenant application id used to enable CMK access for services in a data sovereign region. + /// A new instance for mocking. + public static HealthcareApisServiceCosmosDbConfiguration HealthcareApisServiceCosmosDbConfiguration(int? offerThroughput = null, Uri keyVaultKeyUri = null, Guid? crossTenantCmkApplicationId = null) + { + return new HealthcareApisServiceCosmosDbConfiguration(offerThroughput, keyVaultKeyUri, crossTenantCmkApplicationId, serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . + /// The authority url for the service. + /// The audience url for the service. + /// If the SMART on FHIR proxy is enabled. + /// A new instance for mocking. + public static HealthcareApisServiceAuthenticationConfiguration HealthcareApisServiceAuthenticationConfiguration(string authority = null, string audience = null, bool? isSmartProxyEnabled = null) + { + return new HealthcareApisServiceAuthenticationConfiguration(authority, audience, isSmartProxyEnabled, serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . + /// The origins to be allowed via CORS. + /// The headers to be allowed via CORS. + /// The methods to be allowed via CORS. + /// The max age to be allowed via CORS. + /// If credentials are allowed via CORS. + /// A new instance for mocking. + public static HealthcareApisServiceCorsConfiguration HealthcareApisServiceCorsConfiguration(IEnumerable origins = null, IEnumerable headers = null, IEnumerable methods = null, int? maxAge = null, bool? allowCredentials = null) + { + origins ??= new List(); + headers ??= new List(); + methods ??= new List(); + + return new HealthcareApisServiceCorsConfiguration( + origins?.ToList(), + headers?.ToList(), + methods?.ToList(), + maxAge, + allowCredentials, + serializedAdditionalRawData: null); + } + /// Initializes a new instance of . /// The id. /// The name. @@ -100,6 +150,28 @@ public static HealthcareApisPrivateEndpointConnectionData HealthcareApisPrivateE serializedAdditionalRawData: null); } + /// Initializes a new instance of . + /// The list of the ACR login servers. + /// The list of Open Container Initiative (OCI) artifacts. + /// A new instance for mocking. + public static HealthcareApisServiceAcrConfiguration HealthcareApisServiceAcrConfiguration(IEnumerable loginServers = null, IEnumerable ociArtifacts = null) + { + loginServers ??= new List(); + ociArtifacts ??= new List(); + + return new HealthcareApisServiceAcrConfiguration(loginServers?.ToList(), ociArtifacts?.ToList(), serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . + /// The name of the default integration storage account. + /// If the FHIR service is in InitialImportMode. + /// If the import operation is enabled. + /// A new instance for mocking. + public static HealthcareApisServiceImportConfiguration HealthcareApisServiceImportConfiguration(string integrationDataStore = null, bool? isInitialImportMode = null, bool? isEnabled = null) + { + return new HealthcareApisServiceImportConfiguration(integrationDataStore, isInitialImportMode, isEnabled, serializedAdditionalRawData: null); + } + /// Initializes a new instance of . /// The value which indicates whether the provided name is available. /// The reason for unavailability. @@ -189,11 +261,10 @@ public static HealthcareApisWorkspaceProperties HealthcareApisWorkspacePropertie /// DICOM Service event support status. /// The encryption settings of the DICOM service. /// The configuration of external storage account. - /// If data partitions is enabled or not. /// Setting indicating whether the service has a managed identity associated with it. /// An etag associated with the resource, used for optimistic concurrency when editing it. /// A new instance for mocking. - public static DicomServiceData DicomServiceData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, HealthcareApisProvisioningState? provisioningState = null, DicomServiceAuthenticationConfiguration authenticationConfiguration = null, DicomServiceCorsConfiguration corsConfiguration = null, Uri serviceUri = null, IEnumerable privateEndpointConnections = null, HealthcareApisPublicNetworkAccess? publicNetworkAccess = null, FhirServiceEventState? eventState = null, Uri keyEncryptionKeyUri = null, HealthcareApisServiceStorageConfiguration storageConfiguration = null, bool? isDataPartitionsEnabled = null, ManagedServiceIdentity identity = null, ETag? etag = null) + public static DicomServiceData DicomServiceData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, HealthcareApisProvisioningState? provisioningState = null, DicomServiceAuthenticationConfiguration authenticationConfiguration = null, DicomServiceCorsConfiguration corsConfiguration = null, Uri serviceUri = null, IEnumerable privateEndpointConnections = null, HealthcareApisPublicNetworkAccess? publicNetworkAccess = null, FhirServiceEventState? eventState = null, Uri keyEncryptionKeyUri = null, HealthcareApisServiceStorageConfiguration storageConfiguration = null, ManagedServiceIdentity identity = null, ETag? etag = null) { tags ??= new Dictionary(); privateEndpointConnections ??= new List(); @@ -214,7 +285,6 @@ public static DicomServiceData DicomServiceData(ResourceIdentifier id = null, st eventState, keyEncryptionKeyUri != null ? new Encryption(new EncryptionCustomerManagedKeyEncryption(keyEncryptionKeyUri, serializedAdditionalRawData: null), serializedAdditionalRawData: null) : null, storageConfiguration, - isDataPartitionsEnabled, identity, etag, serializedAdditionalRawData: null); @@ -365,7 +435,7 @@ public static FhirServiceData FhirServiceData(ResourceIdentifier id = null, stri [EditorBrowsable(EditorBrowsableState.Never)] public static DicomServiceData DicomServiceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, HealthcareApisProvisioningState? provisioningState, DicomServiceAuthenticationConfiguration authenticationConfiguration, DicomServiceCorsConfiguration corsConfiguration, Uri serviceUri, IEnumerable privateEndpointConnections, HealthcareApisPublicNetworkAccess? publicNetworkAccess, FhirServiceEventState? eventState, Uri keyEncryptionKeyUri, ManagedServiceIdentity identity, ETag? etag) { - return DicomServiceData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, provisioningState: provisioningState, authenticationConfiguration: authenticationConfiguration, corsConfiguration: corsConfiguration, serviceUri: serviceUri, privateEndpointConnections: privateEndpointConnections, publicNetworkAccess: publicNetworkAccess, eventState: eventState, keyEncryptionKeyUri: keyEncryptionKeyUri, storageConfiguration: default, isDataPartitionsEnabled: default, identity: identity, etag: etag); + return DicomServiceData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, provisioningState: provisioningState, authenticationConfiguration: authenticationConfiguration, corsConfiguration: corsConfiguration, serviceUri: serviceUri, privateEndpointConnections: privateEndpointConnections, publicNetworkAccess: publicNetworkAccess, eventState: eventState, keyEncryptionKeyUri: keyEncryptionKeyUri, storageConfiguration: default, identity: identity, etag: etag); } } } diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/DicomServiceCollection.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/DicomServiceCollection.cs index a9991d82200f..e68f10e4e7c5 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/DicomServiceCollection.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/DicomServiceCollection.cs @@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -113,7 +113,7 @@ public virtual async Task> CreateOrUpdateAsyn /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -162,7 +162,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUntil waitU /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -207,7 +207,7 @@ public virtual async Task> GetAsync(string dicomS /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -252,7 +252,7 @@ public virtual Response Get(string dicomServiceName, Cance /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -282,7 +282,7 @@ public virtual AsyncPageable GetAllAsync(CancellationToken /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -312,7 +312,7 @@ public virtual Pageable GetAll(CancellationToken cancellat /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -355,7 +355,7 @@ public virtual async Task> ExistsAsync(string dicomServiceName, C /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -398,7 +398,7 @@ public virtual Response Exists(string dicomServiceName, CancellationToken /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -443,7 +443,7 @@ public virtual async Task> GetIfExistsAsy /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/DicomServiceData.Serialization.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/DicomServiceData.Serialization.cs index aac4826f0bd8..2f76158e65d1 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/DicomServiceData.Serialization.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/DicomServiceData.Serialization.cs @@ -124,11 +124,6 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriter writer.WritePropertyName("storageConfiguration"u8); writer.WriteObjectValue(StorageConfiguration, options); } - if (Optional.IsDefined(IsDataPartitionsEnabled)) - { - writer.WritePropertyName("enableDataPartitions"u8); - writer.WriteBooleanValue(IsDataPartitionsEnabled.Value); - } writer.WriteEndObject(); if (options.Format != "W" && _serializedAdditionalRawData != null) { @@ -185,7 +180,6 @@ internal static DicomServiceData DeserializeDicomServiceData(JsonElement element FhirServiceEventState? eventState = default; Encryption encryption = default; HealthcareApisServiceStorageConfiguration storageConfiguration = default; - bool? enableDataPartitions = default; IDictionary serializedAdditionalRawData = default; Dictionary rawDataDictionary = new Dictionary(); foreach (var property in element.EnumerateObject()) @@ -347,15 +341,6 @@ internal static DicomServiceData DeserializeDicomServiceData(JsonElement element storageConfiguration = HealthcareApisServiceStorageConfiguration.DeserializeHealthcareApisServiceStorageConfiguration(property0.Value, options); continue; } - if (property0.NameEquals("enableDataPartitions"u8)) - { - if (property0.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - enableDataPartitions = property0.Value.GetBoolean(); - continue; - } } continue; } @@ -381,7 +366,6 @@ internal static DicomServiceData DeserializeDicomServiceData(JsonElement element eventState, encryption, storageConfiguration, - enableDataPartitions, identity, etag, serializedAdditionalRawData); diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/DicomServiceData.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/DicomServiceData.cs index 95451feb03d0..9f5d2c277d94 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/DicomServiceData.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/DicomServiceData.cs @@ -74,11 +74,10 @@ public DicomServiceData(AzureLocation location) : base(location) /// DICOM Service event support status. /// The encryption settings of the DICOM service. /// The configuration of external storage account. - /// If data partitions is enabled or not. /// Setting indicating whether the service has a managed identity associated with it. /// An etag associated with the resource, used for optimistic concurrency when editing it. /// Keeps track of any properties unknown to the library. - internal DicomServiceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, HealthcareApisProvisioningState? provisioningState, DicomServiceAuthenticationConfiguration authenticationConfiguration, DicomServiceCorsConfiguration corsConfiguration, Uri serviceUri, IReadOnlyList privateEndpointConnections, HealthcareApisPublicNetworkAccess? publicNetworkAccess, FhirServiceEventState? eventState, Encryption encryption, HealthcareApisServiceStorageConfiguration storageConfiguration, bool? isDataPartitionsEnabled, ManagedServiceIdentity identity, ETag? etag, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData, tags, location) + internal DicomServiceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, HealthcareApisProvisioningState? provisioningState, DicomServiceAuthenticationConfiguration authenticationConfiguration, DicomServiceCorsConfiguration corsConfiguration, Uri serviceUri, IReadOnlyList privateEndpointConnections, HealthcareApisPublicNetworkAccess? publicNetworkAccess, FhirServiceEventState? eventState, Encryption encryption, HealthcareApisServiceStorageConfiguration storageConfiguration, ManagedServiceIdentity identity, ETag? etag, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData, tags, location) { ProvisioningState = provisioningState; AuthenticationConfiguration = authenticationConfiguration; @@ -89,7 +88,6 @@ internal DicomServiceData(ResourceIdentifier id, string name, ResourceType resou EventState = eventState; Encryption = encryption; StorageConfiguration = storageConfiguration; - IsDataPartitionsEnabled = isDataPartitionsEnabled; Identity = identity; ETag = etag; _serializedAdditionalRawData = serializedAdditionalRawData; @@ -130,8 +128,6 @@ public Uri KeyEncryptionKeyUri /// The configuration of external storage account. public HealthcareApisServiceStorageConfiguration StorageConfiguration { get; set; } - /// If data partitions is enabled or not. - public bool? IsDataPartitionsEnabled { get; set; } /// Setting indicating whether the service has a managed identity associated with it. public ManagedServiceIdentity Identity { get; set; } /// An etag associated with the resource, used for optimistic concurrency when editing it. diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/DicomServiceResource.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/DicomServiceResource.cs index a586164b290e..703b848906bd 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/DicomServiceResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/DicomServiceResource.cs @@ -103,7 +103,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -143,7 +143,7 @@ public virtual async Task> GetAsync(CancellationT /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -183,7 +183,7 @@ public virtual Response Get(CancellationToken cancellation /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -225,7 +225,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -267,7 +267,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -313,7 +313,7 @@ public virtual async Task> UpdateAsync(WaitUn /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -359,7 +359,7 @@ public virtual ArmOperation Update(WaitUntil waitUntil, Di /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -421,7 +421,7 @@ public virtual async Task> AddTagAsync(string key /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -483,7 +483,7 @@ public virtual Response AddTag(string key, string value, C /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -540,7 +540,7 @@ public virtual async Task> SetTagsAsync(IDictiona /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -597,7 +597,7 @@ public virtual Response SetTags(IDictionary /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -657,7 +657,7 @@ public virtual async Task> RemoveTagAsync(string /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Extensions/HealthcareApisExtensions.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Extensions/HealthcareApisExtensions.cs index 36ff395e5b7c..8a3dd13efec5 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Extensions/HealthcareApisExtensions.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Extensions/HealthcareApisExtensions.cs @@ -253,7 +253,7 @@ public static HealthcareApisServiceCollection GetHealthcareApisServices(this Res /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -291,7 +291,7 @@ public static async Task> GetHealthcareA /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -346,7 +346,7 @@ public static HealthcareApisWorkspaceCollection GetHealthcareApisWorkspaces(this /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -384,7 +384,7 @@ public static async Task> GetHealthcar /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -422,7 +422,7 @@ public static Response GetHealthcareApisWorkspa /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -458,7 +458,7 @@ public static AsyncPageable GetHealthcareApisServ /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -494,7 +494,7 @@ public static Pageable GetHealthcareApisServices( /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -530,7 +530,7 @@ public static async Task> CheckHe /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -566,7 +566,7 @@ public static Response CheckHealthcareApis /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -602,7 +602,7 @@ public static AsyncPageable GetHealthcareApisWo /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Extensions/MockableHealthcareApisResourceGroupResource.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Extensions/MockableHealthcareApisResourceGroupResource.cs index 677cf24e01cb..74d100fc6ffb 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Extensions/MockableHealthcareApisResourceGroupResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Extensions/MockableHealthcareApisResourceGroupResource.cs @@ -53,7 +53,7 @@ public virtual HealthcareApisServiceCollection GetHealthcareApisServices() /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -84,7 +84,7 @@ public virtual async Task> GetHealthcare /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -122,7 +122,7 @@ public virtual HealthcareApisWorkspaceCollection GetHealthcareApisWorkspaces() /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -153,7 +153,7 @@ public virtual async Task> GetHealthca /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Extensions/MockableHealthcareApisSubscriptionResource.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Extensions/MockableHealthcareApisSubscriptionResource.cs index bcafc6ebc9fa..3580adcf375e 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Extensions/MockableHealthcareApisSubscriptionResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Extensions/MockableHealthcareApisSubscriptionResource.cs @@ -59,7 +59,7 @@ private string GetApiVersionOrNull(ResourceType resourceType) /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -89,7 +89,7 @@ public virtual AsyncPageable GetHealthcareApisSer /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -119,7 +119,7 @@ public virtual Pageable GetHealthcareApisServices /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -161,7 +161,7 @@ public virtual async Task> CheckH /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -203,7 +203,7 @@ public virtual Response CheckHealthcareApi /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -233,7 +233,7 @@ public virtual AsyncPageable GetHealthcareApisW /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/FhirServiceCollection.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/FhirServiceCollection.cs index 2350959bfd70..97ea682e90aa 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/FhirServiceCollection.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/FhirServiceCollection.cs @@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -113,7 +113,7 @@ public virtual async Task> CreateOrUpdateAsync /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -162,7 +162,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUntil waitUn /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -207,7 +207,7 @@ public virtual async Task> GetAsync(string fhirSer /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -252,7 +252,7 @@ public virtual Response Get(string fhirServiceName, Cancell /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -282,7 +282,7 @@ public virtual AsyncPageable GetAllAsync(CancellationToken /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -312,7 +312,7 @@ public virtual Pageable GetAll(CancellationToken cancellati /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -355,7 +355,7 @@ public virtual async Task> ExistsAsync(string fhirServiceName, Ca /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -398,7 +398,7 @@ public virtual Response Exists(string fhirServiceName, CancellationToken c /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -443,7 +443,7 @@ public virtual async Task> GetIfExistsAsyn /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/FhirServiceResource.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/FhirServiceResource.cs index 1b8f318d16c1..58bf1e68db38 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/FhirServiceResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/FhirServiceResource.cs @@ -103,7 +103,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -143,7 +143,7 @@ public virtual async Task> GetAsync(CancellationTo /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -183,7 +183,7 @@ public virtual Response Get(CancellationToken cancellationT /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -225,7 +225,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -267,7 +267,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -313,7 +313,7 @@ public virtual async Task> UpdateAsync(WaitUnt /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -359,7 +359,7 @@ public virtual ArmOperation Update(WaitUntil waitUntil, Fhi /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -421,7 +421,7 @@ public virtual async Task> AddTagAsync(string key, /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -483,7 +483,7 @@ public virtual Response AddTag(string key, string value, Ca /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -540,7 +540,7 @@ public virtual async Task> SetTagsAsync(IDictionar /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -597,7 +597,7 @@ public virtual Response SetTags(IDictionary /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -657,7 +657,7 @@ public virtual async Task> RemoveTagAsync(string k /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisIotConnectorCollection.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisIotConnectorCollection.cs index fa3c9cc92791..2dbcbc83aebd 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisIotConnectorCollection.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisIotConnectorCollection.cs @@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -113,7 +113,7 @@ public virtual async Task> Crea /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -162,7 +162,7 @@ public virtual ArmOperation CreateOrUpdate(W /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -207,7 +207,7 @@ public virtual async Task> GetAsync /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -252,7 +252,7 @@ public virtual Response Get(string iotConnec /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -282,7 +282,7 @@ public virtual AsyncPageable GetAllAsync(Can /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -312,7 +312,7 @@ public virtual Pageable GetAll(CancellationT /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -355,7 +355,7 @@ public virtual async Task> ExistsAsync(string iotConnectorName, C /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -398,7 +398,7 @@ public virtual Response Exists(string iotConnectorName, CancellationToken /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -443,7 +443,7 @@ public virtual async Task> /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisIotConnectorResource.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisIotConnectorResource.cs index b82ee8dd820e..1c62f1400202 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisIotConnectorResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisIotConnectorResource.cs @@ -110,7 +110,7 @@ public virtual HealthcareApisIotFhirDestinationCollection GetHealthcareApisIotFh /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -141,7 +141,7 @@ public virtual async Task> Ge /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -172,7 +172,7 @@ public virtual Response GetHealthcareA /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -212,7 +212,7 @@ public virtual async Task> GetAsync /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -252,7 +252,7 @@ public virtual Response Get(CancellationToke /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -294,7 +294,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -336,7 +336,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -382,7 +382,7 @@ public virtual async Task> Upda /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -428,7 +428,7 @@ public virtual ArmOperation Update(WaitUntil /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -490,7 +490,7 @@ public virtual async Task> AddTagAs /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -552,7 +552,7 @@ public virtual Response AddTag(string key, s /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -609,7 +609,7 @@ public virtual async Task> SetTagsA /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -666,7 +666,7 @@ public virtual Response SetTags(IDictionary< /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -726,7 +726,7 @@ public virtual async Task> RemoveTa /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisIotFhirDestinationCollection.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisIotFhirDestinationCollection.cs index 0f3994feafe5..2da5cdb5c571 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisIotFhirDestinationCollection.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisIotFhirDestinationCollection.cs @@ -69,7 +69,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -118,7 +118,7 @@ public virtual async Task /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -167,7 +167,7 @@ public virtual ArmOperation CreateOrUp /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -212,7 +212,7 @@ public virtual async Task> Ge /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -257,7 +257,7 @@ public virtual Response Get(string fhi /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -287,7 +287,7 @@ public virtual AsyncPageable GetAllAsy /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -317,7 +317,7 @@ public virtual Pageable GetAll(Cancell /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -360,7 +360,7 @@ public virtual async Task> ExistsAsync(string fhirDestinationName /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -403,7 +403,7 @@ public virtual Response Exists(string fhirDestinationName, CancellationTok /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -448,7 +448,7 @@ public virtual async Task /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisIotFhirDestinationResource.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisIotFhirDestinationResource.cs index 2704ec5c1b30..d0e4984a3e07 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisIotFhirDestinationResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisIotFhirDestinationResource.cs @@ -102,7 +102,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -142,7 +142,7 @@ public virtual async Task> Ge /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -182,7 +182,7 @@ public virtual Response Get(Cancellati /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -224,7 +224,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -266,7 +266,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -312,7 +312,7 @@ public virtual async Task /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServiceCollection.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServiceCollection.cs index 695a795ba560..e65aeb5680fa 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServiceCollection.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServiceCollection.cs @@ -52,104 +52,6 @@ internal static void ValidateResourceId(ResourceIdentifier id) throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, "Invalid resource type {0} expected {1}", id.ResourceType, ResourceGroupResource.ResourceType), nameof(id)); } - /// - /// Create or update the metadata of a service instance. - /// - /// - /// Request Path - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName} - /// - /// - /// Operation Id - /// Services_CreateOrUpdate - /// - /// - /// Default Api Version - /// 2024-03-31 - /// - /// - /// Resource - /// - /// - /// - /// - /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. - /// The name of the service instance. - /// The service instance metadata. - /// The cancellation token to use. - /// is an empty string, and was expected to be non-empty. - /// or is null. - public virtual async Task> CreateOrUpdateAsync(WaitUntil waitUntil, string resourceName, HealthcareApisServiceData data, CancellationToken cancellationToken = default) - { - Argument.AssertNotNullOrEmpty(resourceName, nameof(resourceName)); - Argument.AssertNotNull(data, nameof(data)); - - using var scope = _healthcareApisServiceServicesClientDiagnostics.CreateScope("HealthcareApisServiceCollection.CreateOrUpdate"); - scope.Start(); - try - { - var response = await _healthcareApisServiceServicesRestClient.CreateOrUpdateAsync(Id.SubscriptionId, Id.ResourceGroupName, resourceName, data, cancellationToken).ConfigureAwait(false); - var operation = new HealthcareApisArmOperation(new HealthcareApisServiceOperationSource(Client), _healthcareApisServiceServicesClientDiagnostics, Pipeline, _healthcareApisServiceServicesRestClient.CreateCreateOrUpdateRequest(Id.SubscriptionId, Id.ResourceGroupName, resourceName, data).Request, response, OperationFinalStateVia.Location); - if (waitUntil == WaitUntil.Completed) - await operation.WaitForCompletionAsync(cancellationToken).ConfigureAwait(false); - return operation; - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - /// Create or update the metadata of a service instance. - /// - /// - /// Request Path - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName} - /// - /// - /// Operation Id - /// Services_CreateOrUpdate - /// - /// - /// Default Api Version - /// 2024-03-31 - /// - /// - /// Resource - /// - /// - /// - /// - /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. - /// The name of the service instance. - /// The service instance metadata. - /// The cancellation token to use. - /// is an empty string, and was expected to be non-empty. - /// or is null. - public virtual ArmOperation CreateOrUpdate(WaitUntil waitUntil, string resourceName, HealthcareApisServiceData data, CancellationToken cancellationToken = default) - { - Argument.AssertNotNullOrEmpty(resourceName, nameof(resourceName)); - Argument.AssertNotNull(data, nameof(data)); - - using var scope = _healthcareApisServiceServicesClientDiagnostics.CreateScope("HealthcareApisServiceCollection.CreateOrUpdate"); - scope.Start(); - try - { - var response = _healthcareApisServiceServicesRestClient.CreateOrUpdate(Id.SubscriptionId, Id.ResourceGroupName, resourceName, data, cancellationToken); - var operation = new HealthcareApisArmOperation(new HealthcareApisServiceOperationSource(Client), _healthcareApisServiceServicesClientDiagnostics, Pipeline, _healthcareApisServiceServicesRestClient.CreateCreateOrUpdateRequest(Id.SubscriptionId, Id.ResourceGroupName, resourceName, data).Request, response, OperationFinalStateVia.Location); - if (waitUntil == WaitUntil.Completed) - operation.WaitForCompletion(cancellationToken); - return operation; - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - /// /// Get the metadata of a service instance. /// @@ -163,7 +65,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUn /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -208,7 +110,7 @@ public virtual async Task> GetAsync(stri /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -253,7 +155,7 @@ public virtual Response Get(string resourceName, /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -283,7 +185,7 @@ public virtual AsyncPageable GetAllAsync(Cancella /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -313,7 +215,7 @@ public virtual Pageable GetAll(CancellationToken /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -356,7 +258,7 @@ public virtual async Task> ExistsAsync(string resourceName, Cance /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -399,7 +301,7 @@ public virtual Response Exists(string resourceName, CancellationToken canc /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -444,7 +346,7 @@ public virtual async Task> GetIf /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServiceData.Serialization.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServiceData.Serialization.cs index 3934673ac952..0c5b781b3abe 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServiceData.Serialization.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServiceData.Serialization.cs @@ -35,16 +35,8 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRea } writer.WritePropertyName("kind"u8); writer.WriteStringValue(Kind.ToSerialString()); - if (Optional.IsDefined(ETag)) - { - writer.WritePropertyName("etag"u8); - writer.WriteStringValue(ETag.Value.ToString()); - } - if (Optional.IsDefined(Identity)) - { - writer.WritePropertyName("identity"u8); - JsonSerializer.Serialize(writer, Identity); - } + writer.WritePropertyName("location"u8); + writer.WriteStringValue(Location); if (Optional.IsCollectionDefined(Tags)) { writer.WritePropertyName("tags"u8); @@ -56,8 +48,16 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRea } writer.WriteEndObject(); } - writer.WritePropertyName("location"u8); - writer.WriteStringValue(Location); + if (Optional.IsDefined(ETag)) + { + writer.WritePropertyName("etag"u8); + writer.WriteStringValue(ETag.Value.ToString()); + } + if (Optional.IsDefined(Identity)) + { + writer.WritePropertyName("identity"u8); + JsonSerializer.Serialize(writer, Identity); + } if (options.Format != "W") { writer.WritePropertyName("id"u8); @@ -118,10 +118,10 @@ internal static HealthcareApisServiceData DeserializeHealthcareApisServiceData(J } HealthcareApisServiceProperties properties = default; HealthcareApisKind kind = default; + AzureLocation location = default; + IReadOnlyDictionary tags = default; ETag? etag = default; ManagedServiceIdentity identity = default; - IDictionary tags = default; - AzureLocation location = default; ResourceIdentifier id = default; string name = default; ResourceType type = default; @@ -144,41 +144,41 @@ internal static HealthcareApisServiceData DeserializeHealthcareApisServiceData(J kind = property.Value.GetString().ToHealthcareApisKind(); continue; } - if (property.NameEquals("etag"u8)) + if (property.NameEquals("location"u8)) + { + location = new AzureLocation(property.Value.GetString()); + continue; + } + if (property.NameEquals("tags"u8)) { if (property.Value.ValueKind == JsonValueKind.Null) { continue; } - etag = new ETag(property.Value.GetString()); + Dictionary dictionary = new Dictionary(); + foreach (var property0 in property.Value.EnumerateObject()) + { + dictionary.Add(property0.Name, property0.Value.GetString()); + } + tags = dictionary; continue; } - if (property.NameEquals("identity"u8)) + if (property.NameEquals("etag"u8)) { if (property.Value.ValueKind == JsonValueKind.Null) { continue; } - identity = JsonSerializer.Deserialize(property.Value.GetRawText()); + etag = new ETag(property.Value.GetString()); continue; } - if (property.NameEquals("tags"u8)) + if (property.NameEquals("identity"u8)) { if (property.Value.ValueKind == JsonValueKind.Null) { continue; } - Dictionary dictionary = new Dictionary(); - foreach (var property0 in property.Value.EnumerateObject()) - { - dictionary.Add(property0.Name, property0.Value.GetString()); - } - tags = dictionary; - continue; - } - if (property.NameEquals("location"u8)) - { - location = new AzureLocation(property.Value.GetString()); + identity = JsonSerializer.Deserialize(property.Value.GetRawText()); continue; } if (property.NameEquals("id"u8)) @@ -216,10 +216,10 @@ internal static HealthcareApisServiceData DeserializeHealthcareApisServiceData(J name, type, systemData, - tags ?? new ChangeTrackingDictionary(), - location, properties, kind, + location, + tags ?? new ChangeTrackingDictionary(), etag, identity, serializedAdditionalRawData); diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServiceData.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServiceData.cs index 3b62246a0de0..63c0abaa66f0 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServiceData.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServiceData.cs @@ -17,7 +17,7 @@ namespace Azure.ResourceManager.HealthcareApis /// A class representing the HealthcareApisService data model. /// The description of the service. /// - public partial class HealthcareApisServiceData : TrackedResourceData + public partial class HealthcareApisServiceData : ResourceData { /// /// Keeps track of any properties unknown to the library. @@ -52,11 +52,13 @@ public partial class HealthcareApisServiceData : TrackedResourceData private IDictionary _serializedAdditionalRawData; /// Initializes a new instance of . - /// The location. /// The kind of the service. - public HealthcareApisServiceData(AzureLocation location, HealthcareApisKind kind) : base(location) + /// The resource location. + internal HealthcareApisServiceData(HealthcareApisKind kind, AzureLocation location) { Kind = kind; + Location = location; + Tags = new ChangeTrackingDictionary(); } /// Initializes a new instance of . @@ -64,17 +66,19 @@ public HealthcareApisServiceData(AzureLocation location, HealthcareApisKind kind /// The name. /// The resourceType. /// The systemData. - /// The tags. - /// The location. /// The common properties of a service. /// The kind of the service. + /// The resource location. + /// The resource tags. /// An etag associated with the resource, used for optimistic concurrency when editing it. /// Setting indicating whether the service has a managed identity associated with it. Current supported identity types: SystemAssigned, None. /// Keeps track of any properties unknown to the library. - internal HealthcareApisServiceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, HealthcareApisServiceProperties properties, HealthcareApisKind kind, ETag? etag, ManagedServiceIdentity identity, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData, tags, location) + internal HealthcareApisServiceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, HealthcareApisServiceProperties properties, HealthcareApisKind kind, AzureLocation location, IReadOnlyDictionary tags, ETag? etag, ManagedServiceIdentity identity, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData) { Properties = properties; Kind = kind; + Location = location; + Tags = tags; ETag = etag; Identity = identity; _serializedAdditionalRawData = serializedAdditionalRawData; @@ -86,12 +90,16 @@ internal HealthcareApisServiceData() } /// The common properties of a service. - public HealthcareApisServiceProperties Properties { get; set; } + public HealthcareApisServiceProperties Properties { get; } /// The kind of the service. - public HealthcareApisKind Kind { get; set; } + public HealthcareApisKind Kind { get; } + /// The resource location. + public AzureLocation Location { get; } + /// The resource tags. + public IReadOnlyDictionary Tags { get; } /// An etag associated with the resource, used for optimistic concurrency when editing it. - public ETag? ETag { get; set; } + public ETag? ETag { get; } /// Setting indicating whether the service has a managed identity associated with it. Current supported identity types: SystemAssigned, None. - public ManagedServiceIdentity Identity { get; set; } + public ManagedServiceIdentity Identity { get; } } } diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServicePrivateEndpointConnectionCollection.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServicePrivateEndpointConnectionCollection.cs index c31fb236e922..9e4525101ed1 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServicePrivateEndpointConnectionCollection.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServicePrivateEndpointConnectionCollection.cs @@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -113,7 +113,7 @@ public virtual async Task /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -162,7 +162,7 @@ public virtual ArmOperation /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -207,7 +207,7 @@ public virtual async Task /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -252,7 +252,7 @@ public virtual Response /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -281,7 +281,7 @@ public virtual AsyncPageable /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -310,7 +310,7 @@ public virtual Pageable /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -353,7 +353,7 @@ public virtual async Task> ExistsAsync(string privateEndpointConn /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -396,7 +396,7 @@ public virtual Response Exists(string privateEndpointConnectionName, Cance /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -441,7 +441,7 @@ public virtual async Task /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServicePrivateEndpointConnectionResource.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServicePrivateEndpointConnectionResource.cs index 3152161273a3..c5b9ebc0a936 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServicePrivateEndpointConnectionResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServicePrivateEndpointConnectionResource.cs @@ -101,7 +101,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -141,7 +141,7 @@ public virtual async Task /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -181,7 +181,7 @@ public virtual Response /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -223,7 +223,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -265,7 +265,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -311,7 +311,7 @@ public virtual async Task /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServicePrivateLinkResource.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServicePrivateLinkResource.cs index 7ebf44e8f715..10e752c6935f 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServicePrivateLinkResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServicePrivateLinkResource.cs @@ -101,7 +101,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -141,7 +141,7 @@ public virtual async Task> Ge /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServicePrivateLinkResourceCollection.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServicePrivateLinkResourceCollection.cs index 0864b2841d6b..387bf8636cbd 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServicePrivateLinkResourceCollection.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServicePrivateLinkResourceCollection.cs @@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -109,7 +109,7 @@ public virtual async Task> Ge /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -154,7 +154,7 @@ public virtual Response Get(string gro /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -183,7 +183,7 @@ public virtual AsyncPageable GetAllAsy /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -212,7 +212,7 @@ public virtual Pageable GetAll(Cancell /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -255,7 +255,7 @@ public virtual async Task> ExistsAsync(string groupName, Cancella /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -298,7 +298,7 @@ public virtual Response Exists(string groupName, CancellationToken cancell /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -343,7 +343,7 @@ public virtual async Task /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServiceResource.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServiceResource.cs index 927d321502d1..924e6f3cfb5c 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServiceResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServiceResource.cs @@ -110,7 +110,7 @@ public virtual HealthcareApisServicePrivateEndpointConnectionCollection GetHealt /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -141,7 +141,7 @@ public virtual async Task /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -179,7 +179,7 @@ public virtual HealthcareApisServicePrivateLinkResourceCollection GetHealthcareA /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -210,7 +210,7 @@ public virtual async Task> Ge /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -241,7 +241,7 @@ public virtual Response GetHealthcareA /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -281,7 +281,7 @@ public virtual async Task> GetAsync(Canc /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -321,7 +321,7 @@ public virtual Response Get(CancellationToken can /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -363,7 +363,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -405,7 +405,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -451,7 +451,7 @@ public virtual async Task> UpdateAsy /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -497,7 +497,7 @@ public virtual ArmOperation Update(WaitUntil wait /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -559,7 +559,7 @@ public virtual async Task> AddTagAsync(s /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -621,7 +621,7 @@ public virtual Response AddTag(string key, string /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -678,7 +678,7 @@ public virtual async Task> SetTagsAsync( /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -735,7 +735,7 @@ public virtual Response SetTags(IDictionary /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -795,7 +795,7 @@ public virtual async Task> RemoveTagAsyn /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisWorkspaceCollection.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisWorkspaceCollection.cs index 253d0b000724..ccad294d998e 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisWorkspaceCollection.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisWorkspaceCollection.cs @@ -65,7 +65,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -114,7 +114,7 @@ public virtual async Task> CreateO /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -163,7 +163,7 @@ public virtual ArmOperation CreateOrUpdate(Wait /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -208,7 +208,7 @@ public virtual async Task> GetAsync(st /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -253,7 +253,7 @@ public virtual Response Get(string workspaceNam /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -283,7 +283,7 @@ public virtual AsyncPageable GetAllAsync(Cancel /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -313,7 +313,7 @@ public virtual Pageable GetAll(CancellationToke /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -356,7 +356,7 @@ public virtual async Task> ExistsAsync(string workspaceName, Canc /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -399,7 +399,7 @@ public virtual Response Exists(string workspaceName, CancellationToken can /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -444,7 +444,7 @@ public virtual async Task> Get /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisWorkspacePrivateEndpointConnectionCollection.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisWorkspacePrivateEndpointConnectionCollection.cs index bc99cb018af9..74ddfe7aabd7 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisWorkspacePrivateEndpointConnectionCollection.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisWorkspacePrivateEndpointConnectionCollection.cs @@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -113,7 +113,7 @@ public virtual async Task /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -162,7 +162,7 @@ public virtual ArmOperation /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -207,7 +207,7 @@ public virtual async Task /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -252,7 +252,7 @@ public virtual Response /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -281,7 +281,7 @@ public virtual AsyncPageable /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -310,7 +310,7 @@ public virtual Pageable /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -353,7 +353,7 @@ public virtual async Task> ExistsAsync(string privateEndpointConn /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -396,7 +396,7 @@ public virtual Response Exists(string privateEndpointConnectionName, Cance /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -441,7 +441,7 @@ public virtual async Task /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisWorkspacePrivateEndpointConnectionResource.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisWorkspacePrivateEndpointConnectionResource.cs index 092c07bdb778..e7d0d99b0f50 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisWorkspacePrivateEndpointConnectionResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisWorkspacePrivateEndpointConnectionResource.cs @@ -101,7 +101,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -141,7 +141,7 @@ public virtual async Task /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -181,7 +181,7 @@ public virtual Response /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -223,7 +223,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -265,7 +265,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -311,7 +311,7 @@ public virtual async Task /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisWorkspacePrivateLinkResource.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisWorkspacePrivateLinkResource.cs index 2b6b0fb5ad46..0be3951b73ff 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisWorkspacePrivateLinkResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisWorkspacePrivateLinkResource.cs @@ -101,7 +101,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -141,7 +141,7 @@ public virtual async Task> /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisWorkspacePrivateLinkResourceCollection.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisWorkspacePrivateLinkResourceCollection.cs index 8cdd4fe51d6f..11343e6a3330 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisWorkspacePrivateLinkResourceCollection.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisWorkspacePrivateLinkResourceCollection.cs @@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -109,7 +109,7 @@ public virtual async Task> /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -154,7 +154,7 @@ public virtual Response Get(string g /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -183,7 +183,7 @@ public virtual AsyncPageable GetAllA /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -212,7 +212,7 @@ public virtual Pageable GetAll(Cance /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -255,7 +255,7 @@ public virtual async Task> ExistsAsync(string groupName, Cancella /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -298,7 +298,7 @@ public virtual Response Exists(string groupName, CancellationToken cancell /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -343,7 +343,7 @@ public virtual async Task /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisWorkspaceResource.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisWorkspaceResource.cs index 54e6fa53bb62..b651c7f4d14c 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisWorkspaceResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisWorkspaceResource.cs @@ -110,7 +110,7 @@ public virtual HealthcareApisWorkspacePrivateEndpointConnectionCollection GetHea /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -141,7 +141,7 @@ public virtual async Task /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -179,7 +179,7 @@ public virtual HealthcareApisWorkspacePrivateLinkResourceCollection GetHealthcar /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -210,7 +210,7 @@ public virtual async Task> /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -248,7 +248,7 @@ public virtual DicomServiceCollection GetDicomServices() /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -279,7 +279,7 @@ public virtual async Task> GetDicomServiceAsync(s /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -317,7 +317,7 @@ public virtual HealthcareApisIotConnectorCollection GetHealthcareApisIotConnecto /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -348,7 +348,7 @@ public virtual async Task> GetHealt /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -386,7 +386,7 @@ public virtual FhirServiceCollection GetFhirServices() /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -417,7 +417,7 @@ public virtual async Task> GetFhirServiceAsync(str /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -448,7 +448,7 @@ public virtual Response GetFhirService(string fhirServiceNa /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -488,7 +488,7 @@ public virtual async Task> GetAsync(Ca /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -528,7 +528,7 @@ public virtual Response Get(CancellationToken c /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -570,7 +570,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -612,7 +612,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -658,7 +658,7 @@ public virtual async Task> UpdateA /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -704,7 +704,7 @@ public virtual ArmOperation Update(WaitUntil wa /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -766,7 +766,7 @@ public virtual async Task> AddTagAsync /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -828,7 +828,7 @@ public virtual Response AddTag(string key, stri /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -885,7 +885,7 @@ public virtual async Task> SetTagsAsyn /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -942,7 +942,7 @@ public virtual Response SetTags(IDictionary /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource @@ -1002,7 +1002,7 @@ public virtual async Task> RemoveTagAs /// /// /// Default Api Version - /// 2024-03-31 + /// 2024-03-01 /// /// /// Resource diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceAccessPolicyEntry.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceAccessPolicyEntry.cs index 9e1ce3f7b16f..a17595a59ea8 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceAccessPolicyEntry.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceAccessPolicyEntry.cs @@ -48,7 +48,7 @@ public partial class HealthcareApisServiceAccessPolicyEntry /// Initializes a new instance of . /// An Azure AD object ID (User or Apps) that is allowed access to the FHIR service. /// is null. - public HealthcareApisServiceAccessPolicyEntry(string objectId) + internal HealthcareApisServiceAccessPolicyEntry(string objectId) { Argument.AssertNotNull(objectId, nameof(objectId)); @@ -70,6 +70,6 @@ internal HealthcareApisServiceAccessPolicyEntry() } /// An Azure AD object ID (User or Apps) that is allowed access to the FHIR service. - public string ObjectId { get; set; } + public string ObjectId { get; } } } diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceAcrConfiguration.Serialization.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceAcrConfiguration.Serialization.cs index 2ffe563d95c8..057603cf55ee 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceAcrConfiguration.Serialization.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceAcrConfiguration.Serialization.cs @@ -84,8 +84,8 @@ internal static HealthcareApisServiceAcrConfiguration DeserializeHealthcareApisS { return null; } - IList loginServers = default; - IList ociArtifacts = default; + IReadOnlyList loginServers = default; + IReadOnlyList ociArtifacts = default; IDictionary serializedAdditionalRawData = default; Dictionary rawDataDictionary = new Dictionary(); foreach (var property in element.EnumerateObject()) diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceAcrConfiguration.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceAcrConfiguration.cs index 4e60345d09c7..6ae2e3a44996 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceAcrConfiguration.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceAcrConfiguration.cs @@ -46,7 +46,7 @@ public partial class HealthcareApisServiceAcrConfiguration private IDictionary _serializedAdditionalRawData; /// Initializes a new instance of . - public HealthcareApisServiceAcrConfiguration() + internal HealthcareApisServiceAcrConfiguration() { LoginServers = new ChangeTrackingList(); OciArtifacts = new ChangeTrackingList(); @@ -56,7 +56,7 @@ public HealthcareApisServiceAcrConfiguration() /// The list of the ACR login servers. /// The list of Open Container Initiative (OCI) artifacts. /// Keeps track of any properties unknown to the library. - internal HealthcareApisServiceAcrConfiguration(IList loginServers, IList ociArtifacts, IDictionary serializedAdditionalRawData) + internal HealthcareApisServiceAcrConfiguration(IReadOnlyList loginServers, IReadOnlyList ociArtifacts, IDictionary serializedAdditionalRawData) { LoginServers = loginServers; OciArtifacts = ociArtifacts; @@ -64,8 +64,8 @@ internal HealthcareApisServiceAcrConfiguration(IList loginServers, IList } /// The list of the ACR login servers. - public IList LoginServers { get; } + public IReadOnlyList LoginServers { get; } /// The list of Open Container Initiative (OCI) artifacts. - public IList OciArtifacts { get; } + public IReadOnlyList OciArtifacts { get; } } } diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceAuthenticationConfiguration.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceAuthenticationConfiguration.cs index 483a76a6e093..30057cc9e84c 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceAuthenticationConfiguration.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceAuthenticationConfiguration.cs @@ -46,7 +46,7 @@ public partial class HealthcareApisServiceAuthenticationConfiguration private IDictionary _serializedAdditionalRawData; /// Initializes a new instance of . - public HealthcareApisServiceAuthenticationConfiguration() + internal HealthcareApisServiceAuthenticationConfiguration() { } @@ -64,10 +64,10 @@ internal HealthcareApisServiceAuthenticationConfiguration(string authority, stri } /// The authority url for the service. - public string Authority { get; set; } + public string Authority { get; } /// The audience url for the service. - public string Audience { get; set; } + public string Audience { get; } /// If the SMART on FHIR proxy is enabled. - public bool? IsSmartProxyEnabled { get; set; } + public bool? IsSmartProxyEnabled { get; } } } diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceCorsConfiguration.Serialization.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceCorsConfiguration.Serialization.cs index 299f2e003e56..252060820024 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceCorsConfiguration.Serialization.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceCorsConfiguration.Serialization.cs @@ -104,9 +104,9 @@ internal static HealthcareApisServiceCorsConfiguration DeserializeHealthcareApis { return null; } - IList origins = default; - IList headers = default; - IList methods = default; + IReadOnlyList origins = default; + IReadOnlyList headers = default; + IReadOnlyList methods = default; int? maxAge = default; bool? allowCredentials = default; IDictionary serializedAdditionalRawData = default; diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceCorsConfiguration.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceCorsConfiguration.cs index 7147a1057c71..472d08221dd6 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceCorsConfiguration.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceCorsConfiguration.cs @@ -46,7 +46,7 @@ public partial class HealthcareApisServiceCorsConfiguration private IDictionary _serializedAdditionalRawData; /// Initializes a new instance of . - public HealthcareApisServiceCorsConfiguration() + internal HealthcareApisServiceCorsConfiguration() { Origins = new ChangeTrackingList(); Headers = new ChangeTrackingList(); @@ -60,7 +60,7 @@ public HealthcareApisServiceCorsConfiguration() /// The max age to be allowed via CORS. /// If credentials are allowed via CORS. /// Keeps track of any properties unknown to the library. - internal HealthcareApisServiceCorsConfiguration(IList origins, IList headers, IList methods, int? maxAge, bool? allowCredentials, IDictionary serializedAdditionalRawData) + internal HealthcareApisServiceCorsConfiguration(IReadOnlyList origins, IReadOnlyList headers, IReadOnlyList methods, int? maxAge, bool? allowCredentials, IDictionary serializedAdditionalRawData) { Origins = origins; Headers = headers; @@ -71,14 +71,14 @@ internal HealthcareApisServiceCorsConfiguration(IList origins, IList The origins to be allowed via CORS. - public IList Origins { get; } + public IReadOnlyList Origins { get; } /// The headers to be allowed via CORS. - public IList Headers { get; } + public IReadOnlyList Headers { get; } /// The methods to be allowed via CORS. - public IList Methods { get; } + public IReadOnlyList Methods { get; } /// The max age to be allowed via CORS. - public int? MaxAge { get; set; } + public int? MaxAge { get; } /// If credentials are allowed via CORS. - public bool? AllowCredentials { get; set; } + public bool? AllowCredentials { get; } } } diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceCosmosDbConfiguration.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceCosmosDbConfiguration.cs index e9943c906ff7..4233a9c014ab 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceCosmosDbConfiguration.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceCosmosDbConfiguration.cs @@ -46,7 +46,7 @@ public partial class HealthcareApisServiceCosmosDbConfiguration private IDictionary _serializedAdditionalRawData; /// Initializes a new instance of . - public HealthcareApisServiceCosmosDbConfiguration() + internal HealthcareApisServiceCosmosDbConfiguration() { } @@ -64,10 +64,10 @@ internal HealthcareApisServiceCosmosDbConfiguration(int? offerThroughput, Uri ke } /// The provisioned throughput for the backing database. - public int? OfferThroughput { get; set; } + public int? OfferThroughput { get; } /// The URI of the customer-managed key for the backing database. - public Uri KeyVaultKeyUri { get; set; } + public Uri KeyVaultKeyUri { get; } /// The multi-tenant application id used to enable CMK access for services in a data sovereign region. - public Guid? CrossTenantCmkApplicationId { get; set; } + public Guid? CrossTenantCmkApplicationId { get; } } } diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceImportConfiguration.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceImportConfiguration.cs index 61d78d139180..3c5da9122529 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceImportConfiguration.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceImportConfiguration.cs @@ -46,7 +46,7 @@ public partial class HealthcareApisServiceImportConfiguration private IDictionary _serializedAdditionalRawData; /// Initializes a new instance of . - public HealthcareApisServiceImportConfiguration() + internal HealthcareApisServiceImportConfiguration() { } @@ -64,10 +64,10 @@ internal HealthcareApisServiceImportConfiguration(string integrationDataStore, b } /// The name of the default integration storage account. - public string IntegrationDataStore { get; set; } + public string IntegrationDataStore { get; } /// If the FHIR service is in InitialImportMode. - public bool? IsInitialImportMode { get; set; } + public bool? IsInitialImportMode { get; } /// If the import operation is enabled. - public bool? IsEnabled { get; set; } + public bool? IsEnabled { get; } } } diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceProperties.Serialization.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceProperties.Serialization.cs index eb95e0f6504e..6cdb22d7ddae 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceProperties.Serialization.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceProperties.Serialization.cs @@ -125,12 +125,12 @@ internal static HealthcareApisServiceProperties DeserializeHealthcareApisService return null; } HealthcareApisProvisioningState? provisioningState = default; - IList accessPolicies = default; + IReadOnlyList accessPolicies = default; HealthcareApisServiceCosmosDbConfiguration cosmosDbConfiguration = default; HealthcareApisServiceAuthenticationConfiguration authenticationConfiguration = default; HealthcareApisServiceCorsConfiguration corsConfiguration = default; ServiceExportConfigurationInfo exportConfiguration = default; - IList privateEndpointConnections = default; + IReadOnlyList privateEndpointConnections = default; HealthcareApisPublicNetworkAccess? publicNetworkAccess = default; HealthcareApisServiceAcrConfiguration acrConfiguration = default; HealthcareApisServiceImportConfiguration importConfiguration = default; diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceProperties.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceProperties.cs index f078fa43e5a7..d7ca77bf4315 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceProperties.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceProperties.cs @@ -46,7 +46,7 @@ public partial class HealthcareApisServiceProperties private IDictionary _serializedAdditionalRawData; /// Initializes a new instance of . - public HealthcareApisServiceProperties() + internal HealthcareApisServiceProperties() { AccessPolicies = new ChangeTrackingList(); PrivateEndpointConnections = new ChangeTrackingList(); @@ -64,7 +64,7 @@ public HealthcareApisServiceProperties() /// The azure container registry settings used for convert data operation of the service instance. /// The settings for the import operation of the service instance. /// Keeps track of any properties unknown to the library. - internal HealthcareApisServiceProperties(HealthcareApisProvisioningState? provisioningState, IList accessPolicies, HealthcareApisServiceCosmosDbConfiguration cosmosDbConfiguration, HealthcareApisServiceAuthenticationConfiguration authenticationConfiguration, HealthcareApisServiceCorsConfiguration corsConfiguration, ServiceExportConfigurationInfo exportConfiguration, IList privateEndpointConnections, HealthcareApisPublicNetworkAccess? publicNetworkAccess, HealthcareApisServiceAcrConfiguration acrConfiguration, HealthcareApisServiceImportConfiguration importConfiguration, IDictionary serializedAdditionalRawData) + internal HealthcareApisServiceProperties(HealthcareApisProvisioningState? provisioningState, IReadOnlyList accessPolicies, HealthcareApisServiceCosmosDbConfiguration cosmosDbConfiguration, HealthcareApisServiceAuthenticationConfiguration authenticationConfiguration, HealthcareApisServiceCorsConfiguration corsConfiguration, ServiceExportConfigurationInfo exportConfiguration, IReadOnlyList privateEndpointConnections, HealthcareApisPublicNetworkAccess? publicNetworkAccess, HealthcareApisServiceAcrConfiguration acrConfiguration, HealthcareApisServiceImportConfiguration importConfiguration, IDictionary serializedAdditionalRawData) { ProvisioningState = provisioningState; AccessPolicies = accessPolicies; @@ -82,34 +82,28 @@ internal HealthcareApisServiceProperties(HealthcareApisProvisioningState? provis /// The provisioning state. public HealthcareApisProvisioningState? ProvisioningState { get; } /// The access policies of the service instance. - public IList AccessPolicies { get; } + public IReadOnlyList AccessPolicies { get; } /// The settings for the Cosmos DB database backing the service. - public HealthcareApisServiceCosmosDbConfiguration CosmosDbConfiguration { get; set; } + public HealthcareApisServiceCosmosDbConfiguration CosmosDbConfiguration { get; } /// The authentication configuration for the service instance. - public HealthcareApisServiceAuthenticationConfiguration AuthenticationConfiguration { get; set; } + public HealthcareApisServiceAuthenticationConfiguration AuthenticationConfiguration { get; } /// The settings for the CORS configuration of the service instance. - public HealthcareApisServiceCorsConfiguration CorsConfiguration { get; set; } + public HealthcareApisServiceCorsConfiguration CorsConfiguration { get; } /// The settings for the export operation of the service instance. - internal ServiceExportConfigurationInfo ExportConfiguration { get; set; } + internal ServiceExportConfigurationInfo ExportConfiguration { get; } /// The name of the default export storage account. public string ExportStorageAccountName { - get => ExportConfiguration is null ? default : ExportConfiguration.StorageAccountName; - set - { - if (ExportConfiguration is null) - ExportConfiguration = new ServiceExportConfigurationInfo(); - ExportConfiguration.StorageAccountName = value; - } + get => ExportConfiguration?.StorageAccountName; } /// The list of private endpoint connections that are set up for this resource. - public IList PrivateEndpointConnections { get; } + public IReadOnlyList PrivateEndpointConnections { get; } /// Control permission for data plane traffic coming from public networks while private endpoint is enabled. - public HealthcareApisPublicNetworkAccess? PublicNetworkAccess { get; set; } + public HealthcareApisPublicNetworkAccess? PublicNetworkAccess { get; } /// The azure container registry settings used for convert data operation of the service instance. - public HealthcareApisServiceAcrConfiguration AcrConfiguration { get; set; } + public HealthcareApisServiceAcrConfiguration AcrConfiguration { get; } /// The settings for the import operation of the service instance. - public HealthcareApisServiceImportConfiguration ImportConfiguration { get; set; } + public HealthcareApisServiceImportConfiguration ImportConfiguration { get; } } } diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/ServiceExportConfigurationInfo.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/ServiceExportConfigurationInfo.cs index ccdd68a1676f..59289a3ec8ea 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/ServiceExportConfigurationInfo.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/ServiceExportConfigurationInfo.cs @@ -46,7 +46,7 @@ internal partial class ServiceExportConfigurationInfo private IDictionary _serializedAdditionalRawData; /// Initializes a new instance of . - public ServiceExportConfigurationInfo() + internal ServiceExportConfigurationInfo() { } @@ -60,6 +60,6 @@ internal ServiceExportConfigurationInfo(string storageAccountName, IDictionary The name of the default export storage account. - public string StorageAccountName { get; set; } + public string StorageAccountName { get; } } } diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/DicomServicesRestOperations.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/DicomServicesRestOperations.cs index 5011962aa345..e3f0c8c7df45 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/DicomServicesRestOperations.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/DicomServicesRestOperations.cs @@ -33,7 +33,7 @@ public DicomServicesRestOperations(HttpPipeline pipeline, string applicationId, { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-03-31"; + _apiVersion = apiVersion ?? "2024-03-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/FhirDestinationsRestOperations.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/FhirDestinationsRestOperations.cs index b9bdf061de42..b2323e65e6c7 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/FhirDestinationsRestOperations.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/FhirDestinationsRestOperations.cs @@ -32,7 +32,7 @@ public FhirDestinationsRestOperations(HttpPipeline pipeline, string applicationI { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-03-31"; + _apiVersion = apiVersion ?? "2024-03-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/FhirServicesRestOperations.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/FhirServicesRestOperations.cs index 7b6529781007..0fb36aa0f5fa 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/FhirServicesRestOperations.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/FhirServicesRestOperations.cs @@ -33,7 +33,7 @@ public FhirServicesRestOperations(HttpPipeline pipeline, string applicationId, U { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-03-31"; + _apiVersion = apiVersion ?? "2024-03-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/IotConnectorFhirDestinationRestOperations.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/IotConnectorFhirDestinationRestOperations.cs index b4c22432d416..09aa3e73d38d 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/IotConnectorFhirDestinationRestOperations.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/IotConnectorFhirDestinationRestOperations.cs @@ -32,7 +32,7 @@ public IotConnectorFhirDestinationRestOperations(HttpPipeline pipeline, string a { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-03-31"; + _apiVersion = apiVersion ?? "2024-03-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/IotConnectorsRestOperations.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/IotConnectorsRestOperations.cs index 3466a63207ce..c13f507b30c6 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/IotConnectorsRestOperations.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/IotConnectorsRestOperations.cs @@ -33,7 +33,7 @@ public IotConnectorsRestOperations(HttpPipeline pipeline, string applicationId, { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-03-31"; + _apiVersion = apiVersion ?? "2024-03-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/PrivateEndpointConnectionsRestOperations.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/PrivateEndpointConnectionsRestOperations.cs index f3efa72f4439..402c6f1007e6 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/PrivateEndpointConnectionsRestOperations.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/PrivateEndpointConnectionsRestOperations.cs @@ -33,7 +33,7 @@ public PrivateEndpointConnectionsRestOperations(HttpPipeline pipeline, string ap { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-03-31"; + _apiVersion = apiVersion ?? "2024-03-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/PrivateLinkResourcesRestOperations.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/PrivateLinkResourcesRestOperations.cs index da84740c495a..d2bf297205c2 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/PrivateLinkResourcesRestOperations.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/PrivateLinkResourcesRestOperations.cs @@ -32,7 +32,7 @@ public PrivateLinkResourcesRestOperations(HttpPipeline pipeline, string applicat { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-03-31"; + _apiVersion = apiVersion ?? "2024-03-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/ServicesRestOperations.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/ServicesRestOperations.cs index c9d749c7abaa..c29d3cf0222f 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/ServicesRestOperations.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/ServicesRestOperations.cs @@ -33,7 +33,7 @@ public ServicesRestOperations(HttpPipeline pipeline, string applicationId, Uri e { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-03-31"; + _apiVersion = apiVersion ?? "2024-03-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } @@ -119,84 +119,6 @@ public Response Get(string subscriptionId, string res } } - internal HttpMessage CreateCreateOrUpdateRequest(string subscriptionId, string resourceGroupName, string resourceName, HealthcareApisServiceData data) - { - var message = _pipeline.CreateMessage(); - var request = message.Request; - request.Method = RequestMethod.Put; - var uri = new RawRequestUriBuilder(); - uri.Reset(_endpoint); - uri.AppendPath("/subscriptions/", false); - uri.AppendPath(subscriptionId, true); - uri.AppendPath("/resourceGroups/", false); - uri.AppendPath(resourceGroupName, true); - uri.AppendPath("/providers/Microsoft.HealthcareApis/services/", false); - uri.AppendPath(resourceName, true); - uri.AppendQuery("api-version", _apiVersion, true); - request.Uri = uri; - request.Headers.Add("Accept", "application/json"); - request.Headers.Add("Content-Type", "application/json"); - var content = new Utf8JsonRequestContent(); - content.JsonWriter.WriteObjectValue(data, new ModelReaderWriterOptions("W")); - request.Content = content; - _userAgent.Apply(message); - return message; - } - - /// Create or update the metadata of a service instance. - /// The ID of the target subscription. - /// The name of the resource group that contains the service instance. - /// The name of the service instance. - /// The service instance metadata. - /// The cancellation token to use. - /// , , or is null. - /// , or is an empty string, and was expected to be non-empty. - public async Task CreateOrUpdateAsync(string subscriptionId, string resourceGroupName, string resourceName, HealthcareApisServiceData data, CancellationToken cancellationToken = default) - { - Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); - Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); - Argument.AssertNotNullOrEmpty(resourceName, nameof(resourceName)); - Argument.AssertNotNull(data, nameof(data)); - - using var message = CreateCreateOrUpdateRequest(subscriptionId, resourceGroupName, resourceName, data); - await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); - switch (message.Response.Status) - { - case 200: - case 201: - return message.Response; - default: - throw new RequestFailedException(message.Response); - } - } - - /// Create or update the metadata of a service instance. - /// The ID of the target subscription. - /// The name of the resource group that contains the service instance. - /// The name of the service instance. - /// The service instance metadata. - /// The cancellation token to use. - /// , , or is null. - /// , or is an empty string, and was expected to be non-empty. - public Response CreateOrUpdate(string subscriptionId, string resourceGroupName, string resourceName, HealthcareApisServiceData data, CancellationToken cancellationToken = default) - { - Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); - Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); - Argument.AssertNotNullOrEmpty(resourceName, nameof(resourceName)); - Argument.AssertNotNull(data, nameof(data)); - - using var message = CreateCreateOrUpdateRequest(subscriptionId, resourceGroupName, resourceName, data); - _pipeline.Send(message, cancellationToken); - switch (message.Response.Status) - { - case 200: - case 201: - return message.Response; - default: - throw new RequestFailedException(message.Response); - } - } - internal HttpMessage CreateUpdateRequest(string subscriptionId, string resourceGroupName, string resourceName, HealthcareApisServicePatch patch) { var message = _pipeline.CreateMessage(); diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/WorkspacePrivateEndpointConnectionsRestOperations.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/WorkspacePrivateEndpointConnectionsRestOperations.cs index 487ce96f08e1..feaf375d6582 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/WorkspacePrivateEndpointConnectionsRestOperations.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/WorkspacePrivateEndpointConnectionsRestOperations.cs @@ -33,7 +33,7 @@ public WorkspacePrivateEndpointConnectionsRestOperations(HttpPipeline pipeline, { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-03-31"; + _apiVersion = apiVersion ?? "2024-03-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/WorkspacePrivateLinkResourcesRestOperations.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/WorkspacePrivateLinkResourcesRestOperations.cs index 730543136651..f70edecef105 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/WorkspacePrivateLinkResourcesRestOperations.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/WorkspacePrivateLinkResourcesRestOperations.cs @@ -32,7 +32,7 @@ public WorkspacePrivateLinkResourcesRestOperations(HttpPipeline pipeline, string { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-03-31"; + _apiVersion = apiVersion ?? "2024-03-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/WorkspacesRestOperations.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/WorkspacesRestOperations.cs index 6111c13e71a8..6b90ca8ff73a 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/WorkspacesRestOperations.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/WorkspacesRestOperations.cs @@ -33,7 +33,7 @@ public WorkspacesRestOperations(HttpPipeline pipeline, string applicationId, Uri { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-03-31"; + _apiVersion = apiVersion ?? "2024-03-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/autorest.md b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/autorest.md index 84f35388e33a..357eebc7ca14 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/autorest.md +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/autorest.md @@ -8,7 +8,7 @@ azure-arm: true csharp: true library-name: HealthcareApis namespace: Azure.ResourceManager.HealthcareApis -require: https://github.com/Azure/azure-rest-api-specs/blob/2d701c73fb5ee44f95b97b6c3eaf8c4aeb051e73/specification/healthcareapis/resource-manager/readme.md +require: /mnt/vss/_work/1/s/azure-rest-api-specs/specification/healthcareapis/resource-manager/readme.md #tag: package-2024-03-31 output-folder: $(this-folder)/Generated clear-output-folder: true