You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/ApplicationResource.tsp
* Get the status of the deployed application health. It will query the cluster to find the health of the deployed application.
135
+
*/
136
+
@added(Versions.v2025_10_01_preview)
137
+
fetchHealthisArmResourceActionAsync<
138
+
ApplicationResource,
139
+
ApplicationFetchHealthRequest,
140
+
never,
141
+
LroHeaders=ArmCombinedLroHeaders
142
+
>;
143
+
144
+
/**
145
+
* Restart a code package instance of a service replica or instance. This is a potentially destabilizing operation that should be used with immense care.
"The parameters for restarting a deployed code package."
175
+
);
141
176
142
177
/**
143
178
* The application resource properties.
@@ -312,6 +347,18 @@ model ApplicationUserAssignedIdentity {
312
347
principalId:string;
313
348
}
314
349
350
+
/**
351
+
* Properties for application update request.
352
+
*/
353
+
@added(Versions.v2025_10_01_preview)
354
+
modelApplicationUpdateParametersProperties {
355
+
/**
356
+
* List of application parameters with overridden values from their default values specified in the application manifest.
357
+
*/
358
+
#suppress"@azure-tools/typespec-azure-resource-manager/arm-no-record""Patch operation expects same format as create or update, used to pass string to string dictionary"
359
+
parameters?:Record<string>;
360
+
}
361
+
315
362
/**
316
363
* Application update request.
317
364
*/
@@ -322,6 +369,12 @@ model ApplicationUpdateParameters {
322
369
*/
323
370
#suppress"@azure-tools/typespec-azure-resource-manager/arm-no-record""Day 0 property, used to pass string to string dictionary"
* Allows filtering of the services health state objects returned in the result of services health query based on their health state.
730
+
*/
731
+
servicesHealthStateFilter?:HealthFilter;
732
+
733
+
/**
734
+
* Indicates whether the health statistics should be returned as part of the query result. False by default. The statistics show the number of children entities in health state Ok, Warning, and Error.
735
+
*/
736
+
excludeHealthStatistics?:boolean=false;
737
+
738
+
/**
739
+
* Request timeout for the health query in seconds. The default value is 60 seconds.
740
+
*/
741
+
timeout?:int64=60;
742
+
}
743
+
744
+
/**
745
+
* Parameters for restarting a deployed code package.
746
+
*/
747
+
@added(Versions.v2025_10_01_preview)
748
+
modelRestartDeployedCodePackageRequest {
749
+
/**
750
+
* The name of the node where the code package needs to be restarted. Use '*' to restart on all nodes where the code package is running.
751
+
*/
752
+
nodeName:string;
753
+
754
+
/**
755
+
* The name of the service manifest as specified in the code package.
756
+
*/
757
+
serviceManifestName:string;
758
+
759
+
/**
760
+
* The name of the code package as specified in the service manifest.
761
+
*/
762
+
codePackageName:string;
763
+
764
+
/**
765
+
* The instance ID for currently running entry point. For a code package setup entry point (if specified) runs first and after it finishes main entry point is started. Each time entry point executable is run, its instance ID will change. If 0 is passed in as the code package instance ID, the API will restart the code package with whatever instance ID it is currently running. If an instance ID other than 0 is passed in, the API will restart the code package only if the current Instance ID matches the passed in instance ID. Note, passing in the exact instance ID (not 0) in the API is safer, because if ensures at most one restart of the code package.
766
+
*/
767
+
codePackageInstanceId:string;
768
+
769
+
/**
770
+
* The activation id of a deployed service package. If ServicePackageActivationMode specified at the time of creating the service is 'SharedProcess' (or if it is not specified, in which case it defaults to 'SharedProcess'), then value of ServicePackageActivationId is always an empty string.
Copy file name to clipboardExpand all lines: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/ManagedCluster.tsp
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -64,10 +64,15 @@ interface ManagedClusters {
64
64
/**
65
65
* Update the tags of of a Service Fabric managed cluster resource with the specified name.
Copy file name to clipboardExpand all lines: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/NodeType.tsp
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ interface NodeTypes {
54
54
>;
55
55
56
56
/**
57
-
* Update the configuration of a node type of a given managed cluster, only updating tags.
57
+
* Update the configuration of a node type of a given managed cluster, only updating tags or capacity.
Copy file name to clipboardExpand all lines: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/ServiceResource.tsp
+55Lines changed: 55 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,14 @@ interface Services {
78
78
ServiceResource,
79
79
Response=ArmResponse<ServiceResourceList>
80
80
>;
81
+
82
+
@added(Versions.v2025_10_01_preview)
83
+
restartReplicaisArmResourceActionAsync<
84
+
ServiceResource,
85
+
RestartReplicaRequest,
86
+
never,
87
+
LroHeaders=ArmCombinedLroHeaders
88
+
>;
81
89
}
82
90
83
91
@@doc(ServiceResource.name,
@@ -88,6 +96,9 @@ interface Services {
88
96
@@doc(Services.update::parameters.properties,
89
97
"The service resource updated tags."
90
98
);
99
+
@@doc(Services.restartReplica::parameters.body,
100
+
"The parameters for restarting replicas."
101
+
);
91
102
92
103
/**
93
104
* The service resource properties.
@@ -806,3 +817,47 @@ union MoveCost {
806
817
*/
807
818
High:"High",
808
819
}
820
+
821
+
/**
822
+
* Request to restart a replica.
823
+
*/
824
+
@added(Versions.v2025_10_01_preview)
825
+
modelRestartReplicaRequest {
826
+
/**
827
+
* The ID of the partition.
828
+
*/
829
+
partitionId:string;
830
+
831
+
/**
832
+
* The IDs of the replicas to be restarted.
833
+
*/
834
+
replicaIds:int64[];
835
+
836
+
/**
837
+
* The kind of restart to perform.
838
+
*/
839
+
restartKind:RestartKind;
840
+
841
+
/**
842
+
* If true, the restart operation will be forced. Use this option with care, as it may cause data loss.
843
+
*/
844
+
forceRestart?:boolean;
845
+
846
+
/**
847
+
* 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.
Copy file name to clipboardExpand all lines: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/client.tsp
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -45,12 +45,17 @@ using Microsoft.ServiceFabric;
#suppress"@azure-tools/typespec-azure-core/no-legacy-usage""@Azure.ClientGenerator.Core.Legacy.flattenProperty decorator for backwards compatibility with existing spec"
Copy file name to clipboardExpand all lines: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ApplicationDeleteOperation_example.json
0 commit comments