Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -401,62 +401,141 @@
"properties": {
"description": "Java Component resource specific properties",
"type": "object",
"properties": {
"componentType": {
"description": "Type of the Java Component.",
"enum": [
"SpringBootAdmin",
"SpringCloudEureka",
"SpringCloudConfig",
"Nacos"
],
"type": "string",
"x-ms-enum": {
"name": "JavaComponentType",
"modelAsString": true
}
},
"provisioningState": {
"description": "Provisioning state of the Java Component.",
"enum": [
"Succeeded",
"Failed",
"Canceled",
"Deleting",
"InProgress"
],
"type": "string",
"readOnly": true,
"x-ms-enum": {
"name": "JavaComponentProvisioningState",
"modelAsString": true
}
},
"configurations": {
"description": "List of Java Components configuration properties",
"type": "array",
"items": {
"$ref": "#/definitions/JavaComponentConfigurationProperty"
},
"x-ms-identifiers": [
"propertyName"
]
},
"serviceBinds": {
"description": "List of Java Components that are bound to the Java component",
"type": "array",
"items": {
"$ref": "#/definitions/JavaComponentServiceBind"
},
"x-ms-identifiers": [
"name"
]
}
},
"x-ms-client-flatten": true
"$ref": "#/definitions/JavaComponentProperties"
}
}
},
"JavaComponentProperties": {
"description": "Java Component common properties.",
"type": "object",
"required": [
"componentType"
],
"properties": {
"componentType": {
"description": "Type of the Java Component.",
"enum": [
"SpringBootAdmin",
"SpringCloudEureka",
"SpringCloudConfig"
],
"type": "string",
"x-ms-enum": {
"name": "JavaComponentType",
"modelAsString": true
}
},
"provisioningState": {
"description": "Provisioning state of the Java Component.",
"enum": [
"Succeeded",
"Failed",
"Canceled",
"Deleting",
"InProgress"
],
"type": "string",
"readOnly": true,
"x-ms-enum": {
"name": "JavaComponentProvisioningState",
"modelAsString": true
}
},
"configurations": {
"description": "List of Java Components configuration properties",
"type": "array",
"items": {
"$ref": "#/definitions/JavaComponentConfigurationProperty"
},
"x-ms-identifiers": [
"propertyName"
]
},
"serviceBinds": {
"description": "List of Java Components that are bound to the Java component",
"type": "array",
"items": {
"$ref": "#/definitions/JavaComponentServiceBind"
},
"x-ms-identifiers": [
"name"
]
}
},
"x-ms-client-flatten": true,
"discriminator": "componentType"
},
"SpringBootAdminComponent": {
"description": "Spring Boot Admin properties.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/JavaComponentProperties"
}
],
"properties": {
"fqdn": {
"description": "Hostname of the Java Component endpoint",
"type": "string",
"readOnly": true
},
"httpEndpoint": {
"description": "Whether the Java Component exposes an external http endpoint",
"default": "Internal",
"enum": [
"External",
"Internal"
],
"type": "string",
"x-ms-enum": {
"name": "HttpEndpointEnum",
"modelAsString": true
}
}
},
"x-ms-discriminator-value": "SpringBootAdmin"
},
"SpringCloudEurekaComponent": {
"description": "Spring Cloud Eureka properties.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/JavaComponentProperties"
}
],
"properties": {
"fqdn": {
"description": "Hostname of the Java Component endpoint",
"type": "string",
"readOnly": true
},
"httpEndpoint": {
"description": "Whether the Java Component exposes an external http endpoint",
"default": "Internal",
"enum": [
"External",
"Internal"
],
"type": "string",
"x-ms-enum": {
"name": "HttpEndpointEnum",
"modelAsString": true
}
}
},
"x-ms-discriminator-value": "SpringCloudEureka"
},
"SpringCloudConfigComponent": {
"description": "Spring Cloud Config properties.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/JavaComponentProperties"
}
],
"properties": {},
"x-ms-discriminator-value": "SpringCloudConfig"
},
"JavaComponentsCollection": {
"description": "Java Components ARM resource.",
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"propertyName": "spring.boot.admin.monitor.status-interval",
"value": "10000ms"
}
]
],
"httpEndpoint": "External"
}
}
},
Expand All @@ -40,7 +41,9 @@
"propertyName": "spring.boot.admin.monitor.status-interval",
"value": "10000ms"
}
]
],
"httpEndpoint": "External",
"fqdn": "myjavacomponent.myenvironment.test.net"
}
}
},
Expand All @@ -62,7 +65,9 @@
"propertyName": "spring.boot.admin.monitor.status-interval",
"value": "10000ms"
}
]
],
"httpEndpoint": "External",
"fqdn": "myjavacomponent.myenvironment.test.net"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
"propertyName": "spring.boot.admin.monitor.status-interval",
"value": "10000ms"
}
]
],
"httpEndpoint": "External",
"fqdn": "myjavacomponent.myenvironment.test.net"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
"propertyName": "spring.boot.admin.monitor.status-interval",
"value": "10000ms"
}
]
],
"httpEndpoint": "External",
"fqdn": "myjavacomponent.myenvironment.test.net"
}
},
{
Expand All @@ -40,7 +42,9 @@
"propertyName": "spring.cloud.config.server.git.uri",
"value": "<GIT-URL>"
}
]
],
"httpEndpoint": "External",
"fqdn": "myjavacomponent.myenvironment.test.net"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"propertyName": "spring.boot.admin.monitor.status-interval",
"value": "10000ms"
}
]
],
"httpEndpoint": "External"
}
}
},
Expand All @@ -40,7 +41,9 @@
"propertyName": "spring.boot.admin.monitor.status-interval",
"value": "10000ms"
}
]
],
"httpEndpoint": "External",
"fqdn": "myjavacomponent.myenvironment.test.net"
}
}
},
Expand Down