@@ -691,6 +691,7 @@ type ClustersApiAgentClusterServiceUpdateOpts struct {
691691 AccountIdentifier optional.String
692692 OrgIdentifier optional.String
693693 ProjectIdentifier optional.String
694+ ForceUpdate optional.Bool
694695}
695696
696697func (a * ClustersApiService ) AgentClusterServiceUpdate (ctx context.Context , body ClustersClusterUpdateRequest , agentIdentifier string , identifier string , localVarOptionals * ClustersApiAgentClusterServiceUpdateOpts ) (Servicev1Cluster , * http.Response , error ) {
@@ -721,6 +722,9 @@ func (a *ClustersApiService) AgentClusterServiceUpdate(ctx context.Context, body
721722 if localVarOptionals != nil && localVarOptionals .ProjectIdentifier .IsSet () {
722723 localVarQueryParams .Add ("projectIdentifier" , parameterToString (localVarOptionals .ProjectIdentifier .Value (), "" ))
723724 }
725+ if localVarOptionals != nil && localVarOptionals .ForceUpdate .IsSet () {
726+ localVarQueryParams .Add ("forceUpdate" , parameterToString (localVarOptionals .ForceUpdate .Value (), "" ))
727+ }
724728 // to determine the Content-Type header
725729 localVarHttpContentTypes := []string {"application/json" }
726730
@@ -960,6 +964,7 @@ Checks for whether the cluster exists
960964 * @param optional nil or *ClustersApiClusterServiceExistsOpts - Optional Parameters:
961965 * @param "OrgIdentifier" (optional.String) - Organization Identifier for the Entity.
962966 * @param "ProjectIdentifier" (optional.String) - Project Identifier for the Entity.
967+ * @param "ForceUpdate" (optional.Bool) - ForceUpdate allows updating the cluster name even if it is currently referenced by applications.
963968 * @param "AgentIdentifier" (optional.String) - Agent identifier for entity.
964969 * @param "Server" (optional.String) -
965970@return bool
0 commit comments