diff --git a/schemas/2023-01-15-preview/Microsoft.AzureArcData.json b/schemas/2023-01-15-preview/Microsoft.AzureArcData.json index 5946c3a6fd..9e452ebdc5 100644 --- a/schemas/2023-01-15-preview/Microsoft.AzureArcData.json +++ b/schemas/2023-01-15-preview/Microsoft.AzureArcData.json @@ -738,40 +738,6 @@ }, "description": "Active Directory information that related to the resource." }, - "AGReplicas": { - "type": "object", - "properties": { - "availabilityMode": { - "type": "string", - "description": "The availability mode of the replica." - }, - "connectedState": { - "type": "string", - "description": "The connected state of the replica." - }, - "healthState": { - "type": "string", - "description": "The health state of the replica." - }, - "replicaName": { - "type": "string", - "description": "The replica name." - }, - "role": { - "type": "string", - "description": "The role of the replica." - }, - "secondaryRoleAllowConnections": { - "type": "string", - "description": "The secondary role allowed connections." - }, - "synchronizationState": { - "type": "string", - "description": "The synchronization state of the availability group replicas." - } - }, - "description": "The information about each failover group replica." - }, "BasicLoginInformation": { "type": "object", "properties": { @@ -1004,15 +970,9 @@ "description": "The specifications of the failover group resource." }, "status": { - "oneOf": [ - { - "$ref": "#/definitions/FailoverGroupStatus" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The status of the Kubernetes custom resource." + "type": "object", + "properties": {}, + "description": "The status of the failover group custom resource." } }, "required": [ @@ -1098,95 +1058,6 @@ ], "description": "The specifications of the failover group resource." }, - "FailoverGroupStatus": { - "type": "object", - "properties": { - "additionalProperties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "object", - "properties": {} - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Unmatched properties from the message are deserialized this collection" - }, - "lastUpdateTime": { - "type": "string", - "format": "date-time", - "description": "The time that the custom resource was last updated." - }, - "observedGeneration": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The version of the replicaSet associated with the failover group custom resource." - }, - "replicas": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AGReplicas" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of failover group replicas." - }, - "results": { - "type": "string", - "description": "The message in case of a failure in the failover group." - }, - "role": { - "oneOf": [ - { - "type": "string", - "enum": [ - "primary", - "secondary", - "force-primary-allow-data-loss", - "force-secondary" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The role of the managed instance in the failover group." - }, - "state": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Waiting", - "Succeeded", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The state of the failover group custom resource." - } - }, - "description": "The status of the Kubernetes custom resource." - }, "K8sResourceRequirements": { "type": "object", "properties": { diff --git a/schemas/2023-03-15-preview/Microsoft.AzureArcData.json b/schemas/2023-03-15-preview/Microsoft.AzureArcData.json index 49e6c23bbf..b770f3c66b 100644 --- a/schemas/2023-03-15-preview/Microsoft.AzureArcData.json +++ b/schemas/2023-03-15-preview/Microsoft.AzureArcData.json @@ -990,40 +990,6 @@ }, "description": "Active Directory information that related to the resource." }, - "AGReplicas": { - "type": "object", - "properties": { - "availabilityMode": { - "type": "string", - "description": "The availability mode of the replica." - }, - "connectedState": { - "type": "string", - "description": "The connected state of the replica." - }, - "healthState": { - "type": "string", - "description": "The health state of the replica." - }, - "replicaName": { - "type": "string", - "description": "The replica name." - }, - "role": { - "type": "string", - "description": "The role of the replica." - }, - "secondaryRoleAllowConnections": { - "type": "string", - "description": "The secondary role allowed connections." - }, - "synchronizationState": { - "type": "string", - "description": "The synchronization state of the availability group replicas." - } - }, - "description": "The information about each failover group replica." - }, "AvailabilityGroupConfigure": { "type": "object", "properties": { @@ -1361,15 +1327,9 @@ "description": "The specifications of the failover group resource." }, "status": { - "oneOf": [ - { - "$ref": "#/definitions/FailoverGroupStatus" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The status of the Kubernetes custom resource." + "type": "object", + "properties": {}, + "description": "The status of the failover group custom resource." } }, "required": [ @@ -1455,95 +1415,6 @@ ], "description": "The specifications of the failover group resource." }, - "FailoverGroupStatus": { - "type": "object", - "properties": { - "additionalProperties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "object", - "properties": {} - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Unmatched properties from the message are deserialized this collection" - }, - "lastUpdateTime": { - "type": "string", - "format": "date-time", - "description": "The time that the custom resource was last updated." - }, - "observedGeneration": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The version of the replicaSet associated with the failover group custom resource." - }, - "replicas": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AGReplicas" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of failover group replicas." - }, - "results": { - "type": "string", - "description": "The message in case of a failure in the failover group." - }, - "role": { - "oneOf": [ - { - "type": "string", - "enum": [ - "primary", - "secondary", - "force-primary-allow-data-loss", - "force-secondary" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The role of the managed instance in the failover group." - }, - "state": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Waiting", - "Succeeded", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The state of the failover group custom resource." - } - }, - "description": "The status of the Kubernetes custom resource." - }, "K8sResourceRequirements": { "type": "object", "properties": {