DeploymentManager.CreateClusterAsync Method (String, String, Boolean)
Applies To: Azure, Windows 10, Windows 8, Windows 8.1, Windows Server 2012 R2
Creates a Service Fabric cluster based on an input JSON configuration file and Service Fabric CAB file.
Namespace: System.Fabric
Assembly: System.Fabric (in System.Fabric.dll)
Syntax
public static Task CreateClusterAsync(
string clusterConfigPath,
string fabricPackagePath,
bool rollbackOnFailure
)
Parameters
clusterConfigPath
Type: System.StringSpecifies the path to the cluster configuration file where you define the cluster size and configuration settings. Template provided as ClusterConfig.json in the downloaded deployment .zip package.
fabricPackagePath
Type: System.StringSpecifies the path to Service Fabric CAB file.
rollbackOnFailure
Type: System.BooleanIndicates that the system automatically cleans up the cluster in case of deployment conflict.
Return Value
Type: System.Threading.Tasks.Task
See Also
DeploymentManager Class
System.Fabric Namespace
Return to top