From 6881ba85cade224070e08e4db1df3cd07c9079d4 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 8 Apr 2024 03:31:42 +0000 Subject: [PATCH] CodeGen from PR 3265 in test-repo-billy/azure-rest-api-specs Merge 4af7c0ca9d212d86b98eeb1e0c061ad711223281 into a62ff34c1fe18c16dd31c62a9ad6a724adff5d56 --- ...ceManager.HealthcareApis.netstandard2.0.cs | 147 +++++++---- .../Samples/Sample_DicomServiceCollection.cs | 20 +- .../Samples/Sample_DicomServiceResource.cs | 6 +- .../Samples/Sample_FhirServiceCollection.cs | 29 ++- .../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 | 110 ++++++++- .../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 ++-- ...thenticationConfiguration.Serialization.cs | 27 ++- .../FhirServiceAuthenticationConfiguration.cs | 8 +- .../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 +- .../src/Generated/Models/SmartDataAction.cs | 48 ++++ ...entityProviderApplication.Serialization.cs | 159 ++++++++++++ .../SmartIdentityProviderApplication.cs | 75 ++++++ ...tityProviderConfiguration.Serialization.cs | 148 +++++++++++ .../SmartIdentityProviderConfiguration.cs | 71 ++++++ .../StorageConfiguration.Serialization.cs | 134 ++++++++++ .../Generated/Models/StorageConfiguration.cs | 69 ++++++ .../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 +- 81 files changed, 1394 insertions(+), 842 deletions(-) create mode 100644 sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/SmartDataAction.cs create mode 100644 sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/SmartIdentityProviderApplication.Serialization.cs create mode 100644 sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/SmartIdentityProviderApplication.cs create mode 100644 sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/SmartIdentityProviderConfiguration.Serialization.cs create mode 100644 sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/SmartIdentityProviderConfiguration.cs create mode 100644 sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/StorageConfiguration.Serialization.cs create mode 100644 sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/StorageConfiguration.cs 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 7505a0093d5f..5d6254d6c30b 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 @@ -30,6 +30,7 @@ public DicomServiceData(Azure.Core.AzureLocation location) { } public Azure.ResourceManager.HealthcareApis.Models.HealthcareApisProvisioningState? ProvisioningState { get { throw null; } } public Azure.ResourceManager.HealthcareApis.Models.HealthcareApisPublicNetworkAccess? PublicNetworkAccess { get { throw null; } set { } } public System.Uri ServiceUri { get { throw null; } } + public Azure.ResourceManager.HealthcareApis.Models.StorageConfiguration StorageConfiguration { get { throw null; } set { } } Azure.ResourceManager.HealthcareApis.DicomServiceData 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.DicomServiceData System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } @@ -271,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; } @@ -285,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; } @@ -544,7 +545,9 @@ 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.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.StorageConfiguration 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; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public static Azure.ResourceManager.HealthcareApis.FhirServiceData FhirServiceData(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.FhirServiceKind? kind, Azure.ResourceManager.HealthcareApis.Models.HealthcareApisProvisioningState? provisioningState, System.Collections.Generic.IEnumerable accessPolicies, Azure.ResourceManager.HealthcareApis.Models.FhirServiceAcrConfiguration acrConfiguration, Azure.ResourceManager.HealthcareApis.Models.FhirServiceAuthenticationConfiguration authenticationConfiguration, Azure.ResourceManager.HealthcareApis.Models.FhirServiceCorsConfiguration corsConfiguration, string exportStorageAccountName, System.Collections.Generic.IEnumerable privateEndpointConnections, Azure.ResourceManager.HealthcareApis.Models.HealthcareApisPublicNetworkAccess? publicNetworkAccess, Azure.ResourceManager.HealthcareApis.Models.FhirServiceEventState? eventState, Azure.ResourceManager.HealthcareApis.Models.FhirServiceResourceVersionPolicyConfiguration resourceVersionPolicyConfiguration, Azure.ResourceManager.HealthcareApis.Models.FhirServiceImportConfiguration importConfiguration, Azure.ResourceManager.Models.ManagedServiceIdentity identity, Azure.ETag? etag) { throw null; } @@ -553,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; } @@ -641,6 +650,7 @@ public FhirServiceAuthenticationConfiguration() { } public string Audience { get { throw null; } set { } } public string Authority { get { throw null; } set { } } public bool? IsSmartProxyEnabled { get { throw null; } set { } } + public System.Collections.Generic.IList SmartIdentityProviders { get { throw null; } } Azure.ResourceManager.HealthcareApis.Models.FhirServiceAuthenticationConfiguration 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.FhirServiceAuthenticationConfiguration System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } @@ -925,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; } @@ -935,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; } @@ -946,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; } @@ -958,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; } @@ -972,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; } @@ -984,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; } @@ -1019,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; } @@ -1057,4 +1067,55 @@ public HealthcareApisWorkspaceProperties() { } string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct SmartDataAction : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public SmartDataAction(string value) { throw null; } + public static Azure.ResourceManager.HealthcareApis.Models.SmartDataAction Read { get { throw null; } } + public bool Equals(Azure.ResourceManager.HealthcareApis.Models.SmartDataAction other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override int GetHashCode() { throw null; } + public static bool operator ==(Azure.ResourceManager.HealthcareApis.Models.SmartDataAction left, Azure.ResourceManager.HealthcareApis.Models.SmartDataAction right) { throw null; } + public static implicit operator Azure.ResourceManager.HealthcareApis.Models.SmartDataAction (string value) { throw null; } + public static bool operator !=(Azure.ResourceManager.HealthcareApis.Models.SmartDataAction left, Azure.ResourceManager.HealthcareApis.Models.SmartDataAction right) { throw null; } + public override string ToString() { throw null; } + } + public partial class SmartIdentityProviderApplication : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public SmartIdentityProviderApplication() { } + public System.Collections.Generic.IList AllowedDataActions { get { throw null; } } + public string Audience { get { throw null; } set { } } + public string ClientId { get { throw null; } set { } } + Azure.ResourceManager.HealthcareApis.Models.SmartIdentityProviderApplication 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.SmartIdentityProviderApplication System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class SmartIdentityProviderConfiguration : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public SmartIdentityProviderConfiguration() { } + public System.Collections.Generic.IList Applications { get { throw null; } } + public string Authority { get { throw null; } set { } } + Azure.ResourceManager.HealthcareApis.Models.SmartIdentityProviderConfiguration 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.SmartIdentityProviderConfiguration System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class StorageConfiguration : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public StorageConfiguration() { } + public string FileSystemName { get { throw null; } set { } } + public string StorageResourceId { get { throw null; } set { } } + Azure.ResourceManager.HealthcareApis.Models.StorageConfiguration 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.StorageConfiguration System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(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 e245ef917c36..c56b53a847f0 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 @@ -12,6 +12,7 @@ using Azure.Identity; using Azure.ResourceManager; using Azure.ResourceManager.HealthcareApis; +using Azure.ResourceManager.HealthcareApis.Models; namespace Azure.ResourceManager.HealthcareApis.Samples { @@ -22,7 +23,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/2023-11-01/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 @@ -59,7 +60,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/2023-11-01/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 @@ -94,7 +95,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/2023-11-01/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 @@ -125,7 +126,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/2023-11-01/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 @@ -168,7 +169,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/2023-11-01/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 @@ -189,7 +190,14 @@ public async Task CreateOrUpdate_CreateOrUpdateADicomService() // invoke the operation string dicomServiceName = "blue"; - DicomServiceData data = new DicomServiceData(new AzureLocation("westus")); + DicomServiceData data = new DicomServiceData(new AzureLocation("westus")) + { + StorageConfiguration = new StorageConfiguration() + { + StorageResourceId = "/subscriptions/ab309d4e-4c2e-4241-be2e-08e1c8dd4246/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/accountname", + FileSystemName = "fileSystemName", + }, + }; 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 6ce26b17c4d1..802da06ca2cc 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 @@ -23,7 +23,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/2023-11-01/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 @@ -55,7 +55,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/2023-11-01/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 @@ -95,7 +95,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/2023-11-01/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 0984082baf3b..35f23c106ec7 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 @@ -24,7 +24,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/2023-11-01/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 @@ -61,7 +61,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/2023-11-01/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 @@ -96,7 +96,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/2023-11-01/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 @@ -127,7 +127,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/2023-11-01/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 @@ -170,7 +170,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/2023-11-01/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 @@ -206,6 +206,25 @@ public async Task CreateOrUpdate_CreateOrUpdateAFhirService() Authority = "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc", Audience = "https://azurehealthcareapis.com", IsSmartProxyEnabled = true, + SmartIdentityProviders = +{ +new SmartIdentityProviderConfiguration() +{ +Authority = "https://login.b2clogin.com/11111111-1111-1111-1111-111111111111/v2.0", +Applications = +{ +new SmartIdentityProviderApplication() +{ +ClientId = "22222222-2222-2222-2222-222222222222", +Audience = "22222222-2222-2222-2222-222222222222", +AllowedDataActions = +{ +SmartDataAction.Read +}, +} +}, +} +}, }, CorsConfiguration = new FhirServiceCorsConfiguration() { 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 ee02b25c6c26..2a1af27b6aed 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 @@ -23,7 +23,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/2023-11-01/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 @@ -55,7 +55,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/2023-11-01/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 @@ -95,7 +95,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/2023-11-01/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 341e3e621926..397006b70ef9 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 @@ -25,7 +25,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/2023-11-01/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 @@ -62,7 +62,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/2023-11-01/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 @@ -97,7 +97,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/2023-11-01/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 @@ -128,7 +128,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/2023-11-01/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 @@ -171,7 +171,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/2023-11-01/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 0ced9507ccc5..4259b3539471 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 @@ -24,7 +24,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/2023-11-01/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 @@ -56,7 +56,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/2023-11-01/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 @@ -99,7 +99,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/2023-11-01/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 41bb32ae32ee..1d7d391fc4ae 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 @@ -24,7 +24,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/2023-11-01/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 @@ -62,7 +62,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/2023-11-01/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 @@ -98,7 +98,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/2023-11-01/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 @@ -130,7 +130,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/2023-11-01/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 @@ -174,7 +174,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/2023-11-01/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 2d8507189299..bcdc379b324f 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 @@ -24,7 +24,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/2023-11-01/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 @@ -57,7 +57,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/2023-11-01/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 @@ -119,7 +119,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/2023-11-01/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 99d9b35567ea..33a209cb3d84 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 @@ -12,8 +12,6 @@ using Azure.Identity; using Azure.ResourceManager; using Azure.ResourceManager.HealthcareApis; -using Azure.ResourceManager.HealthcareApis.Models; -using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; namespace Azure.ResourceManager.HealthcareApis.Samples @@ -25,7 +23,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/2023-11-01/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 @@ -59,7 +57,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/2023-11-01/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 @@ -89,7 +87,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/2023-11-01/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 @@ -131,7 +129,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/2023-11-01/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 @@ -165,7 +163,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/2023-11-01/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 @@ -195,7 +193,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/2023-11-01/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 @@ -232,225 +230,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/2023-11-01/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/2023-11-01/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/2023-11-01/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/2023-11-01/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 25a81a9eb301..4d657f651bcd 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 @@ -23,7 +23,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/2023-11-01/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 @@ -60,7 +60,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/2023-11-01/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 @@ -95,7 +95,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/2023-11-01/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 @@ -126,7 +126,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/2023-11-01/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 @@ -169,7 +169,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/2023-11-01/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 6988632e73be..59e63d844c4a 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 @@ -23,7 +23,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/2023-11-01/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 @@ -55,7 +55,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/2023-11-01/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 @@ -96,7 +96,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/2023-11-01/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 a4115d5c153b..17a02e92cb7c 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 @@ -21,7 +21,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/2023-11-01/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 f92da39bdf84..12e521b81984 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 @@ -22,7 +22,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/2023-11-01/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 @@ -59,7 +59,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/2023-11-01/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 @@ -94,7 +94,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/2023-11-01/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 @@ -125,7 +125,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/2023-11-01/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 f1f3db12cc6a..d5cef0b17c3f 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 @@ -24,7 +24,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/2023-11-01/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 @@ -55,7 +55,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/2023-11-01/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 @@ -86,7 +86,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/2023-11-01/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 @@ -126,7 +126,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/2023-11-01/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 @@ -153,7 +153,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/2023-11-01/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 @@ -185,7 +185,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/2023-11-01/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 cd01cb7f7f46..c8d488c886d4 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 @@ -24,7 +24,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/2023-11-01/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 @@ -60,7 +60,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/2023-11-01/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 @@ -94,7 +94,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/2023-11-01/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 @@ -124,7 +124,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/2023-11-01/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 @@ -166,7 +166,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/2023-11-01/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 755192fd8af0..2442b540756e 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 @@ -23,7 +23,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/2023-11-01/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 @@ -60,7 +60,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/2023-11-01/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 @@ -95,7 +95,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/2023-11-01/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 @@ -126,7 +126,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/2023-11-01/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 @@ -169,7 +169,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/2023-11-01/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 5464c5e798a7..6e73e9db0d0b 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 @@ -23,7 +23,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/2023-11-01/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 @@ -55,7 +55,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/2023-11-01/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 @@ -96,7 +96,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/2023-11-01/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 33e6f8f56f30..9e03376d33d6 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 @@ -21,7 +21,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/2023-11-01/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 a3494673c055..818115b3866f 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 @@ -22,7 +22,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/2023-11-01/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 @@ -59,7 +59,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/2023-11-01/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 @@ -94,7 +94,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/2023-11-01/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 @@ -125,7 +125,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/2023-11-01/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 7a5e66740c6b..b2d7f40e2737 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 @@ -24,7 +24,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/2023-11-01/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 @@ -56,7 +56,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/2023-11-01/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 @@ -87,7 +87,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/2023-11-01/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 @@ -126,7 +126,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/2023-11-01/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 33acd458bdbd..205022d90268 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/ArmHealthcareApisModelFactory.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/ArmHealthcareApisModelFactory.cs @@ -24,14 +24,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(); @@ -40,10 +40,10 @@ public static HealthcareApisServiceData HealthcareApisServiceData(ResourceIdenti name, resourceType, systemData, - tags, - location, properties, kind, + location, + tags, etag, identity, serializedAdditionalRawData: null); @@ -80,6 +80,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. @@ -102,6 +152,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. @@ -190,10 +262,11 @@ public static HealthcareApisWorkspaceProperties HealthcareApisWorkspacePropertie /// Control permission for data plane traffic coming from public networks while private endpoint is enabled. /// DICOM Service event support status. /// The encryption settings of the DICOM service. + /// The configuration of external storage account. /// 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, 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, StorageConfiguration storageConfiguration = null, ManagedServiceIdentity identity = null, ETag? etag = null) { tags ??= new Dictionary(); privateEndpointConnections ??= new List(); @@ -213,6 +286,7 @@ public static DicomServiceData DicomServiceData(ResourceIdentifier id = null, st publicNetworkAccess, eventState, keyEncryptionKeyUri != null ? new Encryption(new EncryptionCustomerManagedKeyEncryption(keyEncryptionKeyUri, serializedAdditionalRawData: null), serializedAdditionalRawData: null) : null, + storageConfiguration, identity, etag, serializedAdditionalRawData: null); @@ -341,5 +415,29 @@ public static FhirServiceData FhirServiceData(ResourceIdentifier id = null, stri etag, serializedAdditionalRawData: null); } + + /// Initializes a new instance of . + /// The id. + /// The name. + /// The resourceType. + /// The systemData. + /// The tags. + /// The location. + /// The provisioning state. + /// Dicom Service authentication configuration. + /// Dicom Service Cors configuration. + /// The url of the Dicom Services. + /// The list of private endpoint connections that are set up for this resource. + /// Control permission for data plane traffic coming from public networks while private endpoint is enabled. + /// DICOM Service event support status. + /// The encryption settings of the DICOM service. + /// 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. + [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, 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 b1bd0b889263..0137047cbbb8 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/DicomServiceCollection.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/DicomServiceCollection.cs @@ -66,7 +66,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -115,7 +115,7 @@ public virtual async Task> CreateOrUpdateAsyn /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -164,7 +164,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUntil waitU /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -209,7 +209,7 @@ public virtual async Task> GetAsync(string dicomS /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -254,7 +254,7 @@ public virtual Response Get(string dicomServiceName, Cance /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -284,7 +284,7 @@ public virtual AsyncPageable GetAllAsync(CancellationToken /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -314,7 +314,7 @@ public virtual Pageable GetAll(CancellationToken cancellat /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -357,7 +357,7 @@ public virtual async Task> ExistsAsync(string dicomServiceName, C /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -400,7 +400,7 @@ public virtual Response Exists(string dicomServiceName, CancellationToken /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -445,7 +445,7 @@ public virtual async Task> GetIfExistsAsy /// /// /// Default Api Version - /// 2023-11-01 + /// 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 71de8356c735..68a6d4f8b3f7 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/DicomServiceData.Serialization.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/DicomServiceData.Serialization.cs @@ -120,6 +120,11 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriter writer.WritePropertyName("encryption"u8); writer.WriteObjectValue(Encryption); } + if (Optional.IsDefined(StorageConfiguration)) + { + writer.WritePropertyName("storageConfiguration"u8); + writer.WriteObjectValue(StorageConfiguration); + } writer.WriteEndObject(); if (options.Format != "W" && _serializedAdditionalRawData != null) { @@ -175,6 +180,7 @@ internal static DicomServiceData DeserializeDicomServiceData(JsonElement element HealthcareApisPublicNetworkAccess? publicNetworkAccess = default; FhirServiceEventState? eventState = default; Encryption encryption = default; + StorageConfiguration storageConfiguration = default; IDictionary serializedAdditionalRawData = default; Dictionary additionalPropertiesDictionary = new Dictionary(); foreach (var property in element.EnumerateObject()) @@ -327,6 +333,15 @@ internal static DicomServiceData DeserializeDicomServiceData(JsonElement element encryption = Encryption.DeserializeEncryption(property0.Value, options); continue; } + if (property0.NameEquals("storageConfiguration"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + storageConfiguration = StorageConfiguration.DeserializeStorageConfiguration(property0.Value, options); + continue; + } } continue; } @@ -351,6 +366,7 @@ internal static DicomServiceData DeserializeDicomServiceData(JsonElement element publicNetworkAccess, eventState, encryption, + storageConfiguration, 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 015eb1430ea9..bacfbd719708 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/DicomServiceData.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/DicomServiceData.cs @@ -74,10 +74,11 @@ public DicomServiceData(AzureLocation location) : base(location) /// Control permission for data plane traffic coming from public networks while private endpoint is enabled. /// DICOM Service event support status. /// The encryption settings of the DICOM service. + /// The configuration of external storage account. /// 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, 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, StorageConfiguration storageConfiguration, ManagedServiceIdentity identity, ETag? etag, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData, tags, location) { ProvisioningState = provisioningState; AuthenticationConfiguration = authenticationConfiguration; @@ -87,6 +88,7 @@ internal DicomServiceData(ResourceIdentifier id, string name, ResourceType resou PublicNetworkAccess = publicNetworkAccess; EventState = eventState; Encryption = encryption; + StorageConfiguration = storageConfiguration; Identity = identity; ETag = etag; _serializedAdditionalRawData = serializedAdditionalRawData; @@ -125,6 +127,8 @@ public Uri KeyEncryptionKeyUri } } + /// The configuration of external storage account. + public StorageConfiguration StorageConfiguration { 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 2d4c783e0808..459712ff1add 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/DicomServiceResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/DicomServiceResource.cs @@ -105,7 +105,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -145,7 +145,7 @@ public virtual async Task> GetAsync(CancellationT /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -185,7 +185,7 @@ public virtual Response Get(CancellationToken cancellation /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -227,7 +227,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -269,7 +269,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -315,7 +315,7 @@ public virtual async Task> UpdateAsync(WaitUn /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -361,7 +361,7 @@ public virtual ArmOperation Update(WaitUntil waitUntil, Di /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -423,7 +423,7 @@ public virtual async Task> AddTagAsync(string key /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -485,7 +485,7 @@ public virtual Response AddTag(string key, string value, C /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -542,7 +542,7 @@ public virtual async Task> SetTagsAsync(IDictiona /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -599,7 +599,7 @@ public virtual Response SetTags(IDictionary /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -659,7 +659,7 @@ public virtual async Task> RemoveTagAsync(string /// /// /// Default Api Version - /// 2023-11-01 + /// 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 2464c5ab887d..c76bf1edcf1b 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Extensions/HealthcareApisExtensions.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Extensions/HealthcareApisExtensions.cs @@ -255,7 +255,7 @@ public static HealthcareApisServiceCollection GetHealthcareApisServices(this Res /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -293,7 +293,7 @@ public static async Task> GetHealthcareA /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -348,7 +348,7 @@ public static HealthcareApisWorkspaceCollection GetHealthcareApisWorkspaces(this /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -386,7 +386,7 @@ public static async Task> GetHealthcar /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -424,7 +424,7 @@ public static Response GetHealthcareApisWorkspa /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -460,7 +460,7 @@ public static AsyncPageable GetHealthcareApisServ /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -496,7 +496,7 @@ public static Pageable GetHealthcareApisServices( /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -532,7 +532,7 @@ public static async Task> CheckHe /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -568,7 +568,7 @@ public static Response CheckHealthcareApis /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -604,7 +604,7 @@ public static AsyncPageable GetHealthcareApisWo /// /// /// Default Api Version - /// 2023-11-01 + /// 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 e5573190d42c..0b907f0a916f 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Extensions/MockableHealthcareApisResourceGroupResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Extensions/MockableHealthcareApisResourceGroupResource.cs @@ -56,7 +56,7 @@ public virtual HealthcareApisServiceCollection GetHealthcareApisServices() /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -87,7 +87,7 @@ public virtual async Task> GetHealthcare /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -125,7 +125,7 @@ public virtual HealthcareApisWorkspaceCollection GetHealthcareApisWorkspaces() /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -156,7 +156,7 @@ public virtual async Task> GetHealthca /// /// /// Default Api Version - /// 2023-11-01 + /// 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 468aed9f2921..3355a67d0ae1 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Extensions/MockableHealthcareApisSubscriptionResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Extensions/MockableHealthcareApisSubscriptionResource.cs @@ -62,7 +62,7 @@ private string GetApiVersionOrNull(ResourceType resourceType) /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -92,7 +92,7 @@ public virtual AsyncPageable GetHealthcareApisSer /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -122,7 +122,7 @@ public virtual Pageable GetHealthcareApisServices /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -164,7 +164,7 @@ public virtual async Task> CheckH /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -206,7 +206,7 @@ public virtual Response CheckHealthcareApi /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -236,7 +236,7 @@ public virtual AsyncPageable GetHealthcareApisW /// /// /// Default Api Version - /// 2023-11-01 + /// 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 2a9fed34f336..4b4f1fdc86bd 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/FhirServiceCollection.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/FhirServiceCollection.cs @@ -66,7 +66,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -115,7 +115,7 @@ public virtual async Task> CreateOrUpdateAsync /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -164,7 +164,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUntil waitUn /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -209,7 +209,7 @@ public virtual async Task> GetAsync(string fhirSer /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -254,7 +254,7 @@ public virtual Response Get(string fhirServiceName, Cancell /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -284,7 +284,7 @@ public virtual AsyncPageable GetAllAsync(CancellationToken /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -314,7 +314,7 @@ public virtual Pageable GetAll(CancellationToken cancellati /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -357,7 +357,7 @@ public virtual async Task> ExistsAsync(string fhirServiceName, Ca /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -400,7 +400,7 @@ public virtual Response Exists(string fhirServiceName, CancellationToken c /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -445,7 +445,7 @@ public virtual async Task> GetIfExistsAsyn /// /// /// Default Api Version - /// 2023-11-01 + /// 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 262c39882b5d..75606a47eb6a 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/FhirServiceResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/FhirServiceResource.cs @@ -105,7 +105,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -145,7 +145,7 @@ public virtual async Task> GetAsync(CancellationTo /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -185,7 +185,7 @@ public virtual Response Get(CancellationToken cancellationT /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -227,7 +227,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -269,7 +269,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -315,7 +315,7 @@ public virtual async Task> UpdateAsync(WaitUnt /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -361,7 +361,7 @@ public virtual ArmOperation Update(WaitUntil waitUntil, Fhi /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -423,7 +423,7 @@ public virtual async Task> AddTagAsync(string key, /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -485,7 +485,7 @@ public virtual Response AddTag(string key, string value, Ca /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -542,7 +542,7 @@ public virtual async Task> SetTagsAsync(IDictionar /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -599,7 +599,7 @@ public virtual Response SetTags(IDictionary /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -659,7 +659,7 @@ public virtual async Task> RemoveTagAsync(string k /// /// /// Default Api Version - /// 2023-11-01 + /// 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 a335877c77a2..84aee2b01c98 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisIotConnectorCollection.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisIotConnectorCollection.cs @@ -66,7 +66,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -115,7 +115,7 @@ public virtual async Task> Crea /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -164,7 +164,7 @@ public virtual ArmOperation CreateOrUpdate(W /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -209,7 +209,7 @@ public virtual async Task> GetAsync /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -254,7 +254,7 @@ public virtual Response Get(string iotConnec /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -284,7 +284,7 @@ public virtual AsyncPageable GetAllAsync(Can /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -314,7 +314,7 @@ public virtual Pageable GetAll(CancellationT /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -357,7 +357,7 @@ public virtual async Task> ExistsAsync(string iotConnectorName, C /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -400,7 +400,7 @@ public virtual Response Exists(string iotConnectorName, CancellationToken /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -445,7 +445,7 @@ public virtual async Task> /// /// /// Default Api Version - /// 2023-11-01 + /// 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 7b4be4016409..b2fc64d72ba0 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisIotConnectorResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisIotConnectorResource.cs @@ -112,7 +112,7 @@ public virtual HealthcareApisIotFhirDestinationCollection GetHealthcareApisIotFh /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -143,7 +143,7 @@ public virtual async Task> Ge /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -174,7 +174,7 @@ public virtual Response GetHealthcareA /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -214,7 +214,7 @@ public virtual async Task> GetAsync /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -254,7 +254,7 @@ public virtual Response Get(CancellationToke /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -296,7 +296,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -338,7 +338,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -384,7 +384,7 @@ public virtual async Task> Upda /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -430,7 +430,7 @@ public virtual ArmOperation Update(WaitUntil /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -492,7 +492,7 @@ public virtual async Task> AddTagAs /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -554,7 +554,7 @@ public virtual Response AddTag(string key, s /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -611,7 +611,7 @@ public virtual async Task> SetTagsA /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -668,7 +668,7 @@ public virtual Response SetTags(IDictionary< /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -728,7 +728,7 @@ public virtual async Task> RemoveTa /// /// /// Default Api Version - /// 2023-11-01 + /// 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 7f83512794f9..057c27a6b884 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisIotFhirDestinationCollection.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisIotFhirDestinationCollection.cs @@ -71,7 +71,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -120,7 +120,7 @@ public virtual async Task /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -169,7 +169,7 @@ public virtual ArmOperation CreateOrUp /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -214,7 +214,7 @@ public virtual async Task> Ge /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -259,7 +259,7 @@ public virtual Response Get(string fhi /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -289,7 +289,7 @@ public virtual AsyncPageable GetAllAsy /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -319,7 +319,7 @@ public virtual Pageable GetAll(Cancell /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -362,7 +362,7 @@ public virtual async Task> ExistsAsync(string fhirDestinationName /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -405,7 +405,7 @@ public virtual Response Exists(string fhirDestinationName, CancellationTok /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -450,7 +450,7 @@ public virtual async Task /// /// Default Api Version - /// 2023-11-01 + /// 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 2ab4c487b615..e6e58dcdd342 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisIotFhirDestinationResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisIotFhirDestinationResource.cs @@ -104,7 +104,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -144,7 +144,7 @@ public virtual async Task> Ge /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -184,7 +184,7 @@ public virtual Response Get(Cancellati /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -226,7 +226,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -268,7 +268,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -314,7 +314,7 @@ public virtual async Task /// /// /// Default Api Version - /// 2023-11-01 + /// 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 0115a3c9847b..48a8c6c1022f 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServiceCollection.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServiceCollection.cs @@ -54,104 +54,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 - /// 2023-11-01 - /// - /// - /// 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 - /// 2023-11-01 - /// - /// - /// 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. /// @@ -165,7 +67,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUn /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -210,7 +112,7 @@ public virtual async Task> GetAsync(stri /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -255,7 +157,7 @@ public virtual Response Get(string resourceName, /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -285,7 +187,7 @@ public virtual AsyncPageable GetAllAsync(Cancella /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -315,7 +217,7 @@ public virtual Pageable GetAll(CancellationToken /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -358,7 +260,7 @@ public virtual async Task> ExistsAsync(string resourceName, Cance /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -401,7 +303,7 @@ public virtual Response Exists(string resourceName, CancellationToken canc /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -446,7 +348,7 @@ public virtual async Task> GetIf /// /// /// Default Api Version - /// 2023-11-01 + /// 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 39cb78b52614..23bb7874a7c3 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServiceData.Serialization.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServiceData.Serialization.cs @@ -36,16 +36,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); @@ -57,8 +49,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); @@ -119,10 +119,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; @@ -145,41 +145,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)) @@ -217,10 +217,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 a25a8925dc33..5833012e01da 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServiceData.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServiceData.cs @@ -18,7 +18,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. @@ -53,11 +53,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 . @@ -65,17 +67,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; @@ -87,12 +91,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 e959a38a308b..03998afce634 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServicePrivateEndpointConnectionCollection.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServicePrivateEndpointConnectionCollection.cs @@ -66,7 +66,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -115,7 +115,7 @@ public virtual async Task /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -164,7 +164,7 @@ public virtual ArmOperation /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -209,7 +209,7 @@ public virtual async Task /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -254,7 +254,7 @@ public virtual Response /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -283,7 +283,7 @@ public virtual AsyncPageable /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -312,7 +312,7 @@ public virtual Pageable /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -355,7 +355,7 @@ public virtual async Task> ExistsAsync(string privateEndpointConn /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -398,7 +398,7 @@ public virtual Response Exists(string privateEndpointConnectionName, Cance /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -443,7 +443,7 @@ public virtual async Task /// /// Default Api Version - /// 2023-11-01 + /// 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 e3e38d6cf8f3..dfbc04673024 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServicePrivateEndpointConnectionResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServicePrivateEndpointConnectionResource.cs @@ -103,7 +103,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -143,7 +143,7 @@ public virtual async Task /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -183,7 +183,7 @@ public virtual Response /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -225,7 +225,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -267,7 +267,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -313,7 +313,7 @@ public virtual async Task /// /// Default Api Version - /// 2023-11-01 + /// 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 28336dad455f..bc13f6fa68a7 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServicePrivateLinkResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServicePrivateLinkResource.cs @@ -103,7 +103,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -143,7 +143,7 @@ public virtual async Task> Ge /// /// /// Default Api Version - /// 2023-11-01 + /// 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 c6d337230cfa..080eedb8104a 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServicePrivateLinkResourceCollection.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServicePrivateLinkResourceCollection.cs @@ -66,7 +66,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -111,7 +111,7 @@ public virtual async Task> Ge /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -156,7 +156,7 @@ public virtual Response Get(string gro /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -185,7 +185,7 @@ public virtual AsyncPageable GetAllAsy /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -214,7 +214,7 @@ public virtual Pageable GetAll(Cancell /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -257,7 +257,7 @@ public virtual async Task> ExistsAsync(string groupName, Cancella /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -300,7 +300,7 @@ public virtual Response Exists(string groupName, CancellationToken cancell /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -345,7 +345,7 @@ public virtual async Task /// /// Default Api Version - /// 2023-11-01 + /// 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 10a9127e265a..e9363d376631 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServiceResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisServiceResource.cs @@ -112,7 +112,7 @@ public virtual HealthcareApisServicePrivateEndpointConnectionCollection GetHealt /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -143,7 +143,7 @@ public virtual async Task /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -181,7 +181,7 @@ public virtual HealthcareApisServicePrivateLinkResourceCollection GetHealthcareA /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -212,7 +212,7 @@ public virtual async Task> Ge /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -243,7 +243,7 @@ public virtual Response GetHealthcareA /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -283,7 +283,7 @@ public virtual async Task> GetAsync(Canc /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -323,7 +323,7 @@ public virtual Response Get(CancellationToken can /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -365,7 +365,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -407,7 +407,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -453,7 +453,7 @@ public virtual async Task> UpdateAsy /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -499,7 +499,7 @@ public virtual ArmOperation Update(WaitUntil wait /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -561,7 +561,7 @@ public virtual async Task> AddTagAsync(s /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -623,7 +623,7 @@ public virtual Response AddTag(string key, string /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -680,7 +680,7 @@ public virtual async Task> SetTagsAsync( /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -737,7 +737,7 @@ public virtual Response SetTags(IDictionary /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -797,7 +797,7 @@ public virtual async Task> RemoveTagAsyn /// /// /// Default Api Version - /// 2023-11-01 + /// 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 29ea879bba78..598d6cecc378 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisWorkspaceCollection.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisWorkspaceCollection.cs @@ -67,7 +67,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -116,7 +116,7 @@ public virtual async Task> CreateO /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -165,7 +165,7 @@ public virtual ArmOperation CreateOrUpdate(Wait /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -210,7 +210,7 @@ public virtual async Task> GetAsync(st /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -255,7 +255,7 @@ public virtual Response Get(string workspaceNam /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -285,7 +285,7 @@ public virtual AsyncPageable GetAllAsync(Cancel /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -315,7 +315,7 @@ public virtual Pageable GetAll(CancellationToke /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -358,7 +358,7 @@ public virtual async Task> ExistsAsync(string workspaceName, Canc /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -401,7 +401,7 @@ public virtual Response Exists(string workspaceName, CancellationToken can /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -446,7 +446,7 @@ public virtual async Task> Get /// /// /// Default Api Version - /// 2023-11-01 + /// 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 89dc78f5b6ae..0a458e6db8c3 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisWorkspacePrivateEndpointConnectionCollection.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisWorkspacePrivateEndpointConnectionCollection.cs @@ -66,7 +66,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -115,7 +115,7 @@ public virtual async Task /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -164,7 +164,7 @@ public virtual ArmOperation /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -209,7 +209,7 @@ public virtual async Task /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -254,7 +254,7 @@ public virtual Response /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -283,7 +283,7 @@ public virtual AsyncPageable /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -312,7 +312,7 @@ public virtual Pageable /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -355,7 +355,7 @@ public virtual async Task> ExistsAsync(string privateEndpointConn /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -398,7 +398,7 @@ public virtual Response Exists(string privateEndpointConnectionName, Cance /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -443,7 +443,7 @@ public virtual async Task /// /// Default Api Version - /// 2023-11-01 + /// 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 1bd14ee62b5b..b297349e308c 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisWorkspacePrivateEndpointConnectionResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisWorkspacePrivateEndpointConnectionResource.cs @@ -103,7 +103,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -143,7 +143,7 @@ public virtual async Task /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -183,7 +183,7 @@ public virtual Response /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -225,7 +225,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -267,7 +267,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -313,7 +313,7 @@ public virtual async Task /// /// Default Api Version - /// 2023-11-01 + /// 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 4bce3e93631a..b29aa1219f0f 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisWorkspacePrivateLinkResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisWorkspacePrivateLinkResource.cs @@ -103,7 +103,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -143,7 +143,7 @@ public virtual async Task> /// /// /// Default Api Version - /// 2023-11-01 + /// 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 8f5f1039edd7..b70b6661cbb7 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisWorkspacePrivateLinkResourceCollection.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisWorkspacePrivateLinkResourceCollection.cs @@ -66,7 +66,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -111,7 +111,7 @@ public virtual async Task> /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -156,7 +156,7 @@ public virtual Response Get(string g /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -185,7 +185,7 @@ public virtual AsyncPageable GetAllA /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -214,7 +214,7 @@ public virtual Pageable GetAll(Cance /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -257,7 +257,7 @@ public virtual async Task> ExistsAsync(string groupName, Cancella /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -300,7 +300,7 @@ public virtual Response Exists(string groupName, CancellationToken cancell /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -345,7 +345,7 @@ public virtual async Task /// /// Default Api Version - /// 2023-11-01 + /// 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 01afbaba46eb..bfc25c0e6388 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisWorkspaceResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/HealthcareApisWorkspaceResource.cs @@ -112,7 +112,7 @@ public virtual HealthcareApisWorkspacePrivateEndpointConnectionCollection GetHea /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -143,7 +143,7 @@ public virtual async Task /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -181,7 +181,7 @@ public virtual HealthcareApisWorkspacePrivateLinkResourceCollection GetHealthcar /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -212,7 +212,7 @@ public virtual async Task> /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -250,7 +250,7 @@ public virtual DicomServiceCollection GetDicomServices() /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -281,7 +281,7 @@ public virtual async Task> GetDicomServiceAsync(s /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -319,7 +319,7 @@ public virtual HealthcareApisIotConnectorCollection GetHealthcareApisIotConnecto /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -350,7 +350,7 @@ public virtual async Task> GetHealt /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -388,7 +388,7 @@ public virtual FhirServiceCollection GetFhirServices() /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -419,7 +419,7 @@ public virtual async Task> GetFhirServiceAsync(str /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -450,7 +450,7 @@ public virtual Response GetFhirService(string fhirServiceNa /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -490,7 +490,7 @@ public virtual async Task> GetAsync(Ca /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -530,7 +530,7 @@ public virtual Response Get(CancellationToken c /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -572,7 +572,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -614,7 +614,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -660,7 +660,7 @@ public virtual async Task> UpdateA /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -706,7 +706,7 @@ public virtual ArmOperation Update(WaitUntil wa /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -768,7 +768,7 @@ public virtual async Task> AddTagAsync /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -830,7 +830,7 @@ public virtual Response AddTag(string key, stri /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -887,7 +887,7 @@ public virtual async Task> SetTagsAsyn /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -944,7 +944,7 @@ public virtual Response SetTags(IDictionary /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource @@ -1004,7 +1004,7 @@ public virtual async Task> RemoveTagAs /// /// /// Default Api Version - /// 2023-11-01 + /// 2024-03-01 /// /// /// Resource diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/FhirServiceAuthenticationConfiguration.Serialization.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/FhirServiceAuthenticationConfiguration.Serialization.cs index 7f8f7893b7e7..328dd1ea914a 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/FhirServiceAuthenticationConfiguration.Serialization.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/FhirServiceAuthenticationConfiguration.Serialization.cs @@ -42,6 +42,16 @@ void IJsonModel.Write(Utf8JsonWriter wri writer.WritePropertyName("smartProxyEnabled"u8); writer.WriteBooleanValue(IsSmartProxyEnabled.Value); } + if (Optional.IsCollectionDefined(SmartIdentityProviders)) + { + writer.WritePropertyName("smartIdentityProviders"u8); + writer.WriteStartArray(); + foreach (var item in SmartIdentityProviders) + { + writer.WriteObjectValue(item); + } + writer.WriteEndArray(); + } if (options.Format != "W" && _serializedAdditionalRawData != null) { foreach (var item in _serializedAdditionalRawData) @@ -83,6 +93,7 @@ internal static FhirServiceAuthenticationConfiguration DeserializeFhirServiceAut string authority = default; string audience = default; bool? smartProxyEnabled = default; + IList smartIdentityProviders = default; IDictionary serializedAdditionalRawData = default; Dictionary additionalPropertiesDictionary = new Dictionary(); foreach (var property in element.EnumerateObject()) @@ -106,13 +117,27 @@ internal static FhirServiceAuthenticationConfiguration DeserializeFhirServiceAut smartProxyEnabled = property.Value.GetBoolean(); continue; } + if (property.NameEquals("smartIdentityProviders"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + List array = new List(); + foreach (var item in property.Value.EnumerateArray()) + { + array.Add(SmartIdentityProviderConfiguration.DeserializeSmartIdentityProviderConfiguration(item, options)); + } + smartIdentityProviders = array; + continue; + } if (options.Format != "W") { additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); } } serializedAdditionalRawData = additionalPropertiesDictionary; - return new FhirServiceAuthenticationConfiguration(authority, audience, smartProxyEnabled, serializedAdditionalRawData); + return new FhirServiceAuthenticationConfiguration(authority, audience, smartProxyEnabled, smartIdentityProviders ?? new ChangeTrackingList(), serializedAdditionalRawData); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/FhirServiceAuthenticationConfiguration.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/FhirServiceAuthenticationConfiguration.cs index 2164ecfa5bef..a7a2f297fb6c 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/FhirServiceAuthenticationConfiguration.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/FhirServiceAuthenticationConfiguration.cs @@ -7,6 +7,7 @@ using System; using System.Collections.Generic; +using Azure.ResourceManager.HealthcareApis; namespace Azure.ResourceManager.HealthcareApis.Models { @@ -48,18 +49,21 @@ public partial class FhirServiceAuthenticationConfiguration /// Initializes a new instance of . public FhirServiceAuthenticationConfiguration() { + SmartIdentityProviders = new ChangeTrackingList(); } /// 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. + /// The array of identity provider configurations for SMART on FHIR authentication. /// Keeps track of any properties unknown to the library. - internal FhirServiceAuthenticationConfiguration(string authority, string audience, bool? isSmartProxyEnabled, IDictionary serializedAdditionalRawData) + internal FhirServiceAuthenticationConfiguration(string authority, string audience, bool? isSmartProxyEnabled, IList smartIdentityProviders, IDictionary serializedAdditionalRawData) { Authority = authority; Audience = audience; IsSmartProxyEnabled = isSmartProxyEnabled; + SmartIdentityProviders = smartIdentityProviders; _serializedAdditionalRawData = serializedAdditionalRawData; } @@ -69,5 +73,7 @@ internal FhirServiceAuthenticationConfiguration(string authority, string audienc public string Audience { get; set; } /// If the SMART on FHIR proxy is enabled. public bool? IsSmartProxyEnabled { get; set; } + /// The array of identity provider configurations for SMART on FHIR authentication. + public IList SmartIdentityProviders { get; } } } 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 bc7dfe52f089..5fc204064b88 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceAccessPolicyEntry.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceAccessPolicyEntry.cs @@ -49,7 +49,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)); @@ -71,6 +71,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 d6a801529ff3..ac34bbfc0045 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 @@ -85,8 +85,8 @@ internal static HealthcareApisServiceAcrConfiguration DeserializeHealthcareApisS { return null; } - IList loginServers = default; - IList ociArtifacts = default; + IReadOnlyList loginServers = default; + IReadOnlyList ociArtifacts = default; IDictionary serializedAdditionalRawData = default; Dictionary additionalPropertiesDictionary = 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 4929384fc37d..957b4ef3b8ba 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceAcrConfiguration.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceAcrConfiguration.cs @@ -47,7 +47,7 @@ public partial class HealthcareApisServiceAcrConfiguration private IDictionary _serializedAdditionalRawData; /// Initializes a new instance of . - public HealthcareApisServiceAcrConfiguration() + internal HealthcareApisServiceAcrConfiguration() { LoginServers = new ChangeTrackingList(); OciArtifacts = new ChangeTrackingList(); @@ -57,7 +57,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; @@ -65,8 +65,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 70a9cb8fa40f..9bde136eff8d 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 @@ -105,9 +105,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 99d9291992f6..7ad471ea1f52 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceCorsConfiguration.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceCorsConfiguration.cs @@ -47,7 +47,7 @@ public partial class HealthcareApisServiceCorsConfiguration private IDictionary _serializedAdditionalRawData; /// Initializes a new instance of . - public HealthcareApisServiceCorsConfiguration() + internal HealthcareApisServiceCorsConfiguration() { Origins = new ChangeTrackingList(); Headers = new ChangeTrackingList(); @@ -61,7 +61,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; @@ -72,14 +72,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 4639a7437c62..ca24beaf7476 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 @@ -126,12 +126,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 a91cd1d9bc5a..61ca1575f2b1 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceProperties.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceProperties.cs @@ -47,7 +47,7 @@ public partial class HealthcareApisServiceProperties private IDictionary _serializedAdditionalRawData; /// Initializes a new instance of . - public HealthcareApisServiceProperties() + internal HealthcareApisServiceProperties() { AccessPolicies = new ChangeTrackingList(); PrivateEndpointConnections = new ChangeTrackingList(); @@ -65,7 +65,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; @@ -83,34 +83,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/Models/SmartDataAction.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/SmartDataAction.cs new file mode 100644 index 000000000000..787a37258768 --- /dev/null +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/SmartDataAction.cs @@ -0,0 +1,48 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace Azure.ResourceManager.HealthcareApis.Models +{ + /// The Data Actions that can be enabled for a Smart Identity Provider Application. + public readonly partial struct SmartDataAction : IEquatable + { + private readonly string _value; + + /// Initializes a new instance of . + /// is null. + public SmartDataAction(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + private const string ReadValue = "Read"; + + /// Read. + public static SmartDataAction Read { get; } = new SmartDataAction(ReadValue); + /// Determines if two values are the same. + public static bool operator ==(SmartDataAction left, SmartDataAction right) => left.Equals(right); + /// Determines if two values are not the same. + public static bool operator !=(SmartDataAction left, SmartDataAction right) => !left.Equals(right); + /// Converts a string to a . + public static implicit operator SmartDataAction(string value) => new SmartDataAction(value); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is SmartDataAction other && Equals(other); + /// + public bool Equals(SmartDataAction other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + /// + public override string ToString() => _value; + } +} diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/SmartIdentityProviderApplication.Serialization.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/SmartIdentityProviderApplication.Serialization.cs new file mode 100644 index 000000000000..66dd474603a0 --- /dev/null +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/SmartIdentityProviderApplication.Serialization.cs @@ -0,0 +1,159 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text.Json; +using Azure.Core; +using Azure.ResourceManager.HealthcareApis; + +namespace Azure.ResourceManager.HealthcareApis.Models +{ + public partial class SmartIdentityProviderApplication : IUtf8JsonSerializable, IJsonModel + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, new ModelReaderWriterOptions("W")); + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(SmartIdentityProviderApplication)} does not support '{format}' format."); + } + + writer.WriteStartObject(); + if (Optional.IsDefined(ClientId)) + { + writer.WritePropertyName("clientId"u8); + writer.WriteStringValue(ClientId); + } + if (Optional.IsDefined(Audience)) + { + writer.WritePropertyName("audience"u8); + writer.WriteStringValue(Audience); + } + if (Optional.IsCollectionDefined(AllowedDataActions)) + { + writer.WritePropertyName("allowedDataActions"u8); + writer.WriteStartArray(); + foreach (var item in AllowedDataActions) + { + writer.WriteStringValue(item.ToString()); + } + writer.WriteEndArray(); + } + if (options.Format != "W" && _serializedAdditionalRawData != null) + { + foreach (var item in _serializedAdditionalRawData) + { + writer.WritePropertyName(item.Key); +#if NET6_0_OR_GREATER + writer.WriteRawValue(item.Value); +#else + using (JsonDocument document = JsonDocument.Parse(item.Value)) + { + JsonSerializer.Serialize(writer, document.RootElement); + } +#endif + } + } + writer.WriteEndObject(); + } + + SmartIdentityProviderApplication IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(SmartIdentityProviderApplication)} does not support '{format}' format."); + } + + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeSmartIdentityProviderApplication(document.RootElement, options); + } + + internal static SmartIdentityProviderApplication DeserializeSmartIdentityProviderApplication(JsonElement element, ModelReaderWriterOptions options = null) + { + options ??= new ModelReaderWriterOptions("W"); + + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + string clientId = default; + string audience = default; + IList allowedDataActions = default; + IDictionary serializedAdditionalRawData = default; + Dictionary additionalPropertiesDictionary = new Dictionary(); + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("clientId"u8)) + { + clientId = property.Value.GetString(); + continue; + } + if (property.NameEquals("audience"u8)) + { + audience = property.Value.GetString(); + continue; + } + if (property.NameEquals("allowedDataActions"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + List array = new List(); + foreach (var item in property.Value.EnumerateArray()) + { + array.Add(new SmartDataAction(item.GetString())); + } + allowedDataActions = array; + continue; + } + if (options.Format != "W") + { + additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + } + } + serializedAdditionalRawData = additionalPropertiesDictionary; + return new SmartIdentityProviderApplication(clientId, audience, allowedDataActions ?? new ChangeTrackingList(), serializedAdditionalRawData); + } + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options); + default: + throw new FormatException($"The model {nameof(SmartIdentityProviderApplication)} does not support '{options.Format}' format."); + } + } + + SmartIdentityProviderApplication IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + { + using JsonDocument document = JsonDocument.Parse(data); + return DeserializeSmartIdentityProviderApplication(document.RootElement, options); + } + default: + throw new FormatException($"The model {nameof(SmartIdentityProviderApplication)} does not support '{options.Format}' format."); + } + } + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/SmartIdentityProviderApplication.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/SmartIdentityProviderApplication.cs new file mode 100644 index 000000000000..900ac703452b --- /dev/null +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/SmartIdentityProviderApplication.cs @@ -0,0 +1,75 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; +using Azure.ResourceManager.HealthcareApis; + +namespace Azure.ResourceManager.HealthcareApis.Models +{ + /// An Application configured in the Identity Provider used to access FHIR resources. + public partial class SmartIdentityProviderApplication + { + /// + /// Keeps track of any properties unknown to the library. + /// + /// To assign an object to the value of this property use . + /// + /// + /// To assign an already formatted json string to this property use . + /// + /// + /// Examples: + /// + /// + /// BinaryData.FromObjectAsJson("foo") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromString("\"foo\"") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromObjectAsJson(new { key = "value" }) + /// Creates a payload of { "key": "value" }. + /// + /// + /// BinaryData.FromString("{\"key\": \"value\"}") + /// Creates a payload of { "key": "value" }. + /// + /// + /// + /// + private IDictionary _serializedAdditionalRawData; + + /// Initializes a new instance of . + public SmartIdentityProviderApplication() + { + AllowedDataActions = new ChangeTrackingList(); + } + + /// Initializes a new instance of . + /// The application client id defined in the identity provider. This value will be used to validate bearer tokens against the given authority. + /// The audience that will be used to validate bearer tokens against the given authority. + /// The actions that are permitted to be performed on FHIR resources for the application. + /// Keeps track of any properties unknown to the library. + internal SmartIdentityProviderApplication(string clientId, string audience, IList allowedDataActions, IDictionary serializedAdditionalRawData) + { + ClientId = clientId; + Audience = audience; + AllowedDataActions = allowedDataActions; + _serializedAdditionalRawData = serializedAdditionalRawData; + } + + /// The application client id defined in the identity provider. This value will be used to validate bearer tokens against the given authority. + public string ClientId { get; set; } + /// The audience that will be used to validate bearer tokens against the given authority. + public string Audience { get; set; } + /// The actions that are permitted to be performed on FHIR resources for the application. + public IList AllowedDataActions { get; } + } +} diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/SmartIdentityProviderConfiguration.Serialization.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/SmartIdentityProviderConfiguration.Serialization.cs new file mode 100644 index 000000000000..b249bc164f2d --- /dev/null +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/SmartIdentityProviderConfiguration.Serialization.cs @@ -0,0 +1,148 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text.Json; +using Azure.Core; +using Azure.ResourceManager.HealthcareApis; + +namespace Azure.ResourceManager.HealthcareApis.Models +{ + public partial class SmartIdentityProviderConfiguration : IUtf8JsonSerializable, IJsonModel + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, new ModelReaderWriterOptions("W")); + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(SmartIdentityProviderConfiguration)} does not support '{format}' format."); + } + + writer.WriteStartObject(); + if (Optional.IsDefined(Authority)) + { + writer.WritePropertyName("authority"u8); + writer.WriteStringValue(Authority); + } + if (Optional.IsCollectionDefined(Applications)) + { + writer.WritePropertyName("applications"u8); + writer.WriteStartArray(); + foreach (var item in Applications) + { + writer.WriteObjectValue(item); + } + writer.WriteEndArray(); + } + if (options.Format != "W" && _serializedAdditionalRawData != null) + { + foreach (var item in _serializedAdditionalRawData) + { + writer.WritePropertyName(item.Key); +#if NET6_0_OR_GREATER + writer.WriteRawValue(item.Value); +#else + using (JsonDocument document = JsonDocument.Parse(item.Value)) + { + JsonSerializer.Serialize(writer, document.RootElement); + } +#endif + } + } + writer.WriteEndObject(); + } + + SmartIdentityProviderConfiguration IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(SmartIdentityProviderConfiguration)} does not support '{format}' format."); + } + + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeSmartIdentityProviderConfiguration(document.RootElement, options); + } + + internal static SmartIdentityProviderConfiguration DeserializeSmartIdentityProviderConfiguration(JsonElement element, ModelReaderWriterOptions options = null) + { + options ??= new ModelReaderWriterOptions("W"); + + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + string authority = default; + IList applications = default; + IDictionary serializedAdditionalRawData = default; + Dictionary additionalPropertiesDictionary = new Dictionary(); + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("authority"u8)) + { + authority = property.Value.GetString(); + continue; + } + if (property.NameEquals("applications"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + List array = new List(); + foreach (var item in property.Value.EnumerateArray()) + { + array.Add(SmartIdentityProviderApplication.DeserializeSmartIdentityProviderApplication(item, options)); + } + applications = array; + continue; + } + if (options.Format != "W") + { + additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + } + } + serializedAdditionalRawData = additionalPropertiesDictionary; + return new SmartIdentityProviderConfiguration(authority, applications ?? new ChangeTrackingList(), serializedAdditionalRawData); + } + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options); + default: + throw new FormatException($"The model {nameof(SmartIdentityProviderConfiguration)} does not support '{options.Format}' format."); + } + } + + SmartIdentityProviderConfiguration IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + { + using JsonDocument document = JsonDocument.Parse(data); + return DeserializeSmartIdentityProviderConfiguration(document.RootElement, options); + } + default: + throw new FormatException($"The model {nameof(SmartIdentityProviderConfiguration)} does not support '{options.Format}' format."); + } + } + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/SmartIdentityProviderConfiguration.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/SmartIdentityProviderConfiguration.cs new file mode 100644 index 000000000000..8dad9acb90b0 --- /dev/null +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/SmartIdentityProviderConfiguration.cs @@ -0,0 +1,71 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; +using Azure.ResourceManager.HealthcareApis; + +namespace Azure.ResourceManager.HealthcareApis.Models +{ + /// An object to configure an identity provider for use with SMART on FHIR authentication. + public partial class SmartIdentityProviderConfiguration + { + /// + /// Keeps track of any properties unknown to the library. + /// + /// To assign an object to the value of this property use . + /// + /// + /// To assign an already formatted json string to this property use . + /// + /// + /// Examples: + /// + /// + /// BinaryData.FromObjectAsJson("foo") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromString("\"foo\"") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromObjectAsJson(new { key = "value" }) + /// Creates a payload of { "key": "value" }. + /// + /// + /// BinaryData.FromString("{\"key\": \"value\"}") + /// Creates a payload of { "key": "value" }. + /// + /// + /// + /// + private IDictionary _serializedAdditionalRawData; + + /// Initializes a new instance of . + public SmartIdentityProviderConfiguration() + { + Applications = new ChangeTrackingList(); + } + + /// Initializes a new instance of . + /// The identity provider token authority also known as the token issuing authority. + /// The array of identity provider applications for SMART on FHIR authentication. + /// Keeps track of any properties unknown to the library. + internal SmartIdentityProviderConfiguration(string authority, IList applications, IDictionary serializedAdditionalRawData) + { + Authority = authority; + Applications = applications; + _serializedAdditionalRawData = serializedAdditionalRawData; + } + + /// The identity provider token authority also known as the token issuing authority. + public string Authority { get; set; } + /// The array of identity provider applications for SMART on FHIR authentication. + public IList Applications { get; } + } +} diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/StorageConfiguration.Serialization.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/StorageConfiguration.Serialization.cs new file mode 100644 index 000000000000..198c24f6e0fa --- /dev/null +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/StorageConfiguration.Serialization.cs @@ -0,0 +1,134 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text.Json; +using Azure.Core; +using Azure.ResourceManager.HealthcareApis; + +namespace Azure.ResourceManager.HealthcareApis.Models +{ + public partial class StorageConfiguration : IUtf8JsonSerializable, IJsonModel + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, new ModelReaderWriterOptions("W")); + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(StorageConfiguration)} does not support '{format}' format."); + } + + writer.WriteStartObject(); + if (Optional.IsDefined(StorageResourceId)) + { + writer.WritePropertyName("storageResourceId"u8); + writer.WriteStringValue(StorageResourceId); + } + if (Optional.IsDefined(FileSystemName)) + { + writer.WritePropertyName("fileSystemName"u8); + writer.WriteStringValue(FileSystemName); + } + if (options.Format != "W" && _serializedAdditionalRawData != null) + { + foreach (var item in _serializedAdditionalRawData) + { + writer.WritePropertyName(item.Key); +#if NET6_0_OR_GREATER + writer.WriteRawValue(item.Value); +#else + using (JsonDocument document = JsonDocument.Parse(item.Value)) + { + JsonSerializer.Serialize(writer, document.RootElement); + } +#endif + } + } + writer.WriteEndObject(); + } + + StorageConfiguration IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(StorageConfiguration)} does not support '{format}' format."); + } + + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeStorageConfiguration(document.RootElement, options); + } + + internal static StorageConfiguration DeserializeStorageConfiguration(JsonElement element, ModelReaderWriterOptions options = null) + { + options ??= new ModelReaderWriterOptions("W"); + + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + string storageResourceId = default; + string fileSystemName = default; + IDictionary serializedAdditionalRawData = default; + Dictionary additionalPropertiesDictionary = new Dictionary(); + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("storageResourceId"u8)) + { + storageResourceId = property.Value.GetString(); + continue; + } + if (property.NameEquals("fileSystemName"u8)) + { + fileSystemName = property.Value.GetString(); + continue; + } + if (options.Format != "W") + { + additionalPropertiesDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + } + } + serializedAdditionalRawData = additionalPropertiesDictionary; + return new StorageConfiguration(storageResourceId, fileSystemName, serializedAdditionalRawData); + } + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options); + default: + throw new FormatException($"The model {nameof(StorageConfiguration)} does not support '{options.Format}' format."); + } + } + + StorageConfiguration IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + { + using JsonDocument document = JsonDocument.Parse(data); + return DeserializeStorageConfiguration(document.RootElement, options); + } + default: + throw new FormatException($"The model {nameof(StorageConfiguration)} does not support '{options.Format}' format."); + } + } + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/StorageConfiguration.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/StorageConfiguration.cs new file mode 100644 index 000000000000..68fd571b74e6 --- /dev/null +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/StorageConfiguration.cs @@ -0,0 +1,69 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; + +namespace Azure.ResourceManager.HealthcareApis.Models +{ + /// The configuration of connected storage. + public partial class StorageConfiguration + { + /// + /// Keeps track of any properties unknown to the library. + /// + /// To assign an object to the value of this property use . + /// + /// + /// To assign an already formatted json string to this property use . + /// + /// + /// Examples: + /// + /// + /// BinaryData.FromObjectAsJson("foo") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromString("\"foo\"") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromObjectAsJson(new { key = "value" }) + /// Creates a payload of { "key": "value" }. + /// + /// + /// BinaryData.FromString("{\"key\": \"value\"}") + /// Creates a payload of { "key": "value" }. + /// + /// + /// + /// + private IDictionary _serializedAdditionalRawData; + + /// Initializes a new instance of . + public StorageConfiguration() + { + } + + /// Initializes a new instance of . + /// The resource id of connected storage account. + /// The filesystem name of connected storage account. + /// Keeps track of any properties unknown to the library. + internal StorageConfiguration(string storageResourceId, string fileSystemName, IDictionary serializedAdditionalRawData) + { + StorageResourceId = storageResourceId; + FileSystemName = fileSystemName; + _serializedAdditionalRawData = serializedAdditionalRawData; + } + + /// The resource id of connected storage account. + public string StorageResourceId { get; set; } + /// The filesystem name of connected storage account. + public string FileSystemName { get; set; } + } +} 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 e9ddfb2dcd5e..d4660d1e0791 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 ?? "2023-11-01"; + _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 0d7851bd284a..1c5e8532d16c 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/FhirDestinationsRestOperations.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/FhirDestinationsRestOperations.cs @@ -33,7 +33,7 @@ public FhirDestinationsRestOperations(HttpPipeline pipeline, string applicationI { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2023-11-01"; + _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 b98184225f24..7e01700e4191 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 ?? "2023-11-01"; + _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 0486b23a3c75..8c40f0581cfa 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 ?? "2023-11-01"; + _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 fb0ca9d2b8ba..14346f06c313 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 ?? "2023-11-01"; + _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 0d914c478ced..7771d4a152b5 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 ?? "2023-11-01"; + _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 3682e1b19357..eea1fa61b5ea 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/PrivateLinkResourcesRestOperations.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/PrivateLinkResourcesRestOperations.cs @@ -33,7 +33,7 @@ public PrivateLinkResourcesRestOperations(HttpPipeline pipeline, string applicat { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2023-11-01"; + _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 97c717e6b5d1..d75d58f5ece3 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 ?? "2023-11-01"; + _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); - 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 0bd6609cf1f5..7403ba73782d 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 ?? "2023-11-01"; + _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 70e614e95173..d37a30640e10 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/WorkspacePrivateLinkResourcesRestOperations.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/WorkspacePrivateLinkResourcesRestOperations.cs @@ -33,7 +33,7 @@ public WorkspacePrivateLinkResourcesRestOperations(HttpPipeline pipeline, string { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2023-11-01"; + _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 a3a43bda395d..9cff7e828c5a 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 ?? "2023-11-01"; + _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 c0ecd7f09c33..101f544b16d5 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/4eb1ac218704edf7a414ea78c35f7c84bc210f30/specification/healthcareapis/resource-manager/readme.md +require: /mnt/vss/_work/1/s/azure-rest-api-specs/specification/healthcareapis/resource-manager/readme.md #tag: package-2023-11 output-folder: $(this-folder)/Generated clear-output-folder: true