invoke_container_apis
Creates, updates, deletes, gets or lists an invoke_container_apis resource.
Overview
| Name | invoke_container_apis |
| Type | Resource |
| Id | azure.service_fabric_dataplane.invoke_container_apis |
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 |
|---|---|---|---|---|
invoke_container_api | exec | application_id, CodePackageInstanceId, CodePackageName, node_name, ServiceManifestName, endpoint, UriPath | timeout | Invoke container API on a container deployed on a Service Fabric node. Invoke container API on a container deployed on a Service Fabric node for the given code package. |
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 |
|---|---|---|
CodePackageInstanceId | string | ID that uniquely identifies a code package instance deployed on a service fabric node. |
CodePackageName | string | The name of code package specified in service manifest registered as part of an application type in a Service Fabric cluster. |
ServiceManifestName | string | The name of a service manifest registered as part of an application type in a Service Fabric cluster. |
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: ) |
node_name | string | The name of the node. |
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. |
Lifecycle Methods
- invoke_container_api
Invoke container API on a container deployed on a Service Fabric node. Invoke container API on a container deployed on a Service Fabric node for the given code package.
EXEC azure.service_fabric_dataplane.invoke_container_apis.invoke_container_api
@application_id='{{ application_id }}' --required,
@CodePackageInstanceId='{{ CodePackageInstanceId }}' --required,
@CodePackageName='{{ CodePackageName }}' --required,
@node_name='{{ node_name }}' --required,
@ServiceManifestName='{{ ServiceManifestName }}' --required,
@endpoint='{{ endpoint }}' --required,
@timeout='{{ timeout }}'
@@json=
'{
"HttpVerb": "{{ HttpVerb }}",
"UriPath": "{{ UriPath }}",
"Content-Type": "{{ Content-Type }}",
"Body": "{{ Body }}"
}'
;