Skip to content

Commit f89066a

Browse files
authored
Fix HealthDataAiService (#29909)
1 parent efa7e41 commit f89066a

File tree

2 files changed

+13
-47
lines changed
  • specification/healthdataaiservices
    • HealthDataAIServices.Management
    • resource-manager/Microsoft.HealthDataAIServices/preview/2024-02-28-preview

2 files changed

+13
-47
lines changed

specification/healthdataaiservices/HealthDataAIServices.Management/main.tsp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ interface PrivateEndpointConnections {
139139
/** Delete the private endpoint connection */
140140
delete is ArmResourceDeleteWithoutOkAsync<PrivateEndpointConnectionResource>;
141141
/** List private endpoint connections on the given resource */
142-
list is ArmResourceListByParent<PrivateEndpointConnectionResource>;
142+
listByDeidService is ArmResourceListByParent<PrivateEndpointConnectionResource>;
143143
}
144144

145145
/** Private Links for DeidService resource */
@@ -153,5 +153,5 @@ model PrivateLinkResource is ProxyResource<PrivateLinkResourceProperties> {
153153
@armResourceOperations(PrivateLinkResource)
154154
interface PrivateLinks {
155155
/** List private links on the given resource */
156-
list is ArmResourceListByParent<PrivateLinkResource>;
156+
listByDeidService is ArmResourceListByParent<PrivateLinkResource>;
157157
}

specification/healthdataaiservices/resource-manager/Microsoft.HealthDataAIServices/preview/2024-02-28-preview/openapi.json

Lines changed: 11 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -719,42 +719,6 @@
719719
}
720720
},
721721
"definitions": {
722-
"Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType": {
723-
"type": "string",
724-
"description": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).",
725-
"enum": [
726-
"None",
727-
"SystemAssigned",
728-
"UserAssigned",
729-
"SystemAssigned,UserAssigned"
730-
],
731-
"x-ms-enum": {
732-
"name": "ManagedServiceIdentityType",
733-
"modelAsString": true,
734-
"values": [
735-
{
736-
"name": "None",
737-
"value": "None",
738-
"description": "No managed identity."
739-
},
740-
{
741-
"name": "SystemAssigned",
742-
"value": "SystemAssigned",
743-
"description": "System assigned managed identity."
744-
},
745-
{
746-
"name": "UserAssigned",
747-
"value": "UserAssigned",
748-
"description": "User assigned managed identity."
749-
},
750-
{
751-
"name": "SystemAndUserAssigned",
752-
"value": "SystemAssigned,UserAssigned",
753-
"description": "System and user assigned managed identity."
754-
}
755-
]
756-
}
757-
},
758722
"DeidPropertiesUpdate": {
759723
"type": "object",
760724
"description": "The template for adding optional properties.",
@@ -771,8 +735,7 @@
771735
"properties": {
772736
"properties": {
773737
"$ref": "#/definitions/DeidServiceProperties",
774-
"description": "The resource-specific properties for this resource.",
775-
"x-ms-client-flatten": true
738+
"description": "The resource-specific properties for this resource."
776739
},
777740
"identity": {
778741
"$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity",
@@ -860,15 +823,20 @@
860823
"description": "The template for adding optional properties.",
861824
"properties": {
862825
"type": {
863-
"$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType",
826+
"$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentityType",
864827
"description": "The type of managed identity assigned to this resource."
865828
},
866829
"userAssignedIdentities": {
867830
"type": "object",
868831
"description": "The identities assigned to this resource by the user.",
869-
"x-nullable": true,
870832
"additionalProperties": {
871-
"$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/UserAssignedIdentity"
833+
"allOf": [
834+
{
835+
"$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/UserAssignedIdentity"
836+
}
837+
],
838+
"type": "object",
839+
"x-nullable": true
872840
}
873841
}
874842
}
@@ -879,8 +847,7 @@
879847
"properties": {
880848
"properties": {
881849
"$ref": "../../../../../common-types/resource-management/v5/privatelinks.json#/definitions/PrivateEndpointConnectionProperties",
882-
"description": "The resource-specific properties for this resource.",
883-
"x-ms-client-flatten": true
850+
"description": "The resource-specific properties for this resource."
884851
}
885852
},
886853
"allOf": [
@@ -916,8 +883,7 @@
916883
"properties": {
917884
"properties": {
918885
"$ref": "../../../../../common-types/resource-management/v5/privatelinks.json#/definitions/PrivateLinkResourceProperties",
919-
"description": "The resource-specific properties for this resource.",
920-
"x-ms-client-flatten": true
886+
"description": "The resource-specific properties for this resource."
921887
}
922888
},
923889
"allOf": [

0 commit comments

Comments
 (0)