From 10857ec758450b9839be81d7cd550b804291c82f Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 5 Dec 2023 16:26:07 +0000 Subject: [PATCH] CodeGen from PR 26852 in Azure/azure-rest-api-specs Merge 85b28e99c22c4326b0b3be39d5fb7112319c07e2 into c1c82e7a1a101796867c576bee5c61f9e0573e2d --- ...ceManager.HealthcareApis.netstandard2.0.cs | 49 ++++- .../Samples/Sample_DicomServiceCollection.cs | 10 +- .../Samples/Sample_DicomServiceResource.cs | 6 +- .../Samples/Sample_FhirServiceCollection.cs | 43 +++- .../Samples/Sample_FhirServiceResource.cs | 6 +- ...le_HealthcareApisIotConnectorCollection.cs | 10 +- ...mple_HealthcareApisIotConnectorResource.cs | 6 +- ...lthcareApisIotFhirDestinationCollection.cs | 10 +- ...ealthcareApisIotFhirDestinationResource.cs | 6 +- .../Sample_HealthcareApisServiceCollection.cs | 201 +++++++++++++++++- ...vicePrivateEndpointConnectionCollection.cs | 10 +- ...ervicePrivateEndpointConnectionResource.cs | 6 +- ...ealthcareApisServicePrivateLinkResource.cs | 2 +- ...pisServicePrivateLinkResourceCollection.cs | 8 +- .../Sample_HealthcareApisServiceResource.cs | 41 +++- ...ample_HealthcareApisWorkspaceCollection.cs | 10 +- ...pacePrivateEndpointConnectionCollection.cs | 10 +- ...kspacePrivateEndpointConnectionResource.cs | 6 +- ...lthcareApisWorkspacePrivateLinkResource.cs | 2 +- ...sWorkspacePrivateLinkResourceCollection.cs | 8 +- .../Sample_HealthcareApisWorkspaceResource.cs | 8 +- .../ArmHealthcareApisModelFactory.cs | 14 +- .../src/Generated/DicomServiceData.cs | 22 +- .../src/Generated/FhirServiceData.cs | 40 +++- .../Models/DicomServiceData.Serialization.cs | 27 ++- .../Models/Encryption.Serialization.cs | 48 +++++ .../src/Generated/Models/Encryption.cs | 41 ++++ ...tomerManagedKeyEncryption.Serialization.cs | 49 +++++ .../EncryptionCustomerManagedKeyEncryption.cs | 30 +++ ...rServiceAccessPolicyEntry.Serialization.cs | 41 ---- .../Models/FhirServiceAccessPolicyEntry.cs | 29 --- ...thenticationConfiguration.Serialization.cs | 28 ++- .../FhirServiceAuthenticationConfiguration.cs | 10 +- .../Models/FhirServiceData.Serialization.cs | 57 ++--- ...viceCosmosDbConfiguration.Serialization.cs | 13 +- ...lthcareApisServiceCosmosDbConfiguration.cs | 6 +- ...tationGuidesConfiguration.Serialization.cs | 48 +++++ .../ImplementationGuidesConfiguration.cs | 28 +++ .../src/Generated/Models/SmartDataAction.cs | 57 +++++ ...entityProviderApplication.Serialization.cs | 81 +++++++ .../SmartIdentityProviderApplication.cs | 40 ++++ ...tityProviderConfiguration.Serialization.cs | 70 ++++++ .../SmartIdentityProviderConfiguration.cs | 36 ++++ .../DicomServicesRestOperations.cs | 26 +-- .../FhirDestinationsRestOperations.cs | 10 +- .../FhirServicesRestOperations.cs | 26 +-- ...tConnectorFhirDestinationRestOperations.cs | 14 +- .../IotConnectorsRestOperations.cs | 26 +-- ...rivateEndpointConnectionsRestOperations.cs | 18 +- .../PrivateLinkResourcesRestOperations.cs | 10 +- .../RestOperations/ServicesRestOperations.cs | 38 ++-- ...rivateEndpointConnectionsRestOperations.cs | 18 +- ...spacePrivateLinkResourcesRestOperations.cs | 10 +- .../WorkspacesRestOperations.cs | 34 +-- .../src/autorest.md | 2 +- 55 files changed, 1184 insertions(+), 321 deletions(-) create mode 100644 sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/Encryption.Serialization.cs create mode 100644 sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/Encryption.cs create mode 100644 sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/EncryptionCustomerManagedKeyEncryption.Serialization.cs create mode 100644 sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/EncryptionCustomerManagedKeyEncryption.cs delete mode 100644 sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/FhirServiceAccessPolicyEntry.Serialization.cs delete mode 100644 sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/FhirServiceAccessPolicyEntry.cs create mode 100644 sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/ImplementationGuidesConfiguration.Serialization.cs create mode 100644 sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/ImplementationGuidesConfiguration.cs 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 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 f2784f8ce4ae5..f10397470fa8f 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 @@ -23,7 +23,9 @@ public DicomServiceData(Azure.Core.AzureLocation location) { } public Azure.ResourceManager.HealthcareApis.Models.DicomServiceAuthenticationConfiguration AuthenticationConfiguration { get { throw null; } set { } } public Azure.ResourceManager.HealthcareApis.Models.DicomServiceCorsConfiguration CorsConfiguration { get { throw null; } set { } } public Azure.ETag? ETag { get { throw null; } set { } } + public Azure.ResourceManager.HealthcareApis.Models.FhirServiceEventState? EventState { get { throw null; } } public Azure.ResourceManager.Models.ManagedServiceIdentity Identity { get { throw null; } set { } } + public System.Uri KeyEncryptionKeyUri { get { throw null; } set { } } public System.Collections.Generic.IReadOnlyList PrivateEndpointConnections { get { throw null; } } public Azure.ResourceManager.HealthcareApis.Models.HealthcareApisProvisioningState? ProvisioningState { get { throw null; } } public Azure.ResourceManager.HealthcareApis.Models.HealthcareApisPublicNetworkAccess? PublicNetworkAccess { get { throw null; } set { } } @@ -69,7 +71,6 @@ protected FhirServiceCollection() { } public partial class FhirServiceData : Azure.ResourceManager.Models.TrackedResourceData { public FhirServiceData(Azure.Core.AzureLocation location) { } - public System.Collections.Generic.IList AccessPolicies { get { throw null; } } public Azure.ResourceManager.HealthcareApis.Models.FhirServiceAcrConfiguration AcrConfiguration { get { throw null; } set { } } public Azure.ResourceManager.HealthcareApis.Models.FhirServiceAuthenticationConfiguration AuthenticationConfiguration { get { throw null; } set { } } public Azure.ResourceManager.HealthcareApis.Models.FhirServiceCorsConfiguration CorsConfiguration { get { throw null; } set { } } @@ -78,11 +79,13 @@ public FhirServiceData(Azure.Core.AzureLocation location) { } public string ExportStorageAccountName { get { throw null; } set { } } public Azure.ResourceManager.Models.ManagedServiceIdentity Identity { get { throw null; } set { } } public Azure.ResourceManager.HealthcareApis.Models.FhirServiceImportConfiguration ImportConfiguration { get { throw null; } set { } } + public System.Uri KeyEncryptionKeyUri { get { throw null; } set { } } public Azure.ResourceManager.HealthcareApis.Models.FhirServiceKind? Kind { get { throw null; } set { } } 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.FhirServiceResourceVersionPolicyConfiguration ResourceVersionPolicyConfiguration { get { throw null; } set { } } + public bool? UsCoreMissingData { get { throw null; } set { } } } public partial class FhirServiceResource : Azure.ResourceManager.ArmResource { @@ -497,8 +500,8 @@ namespace Azure.ResourceManager.HealthcareApis.Models public static partial class ArmHealthcareApisModelFactory { public static Azure.ResourceManager.HealthcareApis.Models.DicomServiceAuthenticationConfiguration DicomServiceAuthenticationConfiguration(string authority = null, System.Collections.Generic.IEnumerable audiences = null) { 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.Models.ManagedServiceIdentity identity = null, Azure.ETag? etag = default(Azure.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?), System.Collections.Generic.IEnumerable accessPolicies = null, 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, 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.Models.ManagedServiceIdentity identity = null, Azure.ETag? etag = default(Azure.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? usCoreMissingData = default(bool?), System.Uri keyEncryptionKeyUri = null, Azure.ResourceManager.Models.ManagedServiceIdentity identity = null, Azure.ETag? etag = default(Azure.ETag?)) { throw null; } public static Azure.ResourceManager.HealthcareApis.HealthcareApisIotConnectorData HealthcareApisIotConnectorData(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.HealthcareApisIotConnectorEventHubIngestionConfiguration ingestionEndpointConfiguration = null, System.BinaryData deviceMappingContent = null, Azure.ResourceManager.Models.ManagedServiceIdentity identity = null, Azure.ETag? etag = default(Azure.ETag?)) { throw null; } public static Azure.ResourceManager.HealthcareApis.HealthcareApisIotFhirDestinationData HealthcareApisIotFhirDestinationData(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.HealthcareApisProvisioningState? provisioningState = default(Azure.ResourceManager.HealthcareApis.Models.HealthcareApisProvisioningState?), Azure.ResourceManager.HealthcareApis.Models.HealthcareApisIotIdentityResolutionType resourceIdentityResolutionType = default(Azure.ResourceManager.HealthcareApis.Models.HealthcareApisIotIdentityResolutionType), Azure.Core.ResourceIdentifier fhirServiceResourceId = null, System.BinaryData fhirMappingContent = null, Azure.Core.AzureLocation? location = default(Azure.Core.AzureLocation?), Azure.ETag? etag = default(Azure.ETag?)) { throw null; } 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; } @@ -548,11 +551,6 @@ public DicomServicePatch() { } public static bool operator !=(Azure.ResourceManager.HealthcareApis.Models.FhirResourceVersionPolicy left, Azure.ResourceManager.HealthcareApis.Models.FhirResourceVersionPolicy right) { throw null; } public override string ToString() { throw null; } } - public partial class FhirServiceAccessPolicyEntry - { - public FhirServiceAccessPolicyEntry(string objectId) { } - public string ObjectId { get { throw null; } set { } } - } public partial class FhirServiceAcrConfiguration { public FhirServiceAcrConfiguration() { } @@ -565,6 +563,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; } } } public partial class FhirServiceCorsConfiguration { @@ -817,6 +816,7 @@ public HealthcareApisServiceCorsConfiguration() { } public partial class HealthcareApisServiceCosmosDbConfiguration { public HealthcareApisServiceCosmosDbConfiguration() { } + public string CrossTenantCmkApplicationId { get { throw null; } set { } } public System.Uri KeyVaultKeyUri { get { throw null; } set { } } public int? OfferThroughput { get { throw null; } set { } } } @@ -865,4 +865,37 @@ public HealthcareApisWorkspaceProperties() { } public Azure.ResourceManager.HealthcareApis.Models.HealthcareApisProvisioningState? ProvisioningState { get { throw null; } } public Azure.ResourceManager.HealthcareApis.Models.HealthcareApisPublicNetworkAccess? PublicNetworkAccess { get { throw null; } set { } } } + [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 Delete { get { throw null; } } + public static Azure.ResourceManager.HealthcareApis.Models.SmartDataAction Export { get { throw null; } } + public static Azure.ResourceManager.HealthcareApis.Models.SmartDataAction Read { get { throw null; } } + public static Azure.ResourceManager.HealthcareApis.Models.SmartDataAction Write { 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 + { + 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 { } } + } + public partial class SmartIdentityProviderConfiguration + { + public SmartIdentityProviderConfiguration() { } + public System.Collections.Generic.IList Applications { get { throw null; } } + public string Authority { get { throw null; } set { } } + } } 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 964cc7990b468..c77285ac08fd7 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 @@ -22,7 +22,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/2022-06-01/examples/dicomservices/DicomServices_List.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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 +59,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/2022-06-01/examples/dicomservices/DicomServices_Get.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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 +94,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/2022-06-01/examples/dicomservices/DicomServices_Get.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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 +125,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/2022-06-01/examples/dicomservices/DicomServices_Get.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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 +168,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/2022-06-01/examples/dicomservices/DicomServices_Create.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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 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 4af7efb39671e..9730f8f49f1c8 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/2022-06-01/examples/dicomservices/DicomServices_Get.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/dicomservices/DicomServices_Patch.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/dicomservices/DicomServices_Delete.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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 284236a079c8c..dbc3510302877 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/2022-06-01/examples/fhirservices/FhirServices_List.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/fhirservices/FhirServices_Get.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/fhirservices/FhirServices_Get.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/fhirservices/FhirServices_Get.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/fhirservices/FhirServices_Create.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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 @@ -194,10 +194,6 @@ public async Task CreateOrUpdate_CreateOrUpdateAFhirService() FhirServiceData data = new FhirServiceData(new AzureLocation("westus")) { Kind = FhirServiceKind.FhirR4, - AccessPolicies = -{ -new FhirServiceAccessPolicyEntry("c487e7d1-3210-41a3-8ccc-e9372b78da47"),new FhirServiceAccessPolicyEntry("5b307da8-43d4-492b-8b66-b0294ade872f") -}, AcrConfiguration = new FhirServiceAcrConfiguration() { LoginServers = @@ -210,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() { @@ -235,7 +250,15 @@ public async Task CreateOrUpdate_CreateOrUpdateAFhirService() IsInitialImportMode = false, IsEnabled = false, }, - Identity = new ManagedServiceIdentity("SystemAssigned"), + UsCoreMissingData = false, + KeyEncryptionKeyUri = new Uri("https://mykeyvault.vault.azure.net/keys/myEncryptionKey/myKeyVersion"), + Identity = new ManagedServiceIdentity("UserAssigned") + { + UserAssignedIdentities = +{ +[new ResourceIdentifier("/subscriptions/subid/resourcegroups/testRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-mi")] = new UserAssignedIdentity(), +}, + }, Tags = { ["additionalProp1"] = "string", 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 4eab1807fe568..d5532e248c6e1 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/2022-06-01/examples/fhirservices/FhirServices_Get.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/fhirservices/FhirServices_Patch.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/fhirservices/FhirServices_Delete.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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 2d0b936145295..ee781ce327316 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/2022-06-01/examples/iotconnectors/iotconnector_List.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/iotconnectors/iotconnector_Get.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/iotconnectors/iotconnector_Get.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/iotconnectors/iotconnector_Get.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/iotconnectors/iotconnector_Create.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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 cebba0b5dd9cf..4638bd21503df 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/2022-06-01/examples/iotconnectors/iotconnector_Get.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/iotconnectors/iotconnector_Patch.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/iotconnectors/iotconnector_Delete.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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 add57bb49b71d..d041fb33e7812 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/2022-06-01/examples/iotconnectors/iotconnector_fhirdestination_List.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/iotconnectors/iotconnector_fhirdestination_Get.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/iotconnectors/iotconnector_fhirdestination_Get.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/iotconnectors/iotconnector_fhirdestination_Get.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/iotconnectors/iotconnector_fhirdestination_Create.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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 d54ddf78d8273..d1705447245d5 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/2022-06-01/examples/iotconnectors/iotconnector_fhirdestination_Get.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/iotconnectors/iotconnector_fhirdestination_Create.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/iotconnectors/iotconnector_fhirdestination_Delete.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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 a3d1cac3063f4..577336f72c2b2 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 @@ -25,7 +25,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/2022-06-01/examples/legacy/ServiceGet.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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 +59,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/2022-06-01/examples/legacy/ServiceGet.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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 +89,113 @@ 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/2022-06-01/examples/legacy/ServiceGet.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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 + 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"; + NullableResponse response = await collection.GetIfExistsAsync(resourceName); + HealthcareApisServiceResource result = response.HasValue ? response.Value : null; + + if (result == null) + { + Console.WriteLine($"Succeeded with null as result"); + } + else + { + // 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}"); + } + } + + // Get metadata for CMK enabled service in data sovereign region + [NUnit.Framework.Test] + [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-12-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 + 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"; + HealthcareApisServiceResource result = await collection.GetAsync(resourceName); + + // 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}"); + } + + // Get metadata for CMK enabled service in data sovereign region + [NUnit.Framework.Test] + [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-12-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 + 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"; + bool result = await collection.ExistsAsync(resourceName); + + Console.WriteLine($"Succeeded: {result}"); + } + + // Get metadata for CMK enabled service in data sovereign region + [NUnit.Framework.Test] + [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-12-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 @@ -131,7 +237,7 @@ public async Task GetIfExists_GetMetadata() [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/2022-06-01/examples/legacy/ServiceCreate.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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 @@ -208,12 +314,95 @@ public async Task CreateOrUpdate_CreateOrUpdateAServiceWithAllParameters() 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-12-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 = "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/2022-06-01/examples/legacy/ServiceCreateMinimum.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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 @@ -261,7 +450,7 @@ public async Task CreateOrUpdate_CreateOrUpdateAServiceWithMinimumParameters() [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/2022-06-01/examples/legacy/ServiceListByResourceGroup.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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 b426fa2c8c420..591e4c644471a 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/2022-06-01/examples/legacy/ServiceListPrivateEndpointConnections.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/legacy/ServiceGetPrivateEndpointConnection.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/legacy/ServiceGetPrivateEndpointConnection.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/legacy/ServiceGetPrivateEndpointConnection.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/legacy/ServiceCreatePrivateEndpointConnection.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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 c6ae930fc5339..9feaaa6db2df6 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/2022-06-01/examples/legacy/ServiceGetPrivateEndpointConnection.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/legacy/ServiceCreatePrivateEndpointConnection.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/legacy/ServiceDeletePrivateEndpointConnection.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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 5e880fa2d0daf..870b1dfce5042 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/2022-06-01/examples/legacy/PrivateLinkResourceGet.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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 874546d628b3d..150873a8ea956 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/2022-06-01/examples/legacy/PrivateLinkResourcesListByService.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/legacy/PrivateLinkResourceGet.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/legacy/PrivateLinkResourceGet.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/legacy/PrivateLinkResourceGet.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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 56c0976bb4d9f..ba6cf2a3accf1 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,38 @@ 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/2022-06-01/examples/legacy/ServiceGet.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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 + TokenCredential cred = new DefaultAzureCredential(); + // authenticate your client + ArmClient client = new ArmClient(cred); + + // this example assumes you already have this HealthcareApisServiceResource created on azure + // for more information of creating HealthcareApisServiceResource, please refer to the document of HealthcareApisServiceResource + string subscriptionId = "subid"; + string resourceGroupName = "rg1"; + string resourceName = "service1"; + ResourceIdentifier healthcareApisServiceResourceId = HealthcareApisServiceResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, resourceName); + HealthcareApisServiceResource healthcareApisService = client.GetHealthcareApisServiceResource(healthcareApisServiceResourceId); + + // invoke the operation + HealthcareApisServiceResource result = await healthcareApisService.GetAsync(); + + // 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}"); + } + + // Get metadata for CMK enabled service in data sovereign region + [NUnit.Framework.Test] + [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-12-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 @@ -55,7 +86,7 @@ public async Task Get_GetMetadata() [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/2022-06-01/examples/legacy/ServicePatch.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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 @@ -95,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/2022-06-01/examples/legacy/ServiceDelete.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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 @@ -122,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/2022-06-01/examples/legacy/ServiceList.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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 @@ -154,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/2022-06-01/examples/CheckNameAvailabilityPost.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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 e77dfb9ad38f1..bc42933ccd5ed 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/2022-06-01/examples/workspaces/Workspaces_ListByResourceGroup.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/workspaces/Workspaces_Get.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/workspaces/Workspaces_Get.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/workspaces/Workspaces_Get.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/workspaces/Workspaces_Create.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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 e8eae525bc9af..0a1a058caf3aa 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/2022-06-01/examples/privatelink/WorkspaceListPrivateEndpointConnections.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/privatelink/WorkspaceGetPrivateEndpointConnection.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/privatelink/WorkspaceGetPrivateEndpointConnection.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/privatelink/WorkspaceGetPrivateEndpointConnection.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/privatelink/WorkspaceCreatePrivateEndpointConnection.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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 554959c6a040c..fc1c45600ae72 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/2022-06-01/examples/privatelink/WorkspaceGetPrivateEndpointConnection.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/privatelink/WorkspaceCreatePrivateEndpointConnection.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/privatelink/WorkspaceDeletePrivateEndpointConnection.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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 84f2c769f44d1..46460e88e60f1 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/2022-06-01/examples/privatelink/WorkspacePrivateLinkResourceGet.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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 051a076e06174..08ebc9a094934 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/2022-06-01/examples/privatelink/PrivateLinkResourcesListByWorkspace.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/privatelink/WorkspacePrivateLinkResourceGet.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/privatelink/WorkspacePrivateLinkResourceGet.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/privatelink/WorkspacePrivateLinkResourceGet.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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 f21c64a46f484..4f52c6b2672ec 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/2022-06-01/examples/workspaces/Workspaces_ListBySubscription.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/workspaces/Workspaces_Get.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/workspaces/Workspaces_Patch.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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/2022-06-01/examples/workspaces/Workspaces_Delete.json + // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-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 eae30eaa6df20..8c98e11000450 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/ArmHealthcareApisModelFactory.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/ArmHealthcareApisModelFactory.cs @@ -140,15 +140,17 @@ public static HealthcareApisWorkspaceProperties HealthcareApisWorkspacePropertie /// 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. - 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, 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, ManagedServiceIdentity identity = null, ETag? etag = null) { tags ??= new Dictionary(); privateEndpointConnections ??= new List(); - return new DicomServiceData(id, name, resourceType, systemData, tags, location, provisioningState, authenticationConfiguration, corsConfiguration, serviceUri, privateEndpointConnections?.ToList(), publicNetworkAccess, identity, etag); + return new DicomServiceData(id, name, resourceType, systemData, tags, location, provisioningState, authenticationConfiguration, corsConfiguration, serviceUri, privateEndpointConnections?.ToList(), publicNetworkAccess, eventState, keyEncryptionKeyUri != null ? new Encryption(new EncryptionCustomerManagedKeyEncryption(keyEncryptionKeyUri)) : null, identity, etag); } /// Initializes a new instance of . @@ -208,7 +210,6 @@ public static HealthcareApisIotFhirDestinationData HealthcareApisIotFhirDestinat /// The location. /// The kind of the service. /// The provisioning state. - /// Fhir Service access policies. /// Fhir Service Azure container registry configuration. /// Fhir Service authentication configuration. /// Fhir Service Cors configuration. @@ -218,16 +219,17 @@ public static HealthcareApisIotFhirDestinationData HealthcareApisIotFhirDestinat /// Fhir Service event support status. /// Determines tracking of history for resources. /// Fhir Service import configuration. + /// Implementation Guides configuration. + /// The encryption settings of the FHIR 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. - public static FhirServiceData FhirServiceData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, FhirServiceKind? kind = null, HealthcareApisProvisioningState? provisioningState = null, IEnumerable accessPolicies = null, FhirServiceAcrConfiguration acrConfiguration = null, FhirServiceAuthenticationConfiguration authenticationConfiguration = null, FhirServiceCorsConfiguration corsConfiguration = null, string exportStorageAccountName = null, IEnumerable privateEndpointConnections = null, HealthcareApisPublicNetworkAccess? publicNetworkAccess = null, FhirServiceEventState? eventState = null, FhirServiceResourceVersionPolicyConfiguration resourceVersionPolicyConfiguration = null, FhirServiceImportConfiguration importConfiguration = null, ManagedServiceIdentity identity = null, ETag? etag = null) + public static FhirServiceData FhirServiceData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, FhirServiceKind? kind = null, HealthcareApisProvisioningState? provisioningState = null, FhirServiceAcrConfiguration acrConfiguration = null, FhirServiceAuthenticationConfiguration authenticationConfiguration = null, FhirServiceCorsConfiguration corsConfiguration = null, string exportStorageAccountName = null, IEnumerable privateEndpointConnections = null, HealthcareApisPublicNetworkAccess? publicNetworkAccess = null, FhirServiceEventState? eventState = null, FhirServiceResourceVersionPolicyConfiguration resourceVersionPolicyConfiguration = null, FhirServiceImportConfiguration importConfiguration = null, bool? usCoreMissingData = null, Uri keyEncryptionKeyUri = null, ManagedServiceIdentity identity = null, ETag? etag = null) { tags ??= new Dictionary(); - accessPolicies ??= new List(); privateEndpointConnections ??= new List(); - return new FhirServiceData(id, name, resourceType, systemData, tags, location, kind, provisioningState, accessPolicies?.ToList(), acrConfiguration, authenticationConfiguration, corsConfiguration, exportStorageAccountName != null ? new FhirServiceExportConfiguration(exportStorageAccountName) : null, privateEndpointConnections?.ToList(), publicNetworkAccess, eventState, resourceVersionPolicyConfiguration, importConfiguration, identity, etag); + return new FhirServiceData(id, name, resourceType, systemData, tags, location, kind, provisioningState, acrConfiguration, authenticationConfiguration, corsConfiguration, exportStorageAccountName != null ? new FhirServiceExportConfiguration(exportStorageAccountName) : null, privateEndpointConnections?.ToList(), publicNetworkAccess, eventState, resourceVersionPolicyConfiguration, importConfiguration, usCoreMissingData != null ? new ImplementationGuidesConfiguration(usCoreMissingData) : null, keyEncryptionKeyUri != null ? new Encryption(new EncryptionCustomerManagedKeyEncryption(keyEncryptionKeyUri)) : null, identity, etag); } } } diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/DicomServiceData.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/DicomServiceData.cs index 0e9fa5ed4fa1b..e014383aca3e0 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/DicomServiceData.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/DicomServiceData.cs @@ -40,9 +40,11 @@ public DicomServiceData(AzureLocation location) : base(location) /// 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. - 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, ManagedServiceIdentity identity, ETag? etag) : 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, ManagedServiceIdentity identity, ETag? etag) : base(id, name, resourceType, systemData, tags, location) { ProvisioningState = provisioningState; AuthenticationConfiguration = authenticationConfiguration; @@ -50,6 +52,8 @@ internal DicomServiceData(ResourceIdentifier id, string name, ResourceType resou ServiceUri = serviceUri; PrivateEndpointConnections = privateEndpointConnections; PublicNetworkAccess = publicNetworkAccess; + EventState = eventState; + Encryption = encryption; Identity = identity; ETag = etag; } @@ -66,6 +70,22 @@ internal DicomServiceData(ResourceIdentifier id, string name, ResourceType resou public IReadOnlyList PrivateEndpointConnections { get; } /// Control permission for data plane traffic coming from public networks while private endpoint is enabled. public HealthcareApisPublicNetworkAccess? PublicNetworkAccess { get; set; } + /// DICOM Service event support status. + public FhirServiceEventState? EventState { get; } + /// The encryption settings of the DICOM service. + internal Encryption Encryption { get; set; } + /// The URL of the key to use for encryption. + public Uri KeyEncryptionKeyUri + { + get => Encryption is null ? default : Encryption.KeyEncryptionKeyUri; + set + { + if (Encryption is null) + Encryption = new Encryption(); + Encryption.KeyEncryptionKeyUri = value; + } + } + /// 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/FhirServiceData.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/FhirServiceData.cs index 68247732ee8a5..8056037e58925 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/FhirServiceData.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/FhirServiceData.cs @@ -5,6 +5,7 @@ #nullable disable +using System; using System.Collections.Generic; using Azure; using Azure.Core; @@ -23,7 +24,6 @@ public partial class FhirServiceData : TrackedResourceData /// The location. public FhirServiceData(AzureLocation location) : base(location) { - AccessPolicies = new ChangeTrackingList(); PrivateEndpointConnections = new ChangeTrackingList(); } @@ -36,7 +36,6 @@ public FhirServiceData(AzureLocation location) : base(location) /// The location. /// The kind of the service. /// The provisioning state. - /// Fhir Service access policies. /// Fhir Service Azure container registry configuration. /// Fhir Service authentication configuration. /// Fhir Service Cors configuration. @@ -46,13 +45,14 @@ public FhirServiceData(AzureLocation location) : base(location) /// Fhir Service event support status. /// Determines tracking of history for resources. /// Fhir Service import configuration. + /// Implementation Guides configuration. + /// The encryption settings of the FHIR 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. - internal FhirServiceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, FhirServiceKind? kind, HealthcareApisProvisioningState? provisioningState, IList accessPolicies, FhirServiceAcrConfiguration acrConfiguration, FhirServiceAuthenticationConfiguration authenticationConfiguration, FhirServiceCorsConfiguration corsConfiguration, FhirServiceExportConfiguration exportConfiguration, IReadOnlyList privateEndpointConnections, HealthcareApisPublicNetworkAccess? publicNetworkAccess, FhirServiceEventState? eventState, FhirServiceResourceVersionPolicyConfiguration resourceVersionPolicyConfiguration, FhirServiceImportConfiguration importConfiguration, ManagedServiceIdentity identity, ETag? etag) : base(id, name, resourceType, systemData, tags, location) + internal FhirServiceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, FhirServiceKind? kind, HealthcareApisProvisioningState? provisioningState, FhirServiceAcrConfiguration acrConfiguration, FhirServiceAuthenticationConfiguration authenticationConfiguration, FhirServiceCorsConfiguration corsConfiguration, FhirServiceExportConfiguration exportConfiguration, IReadOnlyList privateEndpointConnections, HealthcareApisPublicNetworkAccess? publicNetworkAccess, FhirServiceEventState? eventState, FhirServiceResourceVersionPolicyConfiguration resourceVersionPolicyConfiguration, FhirServiceImportConfiguration importConfiguration, ImplementationGuidesConfiguration implementationGuidesConfiguration, Encryption encryption, ManagedServiceIdentity identity, ETag? etag) : base(id, name, resourceType, systemData, tags, location) { Kind = kind; ProvisioningState = provisioningState; - AccessPolicies = accessPolicies; AcrConfiguration = acrConfiguration; AuthenticationConfiguration = authenticationConfiguration; CorsConfiguration = corsConfiguration; @@ -62,6 +62,8 @@ internal FhirServiceData(ResourceIdentifier id, string name, ResourceType resour EventState = eventState; ResourceVersionPolicyConfiguration = resourceVersionPolicyConfiguration; ImportConfiguration = importConfiguration; + ImplementationGuidesConfiguration = implementationGuidesConfiguration; + Encryption = encryption; Identity = identity; ETag = etag; } @@ -70,8 +72,6 @@ internal FhirServiceData(ResourceIdentifier id, string name, ResourceType resour public FhirServiceKind? Kind { get; set; } /// The provisioning state. public HealthcareApisProvisioningState? ProvisioningState { get; } - /// Fhir Service access policies. - public IList AccessPolicies { get; } /// Fhir Service Azure container registry configuration. public FhirServiceAcrConfiguration AcrConfiguration { get; set; } /// Fhir Service authentication configuration. @@ -102,6 +102,34 @@ public string ExportStorageAccountName public FhirServiceResourceVersionPolicyConfiguration ResourceVersionPolicyConfiguration { get; set; } /// Fhir Service import configuration. public FhirServiceImportConfiguration ImportConfiguration { get; set; } + /// Implementation Guides configuration. + internal ImplementationGuidesConfiguration ImplementationGuidesConfiguration { get; set; } + /// If US Core Missing Data requirement is enabled. + public bool? UsCoreMissingData + { + get => ImplementationGuidesConfiguration is null ? default : ImplementationGuidesConfiguration.UsCoreMissingData; + set + { + if (ImplementationGuidesConfiguration is null) + ImplementationGuidesConfiguration = new ImplementationGuidesConfiguration(); + ImplementationGuidesConfiguration.UsCoreMissingData = value; + } + } + + /// The encryption settings of the FHIR service. + internal Encryption Encryption { get; set; } + /// The URL of the key to use for encryption. + public Uri KeyEncryptionKeyUri + { + get => Encryption is null ? default : Encryption.KeyEncryptionKeyUri; + set + { + if (Encryption is null) + Encryption = new Encryption(); + Encryption.KeyEncryptionKeyUri = value; + } + } + /// 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/Models/DicomServiceData.Serialization.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/DicomServiceData.Serialization.cs index 75fd098c8ded1..fbed5b9f74a40 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/DicomServiceData.Serialization.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/DicomServiceData.Serialization.cs @@ -61,6 +61,11 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("publicNetworkAccess"u8); writer.WriteStringValue(PublicNetworkAccess.Value.ToString()); } + if (Optional.IsDefined(Encryption)) + { + writer.WritePropertyName("encryption"u8); + writer.WriteObjectValue(Encryption); + } writer.WriteEndObject(); writer.WriteEndObject(); } @@ -85,6 +90,8 @@ internal static DicomServiceData DeserializeDicomServiceData(JsonElement element Optional serviceUrl = default; Optional> privateEndpointConnections = default; Optional publicNetworkAccess = default; + Optional eventState = default; + Optional encryption = default; foreach (var property in element.EnumerateObject()) { if (property.NameEquals("identity"u8)) @@ -217,11 +224,29 @@ internal static DicomServiceData DeserializeDicomServiceData(JsonElement element publicNetworkAccess = new HealthcareApisPublicNetworkAccess(property0.Value.GetString()); continue; } + if (property0.NameEquals("eventState"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + eventState = new FhirServiceEventState(property0.Value.GetString()); + continue; + } + if (property0.NameEquals("encryption"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + encryption = Encryption.DeserializeEncryption(property0.Value); + continue; + } } continue; } } - return new DicomServiceData(id, name, type, systemData.Value, Optional.ToDictionary(tags), location, Optional.ToNullable(provisioningState), authenticationConfiguration.Value, corsConfiguration.Value, serviceUrl.Value, Optional.ToList(privateEndpointConnections), Optional.ToNullable(publicNetworkAccess), identity, Optional.ToNullable(etag)); + return new DicomServiceData(id, name, type, systemData.Value, Optional.ToDictionary(tags), location, Optional.ToNullable(provisioningState), authenticationConfiguration.Value, corsConfiguration.Value, serviceUrl.Value, Optional.ToList(privateEndpointConnections), Optional.ToNullable(publicNetworkAccess), Optional.ToNullable(eventState), encryption.Value, identity, Optional.ToNullable(etag)); } } } diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/Encryption.Serialization.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/Encryption.Serialization.cs new file mode 100644 index 0000000000000..b3d77e9b04142 --- /dev/null +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/Encryption.Serialization.cs @@ -0,0 +1,48 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.HealthcareApis.Models +{ + internal partial class Encryption : IUtf8JsonSerializable + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) + { + writer.WriteStartObject(); + if (Optional.IsDefined(CustomerManagedKeyEncryption)) + { + writer.WritePropertyName("customerManagedKeyEncryption"u8); + writer.WriteObjectValue(CustomerManagedKeyEncryption); + } + writer.WriteEndObject(); + } + + internal static Encryption DeserializeEncryption(JsonElement element) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + Optional customerManagedKeyEncryption = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("customerManagedKeyEncryption"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + customerManagedKeyEncryption = EncryptionCustomerManagedKeyEncryption.DeserializeEncryptionCustomerManagedKeyEncryption(property.Value); + continue; + } + } + return new Encryption(customerManagedKeyEncryption.Value); + } + } +} diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/Encryption.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/Encryption.cs new file mode 100644 index 0000000000000..31eae8d47b575 --- /dev/null +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/Encryption.cs @@ -0,0 +1,41 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; + +namespace Azure.ResourceManager.HealthcareApis.Models +{ + /// Settings to encrypt a service. + internal partial class Encryption + { + /// Initializes a new instance of . + public Encryption() + { + } + + /// Initializes a new instance of . + /// The encryption settings for the customer-managed key. + internal Encryption(EncryptionCustomerManagedKeyEncryption customerManagedKeyEncryption) + { + CustomerManagedKeyEncryption = customerManagedKeyEncryption; + } + + /// The encryption settings for the customer-managed key. + internal EncryptionCustomerManagedKeyEncryption CustomerManagedKeyEncryption { get; set; } + /// The URL of the key to use for encryption. + public Uri KeyEncryptionKeyUri + { + get => CustomerManagedKeyEncryption is null ? default : CustomerManagedKeyEncryption.KeyEncryptionKeyUri; + set + { + if (CustomerManagedKeyEncryption is null) + CustomerManagedKeyEncryption = new EncryptionCustomerManagedKeyEncryption(); + CustomerManagedKeyEncryption.KeyEncryptionKeyUri = value; + } + } + } +} diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/EncryptionCustomerManagedKeyEncryption.Serialization.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/EncryptionCustomerManagedKeyEncryption.Serialization.cs new file mode 100644 index 0000000000000..9d83df8aab579 --- /dev/null +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/EncryptionCustomerManagedKeyEncryption.Serialization.cs @@ -0,0 +1,49 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.HealthcareApis.Models +{ + internal partial class EncryptionCustomerManagedKeyEncryption : IUtf8JsonSerializable + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) + { + writer.WriteStartObject(); + if (Optional.IsDefined(KeyEncryptionKeyUri)) + { + writer.WritePropertyName("keyEncryptionKeyUrl"u8); + writer.WriteStringValue(KeyEncryptionKeyUri.AbsoluteUri); + } + writer.WriteEndObject(); + } + + internal static EncryptionCustomerManagedKeyEncryption DeserializeEncryptionCustomerManagedKeyEncryption(JsonElement element) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + Optional keyEncryptionKeyUrl = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("keyEncryptionKeyUrl"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + keyEncryptionKeyUrl = new Uri(property.Value.GetString()); + continue; + } + } + return new EncryptionCustomerManagedKeyEncryption(keyEncryptionKeyUrl.Value); + } + } +} diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/EncryptionCustomerManagedKeyEncryption.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/EncryptionCustomerManagedKeyEncryption.cs new file mode 100644 index 0000000000000..9aee01fbe5ffe --- /dev/null +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/EncryptionCustomerManagedKeyEncryption.cs @@ -0,0 +1,30 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; + +namespace Azure.ResourceManager.HealthcareApis.Models +{ + /// The encryption settings for the customer-managed key. + internal partial class EncryptionCustomerManagedKeyEncryption + { + /// Initializes a new instance of . + public EncryptionCustomerManagedKeyEncryption() + { + } + + /// Initializes a new instance of . + /// The URL of the key to use for encryption. + internal EncryptionCustomerManagedKeyEncryption(Uri keyEncryptionKeyUri) + { + KeyEncryptionKeyUri = keyEncryptionKeyUri; + } + + /// The URL of the key to use for encryption. + public Uri KeyEncryptionKeyUri { get; set; } + } +} diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/FhirServiceAccessPolicyEntry.Serialization.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/FhirServiceAccessPolicyEntry.Serialization.cs deleted file mode 100644 index 80d2438a42f62..0000000000000 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/FhirServiceAccessPolicyEntry.Serialization.cs +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System.Text.Json; -using Azure.Core; - -namespace Azure.ResourceManager.HealthcareApis.Models -{ - public partial class FhirServiceAccessPolicyEntry : IUtf8JsonSerializable - { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) - { - writer.WriteStartObject(); - writer.WritePropertyName("objectId"u8); - writer.WriteStringValue(ObjectId); - writer.WriteEndObject(); - } - - internal static FhirServiceAccessPolicyEntry DeserializeFhirServiceAccessPolicyEntry(JsonElement element) - { - if (element.ValueKind == JsonValueKind.Null) - { - return null; - } - string objectId = default; - foreach (var property in element.EnumerateObject()) - { - if (property.NameEquals("objectId"u8)) - { - objectId = property.Value.GetString(); - continue; - } - } - return new FhirServiceAccessPolicyEntry(objectId); - } - } -} diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/FhirServiceAccessPolicyEntry.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/FhirServiceAccessPolicyEntry.cs deleted file mode 100644 index 3e63d9a569043..0000000000000 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/FhirServiceAccessPolicyEntry.cs +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using Azure.Core; - -namespace Azure.ResourceManager.HealthcareApis.Models -{ - /// An access policy entry. - public partial class FhirServiceAccessPolicyEntry - { - /// Initializes a new instance of . - /// An Azure AD object ID (User or Apps) that is allowed access to the FHIR service. - /// is null. - public FhirServiceAccessPolicyEntry(string objectId) - { - Argument.AssertNotNull(objectId, nameof(objectId)); - - ObjectId = objectId; - } - - /// An Azure AD object ID (User or Apps) that is allowed access to the FHIR service. - public string ObjectId { get; set; } - } -} 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 805229b30518a..863895b07b637 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 @@ -5,6 +5,7 @@ #nullable disable +using System.Collections.Generic; using System.Text.Json; using Azure.Core; @@ -30,6 +31,16 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) 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(); + } writer.WriteEndObject(); } @@ -42,6 +53,7 @@ internal static FhirServiceAuthenticationConfiguration DeserializeFhirServiceAut Optional authority = default; Optional audience = default; Optional smartProxyEnabled = default; + Optional> smartIdentityProviders = default; foreach (var property in element.EnumerateObject()) { if (property.NameEquals("authority"u8)) @@ -63,8 +75,22 @@ 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)); + } + smartIdentityProviders = array; + continue; + } } - return new FhirServiceAuthenticationConfiguration(authority.Value, audience.Value, Optional.ToNullable(smartProxyEnabled)); + return new FhirServiceAuthenticationConfiguration(authority.Value, audience.Value, Optional.ToNullable(smartProxyEnabled), Optional.ToList(smartIdentityProviders)); } } } 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 778017d8a1c50..925b730c80983 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/FhirServiceAuthenticationConfiguration.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/FhirServiceAuthenticationConfiguration.cs @@ -5,6 +5,9 @@ #nullable disable +using System.Collections.Generic; +using Azure.Core; + namespace Azure.ResourceManager.HealthcareApis.Models { /// Authentication configuration information. @@ -13,17 +16,20 @@ 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. - internal FhirServiceAuthenticationConfiguration(string authority, string audience, bool? isSmartProxyEnabled) + /// The array of identity provider configurations for SMART on FHIR authentication. + internal FhirServiceAuthenticationConfiguration(string authority, string audience, bool? isSmartProxyEnabled, IList smartIdentityProviders) { Authority = authority; Audience = audience; IsSmartProxyEnabled = isSmartProxyEnabled; + SmartIdentityProviders = smartIdentityProviders; } /// The authority url for the service. @@ -32,5 +38,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/FhirServiceData.Serialization.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/FhirServiceData.Serialization.cs index 11b05122cabb8..0823a75ef86fb 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/FhirServiceData.Serialization.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/FhirServiceData.Serialization.cs @@ -50,16 +50,6 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WriteStringValue(Location); writer.WritePropertyName("properties"u8); writer.WriteStartObject(); - if (Optional.IsCollectionDefined(AccessPolicies)) - { - writer.WritePropertyName("accessPolicies"u8); - writer.WriteStartArray(); - foreach (var item in AccessPolicies) - { - writer.WriteObjectValue(item); - } - writer.WriteEndArray(); - } if (Optional.IsDefined(AcrConfiguration)) { writer.WritePropertyName("acrConfiguration"u8); @@ -95,6 +85,16 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("importConfiguration"u8); writer.WriteObjectValue(ImportConfiguration); } + if (Optional.IsDefined(ImplementationGuidesConfiguration)) + { + writer.WritePropertyName("implementationGuidesConfiguration"u8); + writer.WriteObjectValue(ImplementationGuidesConfiguration); + } + if (Optional.IsDefined(Encryption)) + { + writer.WritePropertyName("encryption"u8); + writer.WriteObjectValue(Encryption); + } writer.WriteEndObject(); writer.WriteEndObject(); } @@ -115,7 +115,6 @@ internal static FhirServiceData DeserializeFhirServiceData(JsonElement element) ResourceType type = default; Optional systemData = default; Optional provisioningState = default; - Optional> accessPolicies = default; Optional acrConfiguration = default; Optional authenticationConfiguration = default; Optional corsConfiguration = default; @@ -125,6 +124,8 @@ internal static FhirServiceData DeserializeFhirServiceData(JsonElement element) Optional eventState = default; Optional resourceVersionPolicyConfiguration = default; Optional importConfiguration = default; + Optional implementationGuidesConfiguration = default; + Optional encryption = default; foreach (var property in element.EnumerateObject()) { if (property.NameEquals("kind"u8)) @@ -216,20 +217,6 @@ internal static FhirServiceData DeserializeFhirServiceData(JsonElement element) provisioningState = new HealthcareApisProvisioningState(property0.Value.GetString()); continue; } - if (property0.NameEquals("accessPolicies"u8)) - { - if (property0.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - List array = new List(); - foreach (var item in property0.Value.EnumerateArray()) - { - array.Add(FhirServiceAccessPolicyEntry.DeserializeFhirServiceAccessPolicyEntry(item)); - } - accessPolicies = array; - continue; - } if (property0.NameEquals("acrConfiguration"u8)) { if (property0.Value.ValueKind == JsonValueKind.Null) @@ -316,11 +303,29 @@ internal static FhirServiceData DeserializeFhirServiceData(JsonElement element) importConfiguration = FhirServiceImportConfiguration.DeserializeFhirServiceImportConfiguration(property0.Value); continue; } + if (property0.NameEquals("implementationGuidesConfiguration"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + implementationGuidesConfiguration = ImplementationGuidesConfiguration.DeserializeImplementationGuidesConfiguration(property0.Value); + continue; + } + if (property0.NameEquals("encryption"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + encryption = Encryption.DeserializeEncryption(property0.Value); + continue; + } } continue; } } - return new FhirServiceData(id, name, type, systemData.Value, Optional.ToDictionary(tags), location, Optional.ToNullable(kind), Optional.ToNullable(provisioningState), Optional.ToList(accessPolicies), acrConfiguration.Value, authenticationConfiguration.Value, corsConfiguration.Value, exportConfiguration.Value, Optional.ToList(privateEndpointConnections), Optional.ToNullable(publicNetworkAccess), Optional.ToNullable(eventState), resourceVersionPolicyConfiguration.Value, importConfiguration.Value, identity, Optional.ToNullable(etag)); + return new FhirServiceData(id, name, type, systemData.Value, Optional.ToDictionary(tags), location, Optional.ToNullable(kind), Optional.ToNullable(provisioningState), acrConfiguration.Value, authenticationConfiguration.Value, corsConfiguration.Value, exportConfiguration.Value, Optional.ToList(privateEndpointConnections), Optional.ToNullable(publicNetworkAccess), Optional.ToNullable(eventState), resourceVersionPolicyConfiguration.Value, importConfiguration.Value, implementationGuidesConfiguration.Value, encryption.Value, identity, Optional.ToNullable(etag)); } } } diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceCosmosDbConfiguration.Serialization.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceCosmosDbConfiguration.Serialization.cs index 937c88030be3c..4fc71fab77a67 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceCosmosDbConfiguration.Serialization.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceCosmosDbConfiguration.Serialization.cs @@ -26,6 +26,11 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("keyVaultKeyUri"u8); writer.WriteStringValue(KeyVaultKeyUri.AbsoluteUri); } + if (Optional.IsDefined(CrossTenantCmkApplicationId)) + { + writer.WritePropertyName("crossTenantCmkApplicationId"u8); + writer.WriteStringValue(CrossTenantCmkApplicationId); + } writer.WriteEndObject(); } @@ -37,6 +42,7 @@ internal static HealthcareApisServiceCosmosDbConfiguration DeserializeHealthcare } Optional offerThroughput = default; Optional keyVaultKeyUri = default; + Optional crossTenantCmkApplicationId = default; foreach (var property in element.EnumerateObject()) { if (property.NameEquals("offerThroughput"u8)) @@ -57,8 +63,13 @@ internal static HealthcareApisServiceCosmosDbConfiguration DeserializeHealthcare keyVaultKeyUri = new Uri(property.Value.GetString()); continue; } + if (property.NameEquals("crossTenantCmkApplicationId"u8)) + { + crossTenantCmkApplicationId = property.Value.GetString(); + continue; + } } - return new HealthcareApisServiceCosmosDbConfiguration(Optional.ToNullable(offerThroughput), keyVaultKeyUri.Value); + return new HealthcareApisServiceCosmosDbConfiguration(Optional.ToNullable(offerThroughput), keyVaultKeyUri.Value, crossTenantCmkApplicationId.Value); } } } 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 c0b7dded39fa2..fc63a79f02f94 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceCosmosDbConfiguration.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/HealthcareApisServiceCosmosDbConfiguration.cs @@ -20,15 +20,19 @@ public HealthcareApisServiceCosmosDbConfiguration() /// Initializes a new instance of . /// The provisioned throughput for the backing database. /// The URI of the customer-managed key for the backing database. - internal HealthcareApisServiceCosmosDbConfiguration(int? offerThroughput, Uri keyVaultKeyUri) + /// The multi-tenant application id used to enable CMK access for services in a data sovereign region. + internal HealthcareApisServiceCosmosDbConfiguration(int? offerThroughput, Uri keyVaultKeyUri, string crossTenantCmkApplicationId) { OfferThroughput = offerThroughput; KeyVaultKeyUri = keyVaultKeyUri; + CrossTenantCmkApplicationId = crossTenantCmkApplicationId; } /// The provisioned throughput for the backing database. public int? OfferThroughput { get; set; } /// The URI of the customer-managed key for the backing database. public Uri KeyVaultKeyUri { get; set; } + /// The multi-tenant application id used to enable CMK access for services in a data sovereign region. + public string CrossTenantCmkApplicationId { get; set; } } } diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/ImplementationGuidesConfiguration.Serialization.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/ImplementationGuidesConfiguration.Serialization.cs new file mode 100644 index 0000000000000..713e7877a3d33 --- /dev/null +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/ImplementationGuidesConfiguration.Serialization.cs @@ -0,0 +1,48 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.HealthcareApis.Models +{ + internal partial class ImplementationGuidesConfiguration : IUtf8JsonSerializable + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) + { + writer.WriteStartObject(); + if (Optional.IsDefined(UsCoreMissingData)) + { + writer.WritePropertyName("usCoreMissingData"u8); + writer.WriteBooleanValue(UsCoreMissingData.Value); + } + writer.WriteEndObject(); + } + + internal static ImplementationGuidesConfiguration DeserializeImplementationGuidesConfiguration(JsonElement element) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + Optional usCoreMissingData = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("usCoreMissingData"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + usCoreMissingData = property.Value.GetBoolean(); + continue; + } + } + return new ImplementationGuidesConfiguration(Optional.ToNullable(usCoreMissingData)); + } + } +} diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/ImplementationGuidesConfiguration.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/ImplementationGuidesConfiguration.cs new file mode 100644 index 0000000000000..8e811d01e6ead --- /dev/null +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/ImplementationGuidesConfiguration.cs @@ -0,0 +1,28 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +namespace Azure.ResourceManager.HealthcareApis.Models +{ + /// The settings for Implementation Guides - defining capabilities for national standards, vendor consortiums, clinical societies, etc. + internal partial class ImplementationGuidesConfiguration + { + /// Initializes a new instance of . + public ImplementationGuidesConfiguration() + { + } + + /// Initializes a new instance of . + /// If US Core Missing Data requirement is enabled. + internal ImplementationGuidesConfiguration(bool? usCoreMissingData) + { + UsCoreMissingData = usCoreMissingData; + } + + /// If US Core Missing Data requirement is enabled. + public bool? UsCoreMissingData { get; set; } + } +} 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 0000000000000..6ad27e6c864f8 --- /dev/null +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/SmartDataAction.cs @@ -0,0 +1,57 @@ +// 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"; + private const string WriteValue = "Write"; + private const string DeleteValue = "Delete"; + private const string ExportValue = "Export"; + + /// Read. + public static SmartDataAction Read { get; } = new SmartDataAction(ReadValue); + /// Write. + public static SmartDataAction Write { get; } = new SmartDataAction(WriteValue); + /// Delete. + public static SmartDataAction Delete { get; } = new SmartDataAction(DeleteValue); + /// Export. + public static SmartDataAction Export { get; } = new SmartDataAction(ExportValue); + /// 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 0000000000000..c4d5b1350c64d --- /dev/null +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/SmartIdentityProviderApplication.Serialization.cs @@ -0,0 +1,81 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Collections.Generic; +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.HealthcareApis.Models +{ + public partial class SmartIdentityProviderApplication : IUtf8JsonSerializable + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) + { + 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(); + } + writer.WriteEndObject(); + } + + internal static SmartIdentityProviderApplication DeserializeSmartIdentityProviderApplication(JsonElement element) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + Optional clientId = default; + Optional audience = default; + Optional> allowedDataActions = default; + 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; + } + } + return new SmartIdentityProviderApplication(clientId.Value, audience.Value, Optional.ToList(allowedDataActions)); + } + } +} 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 0000000000000..3372f2cd91e60 --- /dev/null +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/SmartIdentityProviderApplication.cs @@ -0,0 +1,40 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Collections.Generic; +using Azure.Core; + +namespace Azure.ResourceManager.HealthcareApis.Models +{ + /// An Application configured in the Identity Provider used to access FHIR resources. + public partial class SmartIdentityProviderApplication + { + /// 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. + internal SmartIdentityProviderApplication(string clientId, string audience, IList allowedDataActions) + { + ClientId = clientId; + Audience = audience; + AllowedDataActions = allowedDataActions; + } + + /// 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 0000000000000..832af4addfe67 --- /dev/null +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/SmartIdentityProviderConfiguration.Serialization.cs @@ -0,0 +1,70 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Collections.Generic; +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.HealthcareApis.Models +{ + public partial class SmartIdentityProviderConfiguration : IUtf8JsonSerializable + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) + { + 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(); + } + writer.WriteEndObject(); + } + + internal static SmartIdentityProviderConfiguration DeserializeSmartIdentityProviderConfiguration(JsonElement element) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + Optional authority = default; + Optional> applications = default; + 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)); + } + applications = array; + continue; + } + } + return new SmartIdentityProviderConfiguration(authority.Value, Optional.ToList(applications)); + } + } +} 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 0000000000000..05fe67d3deca1 --- /dev/null +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/Models/SmartIdentityProviderConfiguration.cs @@ -0,0 +1,36 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Collections.Generic; +using Azure.Core; + +namespace Azure.ResourceManager.HealthcareApis.Models +{ + /// An object to configure an identity provider for use with SMART on FHIR authentication. + public partial class SmartIdentityProviderConfiguration + { + /// 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. + internal SmartIdentityProviderConfiguration(string authority, IList applications) + { + Authority = authority; + Applications = applications; + } + + /// 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/RestOperations/DicomServicesRestOperations.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/Generated/RestOperations/DicomServicesRestOperations.cs index 6b20b21ea46ef..21c5ea0a1330a 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 ?? "2022-06-01"; + _apiVersion = apiVersion ?? "2023-12-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } @@ -59,7 +59,7 @@ internal HttpMessage CreateListByWorkspaceRequest(string subscriptionId, string } /// Lists all DICOM Services for the given workspace. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The cancellation token to use. @@ -88,7 +88,7 @@ internal HttpMessage CreateListByWorkspaceRequest(string subscriptionId, string } /// Lists all DICOM Services for the given workspace. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The cancellation token to use. @@ -139,7 +139,7 @@ internal HttpMessage CreateGetRequest(string subscriptionId, string resourceGrou } /// Gets the properties of the specified DICOM Service. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of DICOM Service resource. @@ -172,7 +172,7 @@ public async Task> GetAsync(string subscriptionId, st } /// Gets the properties of the specified DICOM Service. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of DICOM Service resource. @@ -231,7 +231,7 @@ internal HttpMessage CreateCreateOrUpdateRequest(string subscriptionId, string r } /// Creates or updates a DICOM Service resource with the specified parameters. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of DICOM Service resource. @@ -261,7 +261,7 @@ public async Task CreateOrUpdateAsync(string subscriptionId, string re } /// Creates or updates a DICOM Service resource with the specified parameters. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of DICOM Service resource. @@ -317,7 +317,7 @@ internal HttpMessage CreateUpdateRequest(string subscriptionId, string resourceG } /// Patch DICOM Service details. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of DICOM Service resource. @@ -346,7 +346,7 @@ public async Task UpdateAsync(string subscriptionId, string resourceGr } /// Patch DICOM Service details. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of DICOM Service resource. @@ -397,7 +397,7 @@ internal HttpMessage CreateDeleteRequest(string subscriptionId, string resourceG } /// Deletes a DICOM Service. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of DICOM Service resource. @@ -425,7 +425,7 @@ public async Task DeleteAsync(string subscriptionId, string resourceGr } /// Deletes a DICOM Service. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of DICOM Service resource. @@ -468,7 +468,7 @@ internal HttpMessage CreateListByWorkspaceNextPageRequest(string nextLink, strin /// Lists all DICOM Services for the given workspace. /// The URL to the next page of results. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The cancellation token to use. @@ -499,7 +499,7 @@ internal HttpMessage CreateListByWorkspaceNextPageRequest(string nextLink, strin /// Lists all DICOM Services for the given workspace. /// The URL to the next page of results. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The cancellation token to use. 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 52074416f1237..f6d0887d1de4a 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 ?? "2022-06-01"; + _apiVersion = apiVersion ?? "2023-12-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } @@ -61,7 +61,7 @@ internal HttpMessage CreateListByIotConnectorRequest(string subscriptionId, stri } /// Lists all FHIR destinations for the given IoT Connector. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of IoT Connector resource. @@ -92,7 +92,7 @@ public async Task> ListByIotConnectorAsyn } /// Lists all FHIR destinations for the given IoT Connector. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of IoT Connector resource. @@ -138,7 +138,7 @@ internal HttpMessage CreateListByIotConnectorNextPageRequest(string nextLink, st /// Lists all FHIR destinations for the given IoT Connector. /// The URL to the next page of results. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of IoT Connector resource. @@ -171,7 +171,7 @@ public async Task> ListByIotConnectorNext /// Lists all FHIR destinations for the given IoT Connector. /// The URL to the next page of results. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of IoT Connector resource. 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 ce385be68c97a..8a3547e829216 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 ?? "2022-06-01"; + _apiVersion = apiVersion ?? "2023-12-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } @@ -59,7 +59,7 @@ internal HttpMessage CreateListByWorkspaceRequest(string subscriptionId, string } /// Lists all FHIR Services for the given workspace. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The cancellation token to use. @@ -88,7 +88,7 @@ internal HttpMessage CreateListByWorkspaceRequest(string subscriptionId, string } /// Lists all FHIR Services for the given workspace. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The cancellation token to use. @@ -139,7 +139,7 @@ internal HttpMessage CreateGetRequest(string subscriptionId, string resourceGrou } /// Gets the properties of the specified FHIR Service. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of FHIR Service resource. @@ -172,7 +172,7 @@ public async Task> GetAsync(string subscriptionId, str } /// Gets the properties of the specified FHIR Service. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of FHIR Service resource. @@ -231,7 +231,7 @@ internal HttpMessage CreateCreateOrUpdateRequest(string subscriptionId, string r } /// Creates or updates a FHIR Service resource with the specified parameters. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of FHIR Service resource. @@ -261,7 +261,7 @@ public async Task CreateOrUpdateAsync(string subscriptionId, string re } /// Creates or updates a FHIR Service resource with the specified parameters. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of FHIR Service resource. @@ -317,7 +317,7 @@ internal HttpMessage CreateUpdateRequest(string subscriptionId, string resourceG } /// Patch FHIR Service details. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of FHIR Service resource. @@ -346,7 +346,7 @@ public async Task UpdateAsync(string subscriptionId, string resourceGr } /// Patch FHIR Service details. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of FHIR Service resource. @@ -397,7 +397,7 @@ internal HttpMessage CreateDeleteRequest(string subscriptionId, string resourceG } /// Deletes a FHIR Service. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of FHIR Service resource. @@ -425,7 +425,7 @@ public async Task DeleteAsync(string subscriptionId, string resourceGr } /// Deletes a FHIR Service. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of FHIR Service resource. @@ -468,7 +468,7 @@ internal HttpMessage CreateListByWorkspaceNextPageRequest(string nextLink, strin /// Lists all FHIR Services for the given workspace. /// The URL to the next page of results. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The cancellation token to use. @@ -499,7 +499,7 @@ internal HttpMessage CreateListByWorkspaceNextPageRequest(string nextLink, strin /// Lists all FHIR Services for the given workspace. /// The URL to the next page of results. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The cancellation token to use. 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 8a8f9b2bdf4ff..e2df0475eb1e1 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 ?? "2022-06-01"; + _apiVersion = apiVersion ?? "2023-12-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } @@ -61,7 +61,7 @@ internal HttpMessage CreateGetRequest(string subscriptionId, string resourceGrou } /// Gets the properties of the specified Iot Connector FHIR destination. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of IoT Connector resource. @@ -96,7 +96,7 @@ public async Task> GetAsync(strin } /// Gets the properties of the specified Iot Connector FHIR destination. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of IoT Connector resource. @@ -159,7 +159,7 @@ internal HttpMessage CreateCreateOrUpdateRequest(string subscriptionId, string r } /// Creates or updates an IoT Connector FHIR destination resource with the specified parameters. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of IoT Connector resource. @@ -191,7 +191,7 @@ public async Task CreateOrUpdateAsync(string subscriptionId, string re } /// Creates or updates an IoT Connector FHIR destination resource with the specified parameters. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of IoT Connector resource. @@ -247,7 +247,7 @@ internal HttpMessage CreateDeleteRequest(string subscriptionId, string resourceG } /// Deletes an IoT Connector FHIR destination. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of IoT Connector resource. @@ -277,7 +277,7 @@ public async Task DeleteAsync(string subscriptionId, string resourceGr } /// Deletes an IoT Connector FHIR destination. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of IoT Connector resource. 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 d89fb92986883..392a7fdf1c1ca 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 ?? "2022-06-01"; + _apiVersion = apiVersion ?? "2023-12-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } @@ -59,7 +59,7 @@ internal HttpMessage CreateListByWorkspaceRequest(string subscriptionId, string } /// Lists all IoT Connectors for the given workspace. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The cancellation token to use. @@ -88,7 +88,7 @@ public async Task> ListByWorkspaceAsync(string } /// Lists all IoT Connectors for the given workspace. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The cancellation token to use. @@ -139,7 +139,7 @@ internal HttpMessage CreateGetRequest(string subscriptionId, string resourceGrou } /// Gets the properties of the specified IoT Connector. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of IoT Connector resource. @@ -172,7 +172,7 @@ public async Task> GetAsync(string subs } /// Gets the properties of the specified IoT Connector. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of IoT Connector resource. @@ -231,7 +231,7 @@ internal HttpMessage CreateCreateOrUpdateRequest(string subscriptionId, string r } /// Creates or updates an IoT Connector resource with the specified parameters. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of IoT Connector resource. @@ -261,7 +261,7 @@ public async Task CreateOrUpdateAsync(string subscriptionId, string re } /// Creates or updates an IoT Connector resource with the specified parameters. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of IoT Connector resource. @@ -317,7 +317,7 @@ internal HttpMessage CreateUpdateRequest(string subscriptionId, string resourceG } /// Patch an IoT Connector. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of IoT Connector resource. @@ -346,7 +346,7 @@ public async Task UpdateAsync(string subscriptionId, string resourceGr } /// Patch an IoT Connector. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of IoT Connector resource. @@ -397,7 +397,7 @@ internal HttpMessage CreateDeleteRequest(string subscriptionId, string resourceG } /// Deletes an IoT Connector. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of IoT Connector resource. @@ -425,7 +425,7 @@ public async Task DeleteAsync(string subscriptionId, string resourceGr } /// Deletes an IoT Connector. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of IoT Connector resource. @@ -468,7 +468,7 @@ internal HttpMessage CreateListByWorkspaceNextPageRequest(string nextLink, strin /// Lists all IoT Connectors for the given workspace. /// The URL to the next page of results. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The cancellation token to use. @@ -499,7 +499,7 @@ public async Task> ListByWorkspaceNextPageAsync /// Lists all IoT Connectors for the given workspace. /// The URL to the next page of results. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The cancellation token to use. 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 2e189258271a8..534f46b546b0e 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 ?? "2022-06-01"; + _apiVersion = apiVersion ?? "2023-12-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } @@ -59,7 +59,7 @@ internal HttpMessage CreateListByServiceRequest(string subscriptionId, string re } /// Lists all private endpoint connections for a service. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of the service instance. /// The cancellation token to use. @@ -88,7 +88,7 @@ public async Task> List } /// Lists all private endpoint connections for a service. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of the service instance. /// The cancellation token to use. @@ -139,7 +139,7 @@ internal HttpMessage CreateGetRequest(string subscriptionId, string resourceGrou } /// Gets the specified private endpoint connection associated with the service. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of the service instance. /// The name of the private endpoint connection associated with the Azure resource. @@ -172,7 +172,7 @@ public async Task> GetAsyn } /// Gets the specified private endpoint connection associated with the service. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of the service instance. /// The name of the private endpoint connection associated with the Azure resource. @@ -231,7 +231,7 @@ internal HttpMessage CreateCreateOrUpdateRequest(string subscriptionId, string r } /// Update the state of the specified private endpoint connection associated with the service. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of the service instance. /// The name of the private endpoint connection associated with the Azure resource. @@ -259,7 +259,7 @@ public async Task CreateOrUpdateAsync(string subscriptionId, string re } /// Update the state of the specified private endpoint connection associated with the service. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of the service instance. /// The name of the private endpoint connection associated with the Azure resource. @@ -309,7 +309,7 @@ internal HttpMessage CreateDeleteRequest(string subscriptionId, string resourceG } /// Deletes a private endpoint connection. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of the service instance. /// The name of the private endpoint connection associated with the Azure resource. @@ -337,7 +337,7 @@ public async Task DeleteAsync(string subscriptionId, string resourceGr } /// Deletes a private endpoint connection. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of the service instance. /// The name of the private endpoint connection associated with the Azure resource. 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 66409004fa0af..e7fab1511e1d7 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 ?? "2022-06-01"; + _apiVersion = apiVersion ?? "2023-12-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } @@ -59,7 +59,7 @@ internal HttpMessage CreateListByServiceRequest(string subscriptionId, string re } /// Gets the private link resources that need to be created for a service. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of the service instance. /// The cancellation token to use. @@ -88,7 +88,7 @@ public async Task> ListByServ } /// Gets the private link resources that need to be created for a service. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of the service instance. /// The cancellation token to use. @@ -139,7 +139,7 @@ internal HttpMessage CreateGetRequest(string subscriptionId, string resourceGrou } /// Gets a private link resource that need to be created for a service. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of the service instance. /// The name of the private link resource group. @@ -172,7 +172,7 @@ public async Task> GetAsync(stri } /// Gets a private link resource that need to be created for a service. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of the service instance. /// The name of the private link resource group. 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 c6de58dc21a08..2d4a4609b0434 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 ?? "2022-06-01"; + _apiVersion = apiVersion ?? "2023-12-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } @@ -58,7 +58,7 @@ internal HttpMessage CreateGetRequest(string subscriptionId, string resourceGrou } /// Get the metadata of a service instance. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of the service instance. /// The cancellation token to use. @@ -89,7 +89,7 @@ public async Task> GetAsync(string subscript } /// Get the metadata of a service instance. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of the service instance. /// The cancellation token to use. @@ -144,7 +144,7 @@ internal HttpMessage CreateCreateOrUpdateRequest(string subscriptionId, string r } /// Create or update the metadata of a service instance. - /// The subscription identifier. + /// 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. @@ -171,7 +171,7 @@ public async Task CreateOrUpdateAsync(string subscriptionId, string re } /// Create or update the metadata of a service instance. - /// The subscription identifier. + /// 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. @@ -222,7 +222,7 @@ internal HttpMessage CreateUpdateRequest(string subscriptionId, string resourceG } /// Update the metadata of a service instance. - /// The subscription identifier. + /// 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 and security metadata. @@ -248,7 +248,7 @@ public async Task UpdateAsync(string subscriptionId, string resourceGr } /// Update the metadata of a service instance. - /// The subscription identifier. + /// 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 and security metadata. @@ -294,7 +294,7 @@ internal HttpMessage CreateDeleteRequest(string subscriptionId, string resourceG } /// Delete a service instance. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of the service instance. /// The cancellation token to use. @@ -319,7 +319,7 @@ public async Task DeleteAsync(string subscriptionId, string resourceGr } /// Delete a service instance. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of the service instance. /// The cancellation token to use. @@ -361,7 +361,7 @@ internal HttpMessage CreateListRequest(string subscriptionId) } /// Get all the service instances in a subscription. - /// The subscription identifier. + /// The ID of the target subscription. /// The cancellation token to use. /// is null. /// is an empty string, and was expected to be non-empty. @@ -386,7 +386,7 @@ public async Task> ListAsync(string subs } /// Get all the service instances in a subscription. - /// The subscription identifier. + /// The ID of the target subscription. /// The cancellation token to use. /// is null. /// is an empty string, and was expected to be non-empty. @@ -430,7 +430,7 @@ internal HttpMessage CreateListByResourceGroupRequest(string subscriptionId, str } /// Get all the service instances in a resource group. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The cancellation token to use. /// or is null. @@ -457,7 +457,7 @@ public async Task> ListByResourceGroupAs } /// Get all the service instances in a resource group. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The cancellation token to use. /// or is null. @@ -505,7 +505,7 @@ internal HttpMessage CreateCheckNameAvailabilityRequest(string subscriptionId, H } /// Check if a service instance name is available. - /// The subscription identifier. + /// The ID of the target subscription. /// Set the name parameter in the CheckNameAvailabilityParameters structure to the name of the service instance to check. /// The cancellation token to use. /// or is null. @@ -532,7 +532,7 @@ public async Task> CheckNameAvail } /// Check if a service instance name is available. - /// The subscription identifier. + /// The ID of the target subscription. /// Set the name parameter in the CheckNameAvailabilityParameters structure to the name of the service instance to check. /// The cancellation token to use. /// or is null. @@ -574,7 +574,7 @@ internal HttpMessage CreateListNextPageRequest(string nextLink, string subscript /// Get all the service instances in a subscription. /// The URL to the next page of results. - /// The subscription identifier. + /// The ID of the target subscription. /// The cancellation token to use. /// or is null. /// is an empty string, and was expected to be non-empty. @@ -601,7 +601,7 @@ public async Task> ListNextPageAsync(str /// Get all the service instances in a subscription. /// The URL to the next page of results. - /// The subscription identifier. + /// The ID of the target subscription. /// The cancellation token to use. /// or is null. /// is an empty string, and was expected to be non-empty. @@ -642,7 +642,7 @@ internal HttpMessage CreateListByResourceGroupNextPageRequest(string nextLink, s /// Get all the service instances in a resource group. /// The URL to the next page of results. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The cancellation token to use. /// , or is null. @@ -671,7 +671,7 @@ public async Task> ListByResourceGroupNe /// Get all the service instances in a resource group. /// The URL to the next page of results. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The cancellation token to use. /// , or is null. 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 7b53325296295..dd16e54bbdbec 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 ?? "2022-06-01"; + _apiVersion = apiVersion ?? "2023-12-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } @@ -59,7 +59,7 @@ internal HttpMessage CreateListByWorkspaceRequest(string subscriptionId, string } /// Lists all private endpoint connections for a workspace. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The cancellation token to use. @@ -88,7 +88,7 @@ public async Task> List } /// Lists all private endpoint connections for a workspace. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The cancellation token to use. @@ -139,7 +139,7 @@ internal HttpMessage CreateGetRequest(string subscriptionId, string resourceGrou } /// Gets the specified private endpoint connection associated with the workspace. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of the private endpoint connection associated with the Azure resource. @@ -172,7 +172,7 @@ public async Task> GetAsyn } /// Gets the specified private endpoint connection associated with the workspace. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of the private endpoint connection associated with the Azure resource. @@ -231,7 +231,7 @@ internal HttpMessage CreateCreateOrUpdateRequest(string subscriptionId, string r } /// Update the state of the specified private endpoint connection associated with the workspace. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of the private endpoint connection associated with the Azure resource. @@ -259,7 +259,7 @@ public async Task CreateOrUpdateAsync(string subscriptionId, string re } /// Update the state of the specified private endpoint connection associated with the workspace. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of the private endpoint connection associated with the Azure resource. @@ -309,7 +309,7 @@ internal HttpMessage CreateDeleteRequest(string subscriptionId, string resourceG } /// Deletes a private endpoint connection. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of the private endpoint connection associated with the Azure resource. @@ -337,7 +337,7 @@ public async Task DeleteAsync(string subscriptionId, string resourceGr } /// Deletes a private endpoint connection. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of the private endpoint connection associated with the Azure resource. 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 4744ef1bcec97..437057c3d370e 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 ?? "2022-06-01"; + _apiVersion = apiVersion ?? "2023-12-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } @@ -59,7 +59,7 @@ internal HttpMessage CreateListByWorkspaceRequest(string subscriptionId, string } /// Gets the private link resources that need to be created for a workspace. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The cancellation token to use. @@ -88,7 +88,7 @@ public async Task> ListByWork } /// Gets the private link resources that need to be created for a workspace. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The cancellation token to use. @@ -139,7 +139,7 @@ internal HttpMessage CreateGetRequest(string subscriptionId, string resourceGrou } /// Gets a private link resource that need to be created for a workspace. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of the private link resource group. @@ -172,7 +172,7 @@ public async Task> GetAsync(stri } /// Gets a private link resource that need to be created for a workspace. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The name of the private link resource group. 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 c417d0cda4b3a..9546776e3c4c5 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 ?? "2022-06-01"; + _apiVersion = apiVersion ?? "2023-12-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } @@ -55,7 +55,7 @@ internal HttpMessage CreateListBySubscriptionRequest(string subscriptionId) } /// Lists all the available workspaces under the specified subscription. - /// The subscription identifier. + /// The ID of the target subscription. /// The cancellation token to use. /// is null. /// is an empty string, and was expected to be non-empty. @@ -80,7 +80,7 @@ public async Task> ListBySubscriptionAsync(string subscr } /// Lists all the available workspaces under the specified subscription. - /// The subscription identifier. + /// The ID of the target subscription. /// The cancellation token to use. /// is null. /// is an empty string, and was expected to be non-empty. @@ -124,7 +124,7 @@ internal HttpMessage CreateListByResourceGroupRequest(string subscriptionId, str } /// Lists all the available workspaces under the specified resource group. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The cancellation token to use. /// or is null. @@ -151,7 +151,7 @@ public async Task> ListByResourceGroupAsync(string subsc } /// Lists all the available workspaces under the specified resource group. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The cancellation token to use. /// or is null. @@ -198,7 +198,7 @@ internal HttpMessage CreateGetRequest(string subscriptionId, string resourceGrou } /// Gets the properties of the specified workspace. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The cancellation token to use. @@ -229,7 +229,7 @@ public async Task> GetAsync(string subscri } /// Gets the properties of the specified workspace. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The cancellation token to use. @@ -284,7 +284,7 @@ internal HttpMessage CreateCreateOrUpdateRequest(string subscriptionId, string r } /// Creates or updates a workspace resource with the specified parameters. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The parameters for creating or updating a healthcare workspace. @@ -312,7 +312,7 @@ public async Task CreateOrUpdateAsync(string subscriptionId, string re } /// Creates or updates a workspace resource with the specified parameters. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The parameters for creating or updating a healthcare workspace. @@ -364,7 +364,7 @@ internal HttpMessage CreateUpdateRequest(string subscriptionId, string resourceG } /// Patch workspace details. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The parameters for updating a specified workspace. @@ -391,7 +391,7 @@ public async Task UpdateAsync(string subscriptionId, string resourceGr } /// Patch workspace details. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The parameters for updating a specified workspace. @@ -438,7 +438,7 @@ internal HttpMessage CreateDeleteRequest(string subscriptionId, string resourceG } /// Deletes a specified workspace. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The cancellation token to use. @@ -464,7 +464,7 @@ public async Task DeleteAsync(string subscriptionId, string resourceGr } /// Deletes a specified workspace. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The name of workspace resource. /// The cancellation token to use. @@ -505,7 +505,7 @@ internal HttpMessage CreateListBySubscriptionNextPageRequest(string nextLink, st /// Lists all the available workspaces under the specified subscription. /// The URL to the next page of results. - /// The subscription identifier. + /// The ID of the target subscription. /// The cancellation token to use. /// or is null. /// is an empty string, and was expected to be non-empty. @@ -532,7 +532,7 @@ public async Task> ListBySubscriptionNextPageAsync(strin /// Lists all the available workspaces under the specified subscription. /// The URL to the next page of results. - /// The subscription identifier. + /// The ID of the target subscription. /// The cancellation token to use. /// or is null. /// is an empty string, and was expected to be non-empty. @@ -573,7 +573,7 @@ internal HttpMessage CreateListByResourceGroupNextPageRequest(string nextLink, s /// Lists all the available workspaces under the specified resource group. /// The URL to the next page of results. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The cancellation token to use. /// , or is null. @@ -602,7 +602,7 @@ public async Task> ListByResourceGroupNextPageAsync(stri /// Lists all the available workspaces under the specified resource group. /// The URL to the next page of results. - /// The subscription identifier. + /// The ID of the target subscription. /// The name of the resource group that contains the service instance. /// The cancellation token to use. /// , or is null. diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/autorest.md b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/src/autorest.md index 27ce1aa047f86..0a39d0dff69a7 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/aa8a23b8f92477d0fdce7af6ccffee1c604b3c56/specification/healthcareapis/resource-manager/readme.md +require: /mnt/vss/_work/1/s/azure-rest-api-specs/specification/healthcareapis/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true sample-gen: