Skip to content

Commit b8fbdcc

Browse files
authored
Service Fabric Managed Clusters - 2025-06-01-preview (#35990)
* Add new properties ManagedClusterProperties.enableOutboundOnlyNodeTypes ManagedClusterProperties.networkIdentifier NodeTypeProperties.isOutboundOnly * Updated examples
1 parent c9de27e commit b8fbdcc

File tree

155 files changed

+18507
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

155 files changed

+18507
-1
lines changed

specification/servicefabricmanagedclusters/ServiceFabricManagedClusters.Management/ManagedCluster.tsp

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,12 @@ model ManagedClusterProperties {
442442
#suppress "@azure-tools/typespec-azure-core/casing-style" "VM is a well known acronym, consistency with other properties"
443443
@added(Versions.v2025_03_01_preview)
444444
VMImage?: string = "Windows";
445+
446+
/**
447+
* Enable the creation of node types with only outbound traffic enabled. If set, a separate load balancer backend pool will be created for node types with inbound traffic enabled. Can only be set at the time of cluster creation.
448+
*/
449+
@added(Versions.v2025_06_01_preview)
450+
enableOutboundOnlyNodeTypes?: boolean;
445451
}
446452

447453
/**
@@ -687,6 +693,16 @@ model ServiceEndpoint {
687693
* A list of locations.
688694
*/
689695
locations?: string[];
696+
697+
/**
698+
* Specifies the resource id of the service endpoint to be used in the cluster.
699+
*/
700+
@added(Versions.v2025_06_01_preview)
701+
networkIdentifier?: Azure.Core.armResourceIdentifier<[
702+
{
703+
type: "Microsoft.Network/publicIPAddresses";
704+
}
705+
]>;
690706
}
691707

692708
/**

specification/servicefabricmanagedclusters/ServiceFabricManagedClusters.Management/NodeType.tsp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,12 @@ model NodeTypeProperties {
539539
*/
540540
@added(Versions.v2025_03_01_preview)
541541
zoneBalance?: boolean;
542+
543+
/**
544+
* Specifies the node type should be configured for only outbound traffic and not inbound traffic.
545+
*/
546+
@added(Versions.v2025_06_01_preview)
547+
isOutboundOnly?: boolean;
542548
}
543549

544550
/**
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"parameters": {
3+
"api-version": "2025-06-01-preview",
4+
"applicationName": "myApp",
5+
"clusterName": "myCluster",
6+
"resourceGroupName": "resRg",
7+
"subscriptionId": "00000000-0000-0000-0000-000000000000"
8+
},
9+
"responses": {
10+
"202": {
11+
"headers": {
12+
"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=2025-06-01-preview",
13+
"Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-06-01-preview"
14+
}
15+
}
16+
},
17+
"operationId": "Applications_ReadUpgrade",
18+
"title": "Get an application upgrade"
19+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"parameters": {
3+
"api-version": "2025-06-01-preview",
4+
"applicationName": "myApp",
5+
"clusterName": "myCluster",
6+
"parameters": {
7+
"upgradeDomainName": "UD1"
8+
},
9+
"resourceGroupName": "resRg",
10+
"subscriptionId": "00000000-0000-0000-0000-000000000000"
11+
},
12+
"responses": {
13+
"202": {
14+
"headers": {
15+
"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=2025-06-01-preview",
16+
"Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-06-01-preview"
17+
}
18+
}
19+
},
20+
"operationId": "Applications_ResumeUpgrade",
21+
"title": "Resume upgrade"
22+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"parameters": {
3+
"api-version": "2025-06-01-preview",
4+
"applicationName": "myApp",
5+
"clusterName": "myCluster",
6+
"resourceGroupName": "resRg",
7+
"subscriptionId": "00000000-0000-0000-0000-000000000000"
8+
},
9+
"responses": {
10+
"202": {
11+
"headers": {
12+
"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=2025-06-01-preview",
13+
"Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-06-01-preview"
14+
}
15+
}
16+
},
17+
"operationId": "Applications_StartRollback",
18+
"title": "Start an application upgrade rollback"
19+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"parameters": {
3+
"api-version": "2025-06-01-preview",
4+
"applicationName": "myApp",
5+
"clusterName": "myCluster",
6+
"resourceGroupName": "resRg",
7+
"subscriptionId": "00000000-0000-0000-0000-000000000000"
8+
},
9+
"responses": {
10+
"202": {
11+
"headers": {
12+
"Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/76053752-a423-4a80-b283-1dad1ba5f314?api-version=2025-06-01-preview",
13+
"Retry-After": "10"
14+
}
15+
},
16+
"204": {}
17+
},
18+
"operationId": "Applications_Delete",
19+
"title": "Delete an application"
20+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
{
2+
"parameters": {
3+
"api-version": "2025-06-01-preview",
4+
"applicationName": "myApp",
5+
"clusterName": "myCluster",
6+
"resourceGroupName": "resRg",
7+
"subscriptionId": "00000000-0000-0000-0000-000000000000"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"name": "myApp",
13+
"type": "Microsoft.ServiceFabric/managedClusters/applications",
14+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp",
15+
"location": "eastus",
16+
"properties": {
17+
"parameters": {
18+
"param1": "value1"
19+
},
20+
"provisioningState": "Updating",
21+
"upgradePolicy": {
22+
"applicationHealthPolicy": {
23+
"considerWarningAsError": true,
24+
"defaultServiceTypeHealthPolicy": {
25+
"maxPercentUnhealthyPartitionsPerService": 0,
26+
"maxPercentUnhealthyReplicasPerPartition": 0,
27+
"maxPercentUnhealthyServices": 0
28+
},
29+
"maxPercentUnhealthyDeployedApplications": 0,
30+
"serviceTypeHealthPolicyMap": {
31+
"service1": {
32+
"maxPercentUnhealthyPartitionsPerService": 30,
33+
"maxPercentUnhealthyReplicasPerPartition": 30,
34+
"maxPercentUnhealthyServices": 30
35+
}
36+
}
37+
},
38+
"forceRestart": false,
39+
"instanceCloseDelayDuration": 600,
40+
"recreateApplication": false,
41+
"rollingUpgradeMonitoringPolicy": {
42+
"failureAction": "Rollback",
43+
"healthCheckRetryTimeout": "00:10:00",
44+
"healthCheckStableDuration": "00:05:00",
45+
"healthCheckWaitDuration": "00:02:00",
46+
"upgradeDomainTimeout": "00:15:00",
47+
"upgradeTimeout": "01:00:00"
48+
},
49+
"upgradeMode": "UnmonitoredAuto",
50+
"upgradeReplicaSetCheckTimeout": 3600
51+
},
52+
"version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0"
53+
},
54+
"tags": {}
55+
},
56+
"headers": {}
57+
}
58+
},
59+
"operationId": "Applications_Get",
60+
"title": "Get an application"
61+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"parameters": {
3+
"api-version": "2025-06-01-preview",
4+
"clusterName": "myCluster",
5+
"resourceGroupName": "resRg",
6+
"subscriptionId": "00000000-0000-0000-0000-000000000000"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"nextLink": "http://examplelink.com",
12+
"value": [
13+
{
14+
"name": "myApp",
15+
"type": "Microsoft.ServiceFabric/managedClusters/applications",
16+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp",
17+
"properties": {
18+
"provisioningState": "Updating",
19+
"version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0"
20+
}
21+
}
22+
]
23+
},
24+
"headers": {}
25+
}
26+
},
27+
"operationId": "Applications_List",
28+
"title": "Get a list of application resources"
29+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
{
2+
"parameters": {
3+
"api-version": "2025-06-01-preview",
4+
"applicationName": "myApp",
5+
"clusterName": "myCluster",
6+
"parameters": {
7+
"tags": {
8+
"a": "b"
9+
}
10+
},
11+
"resourceGroupName": "resRg",
12+
"subscriptionId": "00000000-0000-0000-0000-000000000000"
13+
},
14+
"responses": {
15+
"200": {
16+
"body": {
17+
"name": "myApp",
18+
"type": "Microsoft.ServiceFabric/managedClusters/applications",
19+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp",
20+
"location": "eastus",
21+
"properties": {
22+
"parameters": {
23+
"param1": "value1"
24+
},
25+
"provisioningState": "Succeeded",
26+
"upgradePolicy": {
27+
"applicationHealthPolicy": {
28+
"considerWarningAsError": true,
29+
"defaultServiceTypeHealthPolicy": {
30+
"maxPercentUnhealthyPartitionsPerService": 0,
31+
"maxPercentUnhealthyReplicasPerPartition": 0,
32+
"maxPercentUnhealthyServices": 0
33+
},
34+
"maxPercentUnhealthyDeployedApplications": 0,
35+
"serviceTypeHealthPolicyMap": {
36+
"service1": {
37+
"maxPercentUnhealthyPartitionsPerService": 30,
38+
"maxPercentUnhealthyReplicasPerPartition": 30,
39+
"maxPercentUnhealthyServices": 30
40+
}
41+
}
42+
},
43+
"forceRestart": false,
44+
"instanceCloseDelayDuration": 600,
45+
"recreateApplication": false,
46+
"rollingUpgradeMonitoringPolicy": {
47+
"failureAction": "Rollback",
48+
"healthCheckRetryTimeout": "00:10:00",
49+
"healthCheckStableDuration": "00:05:00",
50+
"healthCheckWaitDuration": "00:02:00",
51+
"upgradeDomainTimeout": "00:15:00",
52+
"upgradeTimeout": "01:00:00"
53+
},
54+
"upgradeMode": "UnmonitoredAuto",
55+
"upgradeReplicaSetCheckTimeout": 3600
56+
},
57+
"version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0"
58+
},
59+
"tags": {
60+
"a": "b"
61+
}
62+
},
63+
"headers": {}
64+
}
65+
},
66+
"operationId": "Applications_Update",
67+
"title": "Patch an application"
68+
}

0 commit comments

Comments
 (0)