service_from_templates
Creates, updates, deletes, gets or lists a service_from_templates resource.
Overview
| Name | service_from_templates |
| Type | Resource |
| Id | azure.service_fabric_dataplane.service_from_templates |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
create_service_from_template | insert | application_id, endpoint, ApplicationName, ServiceName, ServiceTypeName | timeout | Creates a Service Fabric service from the service template. Creates a Service Fabric service from the service template defined in the application manifest. A service template contains the properties that will be same for the service instance of the same type. The API allows overriding the properties that are usually different for different services of the same service type. |
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.
| Name | Datatype | Description |
|---|---|---|
application_id | string | The identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the " |
endpoint | string | The service endpoint host (no scheme). (default: ) |
timeout | integer (int64) | The server timeout for performing the operation in seconds. This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds. |
INSERT examples
- create_service_from_template
- Manifest
Creates a Service Fabric service from the service template. Creates a Service Fabric service from the service template defined in the application manifest. A service template contains the properties that will be same for the service instance of the same type. The API allows overriding the properties that are usually different for different services of the same service type.
INSERT INTO azure.service_fabric_dataplane.service_from_templates (
ApplicationName,
ServiceName,
ServiceTypeName,
InitializationData,
ServicePackageActivationMode,
ServiceDnsName,
application_id,
endpoint,
timeout
)
SELECT
'{{ ApplicationName }}' /* required */,
'{{ ServiceName }}' /* required */,
'{{ ServiceTypeName }}' /* required */,
'{{ InitializationData }}',
'{{ ServicePackageActivationMode }}',
'{{ ServiceDnsName }}',
'{{ application_id }}',
'{{ endpoint }}',
'{{ timeout }}'
;
# Description fields are for documentation purposes
- name: service_from_templates
props:
- name: application_id
value: "{{ application_id }}"
description: Required parameter for the service_from_templates resource.
- name: endpoint
value: "{{ endpoint }}"
description: Required parameter for the service_from_templates resource.
- name: ApplicationName
value: "{{ ApplicationName }}"
- name: ServiceName
value: "{{ ServiceName }}"
- name: ServiceTypeName
value: "{{ ServiceTypeName }}"
- name: InitializationData
value:
- {{ InitializationData }}
- name: ServicePackageActivationMode
value: "{{ ServicePackageActivationMode }}"
- name: ServiceDnsName
value: "{{ ServiceDnsName }}"
- name: timeout
value: "{{ timeout }}"
description: The server timeout for performing the operation in seconds. This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.
description: The server timeout for performing the operation in seconds. This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.