Skip to content

Commit

Permalink
Fix HealthDataAiService (#29909)
Browse files Browse the repository at this point in the history
  • Loading branch information
markcowl authored Jul 18, 2024
1 parent efa7e41 commit f89066a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 47 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ interface PrivateEndpointConnections {
/** Delete the private endpoint connection */
delete is ArmResourceDeleteWithoutOkAsync<PrivateEndpointConnectionResource>;
/** List private endpoint connections on the given resource */
list is ArmResourceListByParent<PrivateEndpointConnectionResource>;
listByDeidService is ArmResourceListByParent<PrivateEndpointConnectionResource>;
}

/** Private Links for DeidService resource */
Expand All @@ -153,5 +153,5 @@ model PrivateLinkResource is ProxyResource<PrivateLinkResourceProperties> {
@armResourceOperations(PrivateLinkResource)
interface PrivateLinks {
/** List private links on the given resource */
list is ArmResourceListByParent<PrivateLinkResource>;
listByDeidService is ArmResourceListByParent<PrivateLinkResource>;
}
Original file line number Diff line number Diff line change
Expand Up @@ -719,42 +719,6 @@
}
},
"definitions": {
"Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType": {
"type": "string",
"description": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).",
"enum": [
"None",
"SystemAssigned",
"UserAssigned",
"SystemAssigned,UserAssigned"
],
"x-ms-enum": {
"name": "ManagedServiceIdentityType",
"modelAsString": true,
"values": [
{
"name": "None",
"value": "None",
"description": "No managed identity."
},
{
"name": "SystemAssigned",
"value": "SystemAssigned",
"description": "System assigned managed identity."
},
{
"name": "UserAssigned",
"value": "UserAssigned",
"description": "User assigned managed identity."
},
{
"name": "SystemAndUserAssigned",
"value": "SystemAssigned,UserAssigned",
"description": "System and user assigned managed identity."
}
]
}
},
"DeidPropertiesUpdate": {
"type": "object",
"description": "The template for adding optional properties.",
Expand All @@ -771,8 +735,7 @@
"properties": {
"properties": {
"$ref": "#/definitions/DeidServiceProperties",
"description": "The resource-specific properties for this resource.",
"x-ms-client-flatten": true
"description": "The resource-specific properties for this resource."
},
"identity": {
"$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity",
Expand Down Expand Up @@ -860,15 +823,20 @@
"description": "The template for adding optional properties.",
"properties": {
"type": {
"$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType",
"$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentityType",
"description": "The type of managed identity assigned to this resource."
},
"userAssignedIdentities": {
"type": "object",
"description": "The identities assigned to this resource by the user.",
"x-nullable": true,
"additionalProperties": {
"$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/UserAssignedIdentity"
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/UserAssignedIdentity"
}
],
"type": "object",
"x-nullable": true
}
}
}
Expand All @@ -879,8 +847,7 @@
"properties": {
"properties": {
"$ref": "../../../../../common-types/resource-management/v5/privatelinks.json#/definitions/PrivateEndpointConnectionProperties",
"description": "The resource-specific properties for this resource.",
"x-ms-client-flatten": true
"description": "The resource-specific properties for this resource."
}
},
"allOf": [
Expand Down Expand Up @@ -916,8 +883,7 @@
"properties": {
"properties": {
"$ref": "../../../../../common-types/resource-management/v5/privatelinks.json#/definitions/PrivateLinkResourceProperties",
"description": "The resource-specific properties for this resource.",
"x-ms-client-flatten": true
"description": "The resource-specific properties for this resource."
}
},
"allOf": [
Expand Down

0 comments on commit f89066a

Please sign in to comment.