service_registries
Creates, updates, deletes, gets or lists a service_registries
resource.
Overview
Name | service_registries |
Type | Resource |
Id | azure.spring_apps.service_registries |
Fields
- vw_service_registries
- service_registries
Name | Datatype | Description |
---|---|---|
instances | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
resource_requests | text | field from the properties object |
serviceName | text | field from the properties object |
serviceRegistryName | text | field from the properties object |
subscriptionId | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | Service Registry properties payload |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | resourceGroupName, serviceName, serviceRegistryName, subscriptionId | Get the Service Registry and its properties. |
list | SELECT | resourceGroupName, serviceName, subscriptionId | Handles requests to list all resources in a Service. |
create_or_update | INSERT | resourceGroupName, serviceName, serviceRegistryName, subscriptionId | Create the default Service Registry or update the existing Service Registry. |
delete | DELETE | resourceGroupName, serviceName, serviceRegistryName, subscriptionId | Disable the default Service Registry. |
SELECT
examples
Handles requests to list all resources in a Service.
- vw_service_registries
- service_registries
SELECT
instances,
provisioning_state,
resourceGroupName,
resource_requests,
serviceName,
serviceRegistryName,
subscriptionId
FROM azure.spring_apps.vw_service_registries
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
properties
FROM azure.spring_apps.service_registries
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new service_registries
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.spring_apps.service_registries (
resourceGroupName,
serviceName,
serviceRegistryName,
subscriptionId
)
SELECT
'{{ resourceGroupName }}',
'{{ serviceName }}',
'{{ serviceRegistryName }}',
'{{ subscriptionId }}'
;
- name: your_resource_model_name
props: []
DELETE
example
Deletes the specified service_registries
resource.
/*+ delete */
DELETE FROM azure.spring_apps.service_registries
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND serviceRegistryName = '{{ serviceRegistryName }}'
AND subscriptionId = '{{ subscriptionId }}';