FabricClient.ClusterManagementClient.RemoveClusterPackage Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Deletes the cluster manifest file and/or Service Fabric code package from the image store.
public void RemoveClusterPackage (string imageStoreConnectionString, string clusterManifestPathInImageStore, string codePackagePathInImageStore);
member this.RemoveClusterPackage : string * string * string -> unit
Public Sub RemoveClusterPackage (imageStoreConnectionString As String, clusterManifestPathInImageStore As String, codePackagePathInImageStore As String)
Parameters
- imageStoreConnectionString
- String
The connection string for the image store, which should match the "ImageStoreConnectionString" setting value found in the cluster manifest of the target cluster. In an on-premise cluster, the value is chosen during initial deployment by the cluster administrator. In an Azure cluster created through the Azure Resource Manager, this value is "fabric:ImageStore". The image store connection string value can be checked by looking at the cluster manifest contents returned by GetClusterManifestAsync().
- clusterManifestPathInImageStore
- String
The relative path of cluster manifest file in the image store specified during CopyClusterPackage(String, String, String, String, String).
- codePackagePathInImageStore
- String
The relative path of Service Fabric code package in the image store specified during CopyClusterPackage(String, String, String, String, String).
Exceptions
There was an error accessing a file on the image store.
ImageStoreIOException: There was an IO error communicating with the image store.
The request timed out but may have already been accepted for processing by the system.
Remarks
Either clusterManifestPathInImageStore or codePackagePathInImageStore parameter can be null
. However, both of them cannot be null
.
Applies to
Azure SDK for .NET