Node Types - Reimage
Reimages one or more nodes on the node type. It will disable the fabric nodes, trigger a reimage on the VMs and activate the nodes back again.
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/reimage?api-version=2024-09-01-preview
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
cluster
|
path | True |
string |
The name of the cluster resource. |
node
|
path | True |
string |
The name of the node type. |
resource
|
path | True |
string |
The name of the resource group. |
subscription
|
path | True |
string |
The customer subscription identifier. |
api-version
|
query | True |
string |
The version of the Service Fabric resource provider API. This is a required parameter and it's value must be "2024-09-01-preview" for this specification. |
Request Body
Name | Type | Description |
---|---|---|
force |
boolean |
Force the action to go through. |
nodes |
string[] |
List of node names from the node type. |
updateType |
Specifies the way the operation will be performed. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
The operation completed successfully. |
|
202 Accepted |
The request was accepted and the operation will complete asynchronously. Headers
|
|
Other Status Codes |
The detailed error response. |
Security
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
Reimage all nodes By upgrade domain |
Reimage nodes |
Reimage all nodes By upgrade domain
Sample request
Sample response
Location: http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2024-09-01-preview
Azure-AsyncOperation: http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2024-09-01-preview
Reimage nodes
Sample request
Sample response
Location: http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2024-09-01-preview
Azure-AsyncOperation: http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2024-09-01-preview
Definitions
Name | Description |
---|---|
Error |
The structure of the error. |
Error |
The error details. |
Node |
Parameters for Node type action. If nodes are not specified on the parameters, the operation will be performed in all nodes of the node type one upgrade domain at a time. |
update |
Specifies the way the operation will be performed. |
ErrorModel
The structure of the error.
Name | Type | Description |
---|---|---|
error |
The error details. |
ErrorModelError
The error details.
Name | Type | Description |
---|---|---|
code |
string |
The error code. |
message |
string |
The error message. |
NodeTypeActionParameters
Parameters for Node type action. If nodes are not specified on the parameters, the operation will be performed in all nodes of the node type one upgrade domain at a time.
Name | Type | Description |
---|---|---|
force |
boolean |
Force the action to go through. |
nodes |
string[] |
List of node names from the node type. |
updateType |
Specifies the way the operation will be performed. |
updateType
Specifies the way the operation will be performed.
Value | Description |
---|---|
Default |
The operation will proceed in all specified nodes at the same time. |
ByUpgradeDomain |
The operation will proceed one upgrade domain at a time, checking the health in between each to continue. |