Skip to main content

eureka_servers

Creates, updates, deletes, gets or lists an eureka_servers resource.

Overview

Nameeureka_servers
TypeResource
Idazure.spring_apps.eureka_servers

Fields

The following fields are returned by SELECT queries:

Success. The response describes the corresponding eureka server settings.

NameDatatypeDescription
propertiesobjectProperties of the eureka server resource

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroupName, serviceNameList the eureka server settings.
getselectsubscriptionId, resourceGroupName, serviceNameGet the eureka server settings.
update_putexecsubscriptionId, resourceGroupName, serviceNameUpdate the eureka server settings.
update_patchexecsubscriptionId, resourceGroupName, serviceNameUpdate the eureka server settings.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
resourceGroupNamestringThe name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serviceNamestringThe name of the Service resource.
subscriptionIdstringGets subscription ID which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

SELECT examples

List the eureka server settings.

SELECT
properties
FROM azure.spring_apps.eureka_servers
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND serviceName = '{{ serviceName }}' -- required
;

Lifecycle Methods

Update the eureka server settings.

EXEC azure.spring_apps.eureka_servers.update_put 
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@serviceName='{{ serviceName }}' --required
@@json=
'{
"properties": "{{ properties }}"
}'
;