Skip to main content

restart_deployed_code_packages

Creates, updates, deletes, gets or lists a restart_deployed_code_packages resource.

Overview

Namerestart_deployed_code_packages
TypeResource
Idazure.service_fabric_dataplane.restart_deployed_code_packages

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:

NameAccessible byRequired ParamsOptional ParamsDescription
restart_deployed_code_packageexecapplication_id, node_name, endpoint, ServiceManifestName, CodePackageName, CodePackageInstanceIdtimeoutRestarts a code package deployed on a Service Fabric node in a cluster. Restarts a code package deployed on a Service Fabric node in a cluster. This aborts the code package process, which will restart all the user service replicas hosted in that process.

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
application_idstringThe 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 "" character. For example, if the application name is "fabric:/myapp/app1", the application identity would be "myappapp1" in 6.0+ and "myapp/app1" in previous versions.
endpointstringThe service endpoint host (no scheme). (default: )
node_namestringThe name of the node.
timeoutinteger (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

Restarts a code package deployed on a Service Fabric node in a cluster. Restarts a code package deployed on a Service Fabric node in a cluster. This aborts the code package process, which will restart all the user service replicas hosted in that process.

EXEC azure.service_fabric_dataplane.restart_deployed_code_packages.restart_deployed_code_package 
@application_id='{{ application_id }}' --required,
@node_name='{{ node_name }}' --required,
@endpoint='{{ endpoint }}' --required,
@timeout='{{ timeout }}'
@@json=
'{
"ServiceManifestName": "{{ ServiceManifestName }}",
"ServicePackageActivationId": "{{ ServicePackageActivationId }}",
"CodePackageName": "{{ CodePackageName }}",
"CodePackageInstanceId": "{{ CodePackageInstanceId }}"
}'
;