Dela via


FabricClient.ApplicationManagementClient.DeployServicePackageToNode Method

Definition

Downloads packages associated with service manifest to image cache on specified node.

public System.Threading.Tasks.Task DeployServicePackageToNode (string applicationTypeName, string applicationTypeVersion, string serviceManifestName, System.Fabric.PackageSharingPolicyList sharingPolicies, string nodeName, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.DeployServicePackageToNode : string * string * string * System.Fabric.PackageSharingPolicyList * string * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DeployServicePackageToNode (applicationTypeName As String, applicationTypeVersion As String, serviceManifestName As String, sharingPolicies As PackageSharingPolicyList, nodeName As String, timeout As TimeSpan, cancellationToken As CancellationToken) As Task

Parameters

applicationTypeName
String

ApplicationTypeName associated with service manifest to be downloaded

applicationTypeVersion
String

Version of ApplicationType

serviceManifestName
String

Name of service manifest whose packages need to be downloaded

sharingPolicies
PackageSharingPolicyList

Sharing policy representing packages that need to be copied to shared folders

nodeName
String

Name of the node where packages need to be downloaded.

timeout
TimeSpan

The maximum amount of time the system will allow this operation to continue before returning T:System.TimeoutException

cancellationToken
CancellationToken

The CancellationTokenthat the operation is observing. It can be used to propagate notification that the operation should be canceled

Returns

A Task representing the operation.

Applies to