Skip to content

Commit 2067218

Browse files
author
SDKAuto
committed
CodeGen from PR 23058 in Azure/azure-rest-api-specs
Merge 543e7c7f6f79004adcb1c2da2838c6ce8d563fb1 into a42a3d01a056f02e345685f311961a18d5862cd1
1 parent 5ed6daf commit 2067218

File tree

2 files changed

+6
-264
lines changed

2 files changed

+6
-264
lines changed

schemas/2023-01-15-preview/Microsoft.AzureArcData.json

Lines changed: 3 additions & 132 deletions
Original file line numberDiff line numberDiff line change
@@ -738,40 +738,6 @@
738738
},
739739
"description": "Active Directory information that related to the resource."
740740
},
741-
"AGReplicas": {
742-
"type": "object",
743-
"properties": {
744-
"availabilityMode": {
745-
"type": "string",
746-
"description": "The availability mode of the replica."
747-
},
748-
"connectedState": {
749-
"type": "string",
750-
"description": "The connected state of the replica."
751-
},
752-
"healthState": {
753-
"type": "string",
754-
"description": "The health state of the replica."
755-
},
756-
"replicaName": {
757-
"type": "string",
758-
"description": "The replica name."
759-
},
760-
"role": {
761-
"type": "string",
762-
"description": "The role of the replica."
763-
},
764-
"secondaryRoleAllowConnections": {
765-
"type": "string",
766-
"description": "The secondary role allowed connections."
767-
},
768-
"synchronizationState": {
769-
"type": "string",
770-
"description": "The synchronization state of the availability group replicas."
771-
}
772-
},
773-
"description": "The information about each failover group replica."
774-
},
775741
"BasicLoginInformation": {
776742
"type": "object",
777743
"properties": {
@@ -1004,15 +970,9 @@
1004970
"description": "The specifications of the failover group resource."
1005971
},
1006972
"status": {
1007-
"oneOf": [
1008-
{
1009-
"$ref": "#/definitions/FailoverGroupStatus"
1010-
},
1011-
{
1012-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1013-
}
1014-
],
1015-
"description": "The status of the Kubernetes custom resource."
973+
"type": "object",
974+
"properties": {},
975+
"description": "The status of the failover group custom resource."
1016976
}
1017977
},
1018978
"required": [
@@ -1098,95 +1058,6 @@
10981058
],
10991059
"description": "The specifications of the failover group resource."
11001060
},
1101-
"FailoverGroupStatus": {
1102-
"type": "object",
1103-
"properties": {
1104-
"additionalProperties": {
1105-
"oneOf": [
1106-
{
1107-
"type": "object",
1108-
"additionalProperties": {
1109-
"type": "object",
1110-
"properties": {}
1111-
},
1112-
"properties": {}
1113-
},
1114-
{
1115-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1116-
}
1117-
],
1118-
"description": "Unmatched properties from the message are deserialized this collection"
1119-
},
1120-
"lastUpdateTime": {
1121-
"type": "string",
1122-
"format": "date-time",
1123-
"description": "The time that the custom resource was last updated."
1124-
},
1125-
"observedGeneration": {
1126-
"oneOf": [
1127-
{
1128-
"type": "integer"
1129-
},
1130-
{
1131-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1132-
}
1133-
],
1134-
"description": "The version of the replicaSet associated with the failover group custom resource."
1135-
},
1136-
"replicas": {
1137-
"oneOf": [
1138-
{
1139-
"type": "array",
1140-
"items": {
1141-
"$ref": "#/definitions/AGReplicas"
1142-
}
1143-
},
1144-
{
1145-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1146-
}
1147-
],
1148-
"description": "A list of failover group replicas."
1149-
},
1150-
"results": {
1151-
"type": "string",
1152-
"description": "The message in case of a failure in the failover group."
1153-
},
1154-
"role": {
1155-
"oneOf": [
1156-
{
1157-
"type": "string",
1158-
"enum": [
1159-
"primary",
1160-
"secondary",
1161-
"force-primary-allow-data-loss",
1162-
"force-secondary"
1163-
]
1164-
},
1165-
{
1166-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1167-
}
1168-
],
1169-
"description": "The role of the managed instance in the failover group."
1170-
},
1171-
"state": {
1172-
"oneOf": [
1173-
{
1174-
"type": "string",
1175-
"enum": [
1176-
"Waiting",
1177-
"Succeeded",
1178-
"Failed"
1179-
]
1180-
},
1181-
{
1182-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1183-
}
1184-
],
1185-
"description": "The state of the failover group custom resource."
1186-
}
1187-
},
1188-
"description": "The status of the Kubernetes custom resource."
1189-
},
11901061
"K8sResourceRequirements": {
11911062
"type": "object",
11921063
"properties": {

schemas/2023-03-15-preview/Microsoft.AzureArcData.json

Lines changed: 3 additions & 132 deletions
Original file line numberDiff line numberDiff line change
@@ -990,40 +990,6 @@
990990
},
991991
"description": "Active Directory information that related to the resource."
992992
},
993-
"AGReplicas": {
994-
"type": "object",
995-
"properties": {
996-
"availabilityMode": {
997-
"type": "string",
998-
"description": "The availability mode of the replica."
999-
},
1000-
"connectedState": {
1001-
"type": "string",
1002-
"description": "The connected state of the replica."
1003-
},
1004-
"healthState": {
1005-
"type": "string",
1006-
"description": "The health state of the replica."
1007-
},
1008-
"replicaName": {
1009-
"type": "string",
1010-
"description": "The replica name."
1011-
},
1012-
"role": {
1013-
"type": "string",
1014-
"description": "The role of the replica."
1015-
},
1016-
"secondaryRoleAllowConnections": {
1017-
"type": "string",
1018-
"description": "The secondary role allowed connections."
1019-
},
1020-
"synchronizationState": {
1021-
"type": "string",
1022-
"description": "The synchronization state of the availability group replicas."
1023-
}
1024-
},
1025-
"description": "The information about each failover group replica."
1026-
},
1027993
"AvailabilityGroupConfigure": {
1028994
"type": "object",
1029995
"properties": {
@@ -1361,15 +1327,9 @@
13611327
"description": "The specifications of the failover group resource."
13621328
},
13631329
"status": {
1364-
"oneOf": [
1365-
{
1366-
"$ref": "#/definitions/FailoverGroupStatus"
1367-
},
1368-
{
1369-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1370-
}
1371-
],
1372-
"description": "The status of the Kubernetes custom resource."
1330+
"type": "object",
1331+
"properties": {},
1332+
"description": "The status of the failover group custom resource."
13731333
}
13741334
},
13751335
"required": [
@@ -1455,95 +1415,6 @@
14551415
],
14561416
"description": "The specifications of the failover group resource."
14571417
},
1458-
"FailoverGroupStatus": {
1459-
"type": "object",
1460-
"properties": {
1461-
"additionalProperties": {
1462-
"oneOf": [
1463-
{
1464-
"type": "object",
1465-
"additionalProperties": {
1466-
"type": "object",
1467-
"properties": {}
1468-
},
1469-
"properties": {}
1470-
},
1471-
{
1472-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1473-
}
1474-
],
1475-
"description": "Unmatched properties from the message are deserialized this collection"
1476-
},
1477-
"lastUpdateTime": {
1478-
"type": "string",
1479-
"format": "date-time",
1480-
"description": "The time that the custom resource was last updated."
1481-
},
1482-
"observedGeneration": {
1483-
"oneOf": [
1484-
{
1485-
"type": "integer"
1486-
},
1487-
{
1488-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1489-
}
1490-
],
1491-
"description": "The version of the replicaSet associated with the failover group custom resource."
1492-
},
1493-
"replicas": {
1494-
"oneOf": [
1495-
{
1496-
"type": "array",
1497-
"items": {
1498-
"$ref": "#/definitions/AGReplicas"
1499-
}
1500-
},
1501-
{
1502-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1503-
}
1504-
],
1505-
"description": "A list of failover group replicas."
1506-
},
1507-
"results": {
1508-
"type": "string",
1509-
"description": "The message in case of a failure in the failover group."
1510-
},
1511-
"role": {
1512-
"oneOf": [
1513-
{
1514-
"type": "string",
1515-
"enum": [
1516-
"primary",
1517-
"secondary",
1518-
"force-primary-allow-data-loss",
1519-
"force-secondary"
1520-
]
1521-
},
1522-
{
1523-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1524-
}
1525-
],
1526-
"description": "The role of the managed instance in the failover group."
1527-
},
1528-
"state": {
1529-
"oneOf": [
1530-
{
1531-
"type": "string",
1532-
"enum": [
1533-
"Waiting",
1534-
"Succeeded",
1535-
"Failed"
1536-
]
1537-
},
1538-
{
1539-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1540-
}
1541-
],
1542-
"description": "The state of the failover group custom resource."
1543-
}
1544-
},
1545-
"description": "The status of the Kubernetes custom resource."
1546-
},
15471418
"K8sResourceRequirements": {
15481419
"type": "object",
15491420
"properties": {

0 commit comments

Comments
 (0)