Skip to main content

deploy_service_package_to_nodes

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

Overview

Namedeploy_service_package_to_nodes
TypeResource
Idazure.service_fabric_dataplane.deploy_service_package_to_nodes

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
deploy_service_package_to_nodeexecnode_name, endpoint, ServiceManifestName, ApplicationTypeName, ApplicationTypeVersion, NodeNametimeoutDownloads all of the code packages associated with specified service manifest on the specified node. This API provides a way to download code packages including the container images on a specific node outside of the normal application deployment and upgrade path. This is useful for the large code packages and container images to be present on the node before the actual application deployment and upgrade, thus significantly reducing the total time required for the deployment or upgrade.

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
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

Downloads all of the code packages associated with specified service manifest on the specified node. This API provides a way to download code packages including the container images on a specific node outside of the normal application deployment and upgrade path. This is useful for the large code packages and container images to be present on the node before the actual application deployment and upgrade, thus significantly reducing the total time required for the deployment or upgrade.

EXEC azure.service_fabric_dataplane.deploy_service_package_to_nodes.deploy_service_package_to_node 
@node_name='{{ node_name }}' --required,
@endpoint='{{ endpoint }}' --required,
@timeout='{{ timeout }}'
@@json=
'{
"ServiceManifestName": "{{ ServiceManifestName }}",
"ApplicationTypeName": "{{ ApplicationTypeName }}",
"ApplicationTypeVersion": "{{ ApplicationTypeVersion }}",
"NodeName": "{{ NodeName }}",
"PackageSharingPolicy": "{{ PackageSharingPolicy }}"
}'
;