Skip to content

Commit 1cf4ec8

Browse files
authored
Update enum value casing of hostingMode, computeType, publicNetworkAccess to PascalCase (#37579)
1 parent 3157961 commit 1cf4ec8

File tree

53 files changed

+310
-310
lines changed

Some content is hidden

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

53 files changed

+310
-310
lines changed

specification/search/resource-manager/Microsoft.Search/preview/2025-10-01-preview/examples/SearchCreateAutoGeneratedDomainNameLabel.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"properties": {
1616
"replicaCount": 3,
1717
"partitionCount": 1,
18-
"hostingMode": "default",
19-
"computeType": "default",
18+
"hostingMode": "Default",
19+
"computeType": "Default",
2020
"autoGeneratedDomainNameLabelScope": "TenantReuse"
2121
}
2222
}
@@ -40,10 +40,10 @@
4040
"endpoint": "https://mysearchservice.fjdng2acavhkevd8.search.windows.net/",
4141
"status": "provisioning",
4242
"statusDetails": "",
43-
"hostingMode": "default",
44-
"computeType": "default",
43+
"hostingMode": "Default",
44+
"computeType": "Default",
4545
"provisioningState": "provisioning",
46-
"publicNetworkAccess": "enabled",
46+
"publicNetworkAccess": "Enabled",
4747
"networkRuleSet": {
4848
"ipRules": [],
4949
"bypass": "None"
@@ -88,10 +88,10 @@
8888
"endpoint": "https://mysearchservice.fjdng2acavhkevd8.search.windows.net/",
8989
"status": "provisioning",
9090
"statusDetails": "",
91-
"hostingMode": "default",
92-
"computeType": "default",
91+
"hostingMode": "Default",
92+
"computeType": "Default",
9393
"provisioningState": "provisioning",
94-
"publicNetworkAccess": "enabled",
94+
"publicNetworkAccess": "Enabled",
9595
"networkRuleSet": {
9696
"ipRules": [],
9797
"bypass": "None"

specification/search/resource-manager/Microsoft.Search/preview/2025-10-01-preview/examples/SearchCreateOrUpdateService.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"properties": {
1616
"replicaCount": 3,
1717
"partitionCount": 1,
18-
"hostingMode": "default",
19-
"computeType": "default"
18+
"hostingMode": "Default",
19+
"computeType": "Default"
2020
}
2121
}
2222
},
@@ -39,10 +39,10 @@
3939
"endpoint": "https://mysearchservice.search.windows.net/",
4040
"status": "provisioning",
4141
"statusDetails": "",
42-
"hostingMode": "default",
43-
"computeType": "default",
42+
"hostingMode": "Default",
43+
"computeType": "Default",
4444
"provisioningState": "provisioning",
45-
"publicNetworkAccess": "enabled",
45+
"publicNetworkAccess": "Enabled",
4646
"networkRuleSet": {
4747
"ipRules": [],
4848
"bypass": "None"
@@ -88,10 +88,10 @@
8888
"endpoint": "https://mysearchservice.search.windows.net/",
8989
"status": "provisioning",
9090
"statusDetails": "",
91-
"hostingMode": "default",
92-
"computeType": "default",
91+
"hostingMode": "Default",
92+
"computeType": "Default",
9393
"provisioningState": "provisioning",
94-
"publicNetworkAccess": "enabled",
94+
"publicNetworkAccess": "Enabled",
9595
"networkRuleSet": {
9696
"ipRules": [],
9797
"bypass": "None"

specification/search/resource-manager/Microsoft.Search/preview/2025-10-01-preview/examples/SearchCreateOrUpdateServiceAuthOptions.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"properties": {
1616
"replicaCount": 3,
1717
"partitionCount": 1,
18-
"hostingMode": "default",
19-
"computeType": "default",
18+
"hostingMode": "Default",
19+
"computeType": "Default",
2020
"authOptions": {
2121
"aadOrApiKey": {
2222
"aadAuthFailureMode": "http401WithBearerChallenge"
@@ -44,10 +44,10 @@
4444
"endpoint": "https://mysearchservice.search.windows.net/",
4545
"status": "provisioning",
4646
"statusDetails": "",
47-
"hostingMode": "default",
48-
"computeType": "default",
47+
"hostingMode": "Default",
48+
"computeType": "Default",
4949
"provisioningState": "provisioning",
50-
"publicNetworkAccess": "enabled",
50+
"publicNetworkAccess": "Enabled",
5151
"networkRuleSet": {
5252
"ipRules": [],
5353
"bypass": "None"
@@ -95,10 +95,10 @@
9595
"endpoint": "https://mysearchservice.search.windows.net/",
9696
"status": "provisioning",
9797
"statusDetails": "",
98-
"hostingMode": "default",
99-
"computeType": "default",
98+
"hostingMode": "Default",
99+
"computeType": "Default",
100100
"provisioningState": "provisioning",
101-
"publicNetworkAccess": "enabled",
101+
"publicNetworkAccess": "Enabled",
102102
"networkRuleSet": {
103103
"ipRules": [],
104104
"bypass": "None"

specification/search/resource-manager/Microsoft.Search/preview/2025-10-01-preview/examples/SearchCreateOrUpdateServiceDisableLocalAuth.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"properties": {
1616
"replicaCount": 3,
1717
"partitionCount": 1,
18-
"hostingMode": "default",
19-
"computeType": "default",
18+
"hostingMode": "Default",
19+
"computeType": "Default",
2020
"disableLocalAuth": true
2121
}
2222
}
@@ -40,10 +40,10 @@
4040
"endpoint": "https://mysearchservice.search.windows.net/",
4141
"status": "provisioning",
4242
"statusDetails": "",
43-
"hostingMode": "default",
44-
"computeType": "default",
43+
"hostingMode": "Default",
44+
"computeType": "Default",
4545
"provisioningState": "provisioning",
46-
"publicNetworkAccess": "enabled",
46+
"publicNetworkAccess": "Enabled",
4747
"networkRuleSet": {
4848
"ipRules": [],
4949
"bypass": "None"
@@ -88,10 +88,10 @@
8888
"endpoint": "https://mysearchservice.search.windows.net/",
8989
"status": "provisioning",
9090
"statusDetails": "",
91-
"hostingMode": "default",
92-
"computeType": "default",
91+
"hostingMode": "Default",
92+
"computeType": "Default",
9393
"provisioningState": "provisioning",
94-
"publicNetworkAccess": "enabled",
94+
"publicNetworkAccess": "Enabled",
9595
"networkRuleSet": {
9696
"ipRules": [],
9797
"bypass": "None"

specification/search/resource-manager/Microsoft.Search/preview/2025-10-01-preview/examples/SearchCreateOrUpdateServiceToAllowAccessFromPrivateEndpoints.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
"properties": {
1616
"replicaCount": 3,
1717
"partitionCount": 1,
18-
"publicNetworkAccess": "disabled",
19-
"hostingMode": "default",
20-
"computeType": "default"
18+
"publicNetworkAccess": "Disabled",
19+
"hostingMode": "Default",
20+
"computeType": "Default"
2121
}
2222
}
2323
},
@@ -40,10 +40,10 @@
4040
"endpoint": "https://mysearchservice.search.windows.net/",
4141
"status": "provisioning",
4242
"statusDetails": "",
43-
"hostingMode": "default",
44-
"computeType": "default",
43+
"hostingMode": "Default",
44+
"computeType": "Default",
4545
"provisioningState": "provisioning",
46-
"publicNetworkAccess": "disabled",
46+
"publicNetworkAccess": "Disabled",
4747
"networkRuleSet": {
4848
"ipRules": [],
4949
"bypass": "None"
@@ -92,10 +92,10 @@
9292
"endpoint": "https://mysearchservice.search.windows.net/",
9393
"status": "provisioning",
9494
"statusDetails": "",
95-
"hostingMode": "default",
96-
"computeType": "default",
95+
"hostingMode": "Default",
96+
"computeType": "Default",
9797
"provisioningState": "provisioning",
98-
"publicNetworkAccess": "disabled",
98+
"publicNetworkAccess": "Disabled",
9999
"networkRuleSet": {
100100
"ipRules": [],
101101
"bypass": "None"

specification/search/resource-manager/Microsoft.Search/preview/2025-10-01-preview/examples/SearchCreateOrUpdateServiceToAllowAccessFromPublicCustomIPs.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
}
2626
]
2727
},
28-
"hostingMode": "default",
29-
"computeType": "default"
28+
"hostingMode": "Default",
29+
"computeType": "Default"
3030
}
3131
}
3232
},
@@ -49,10 +49,10 @@
4949
"endpoint": "https://mysearchservice.search.windows.net/",
5050
"status": "provisioning",
5151
"statusDetails": "",
52-
"hostingMode": "default",
53-
"computeType": "default",
52+
"hostingMode": "Default",
53+
"computeType": "Default",
5454
"provisioningState": "provisioning",
55-
"publicNetworkAccess": "enabled",
55+
"publicNetworkAccess": "Enabled",
5656
"networkRuleSet": {
5757
"ipRules": [
5858
{
@@ -107,10 +107,10 @@
107107
"endpoint": "https://mysearchservice.search.windows.net/",
108108
"status": "provisioning",
109109
"statusDetails": "",
110-
"hostingMode": "default",
111-
"computeType": "default",
110+
"hostingMode": "Default",
111+
"computeType": "Default",
112112
"provisioningState": "provisioning",
113-
"publicNetworkAccess": "enabled",
113+
"publicNetworkAccess": "Enabled",
114114
"networkRuleSet": {
115115
"ipRules": [
116116
{

specification/search/resource-manager/Microsoft.Search/preview/2025-10-01-preview/examples/SearchCreateOrUpdateServiceToAllowAccessFromPublicCustomIPsAndBypass.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
],
2727
"bypass": "AzurePortal"
2828
},
29-
"hostingMode": "default",
30-
"computeType": "default"
29+
"hostingMode": "Default",
30+
"computeType": "Default"
3131
}
3232
}
3333
},
@@ -50,10 +50,10 @@
5050
"endpoint": "https://mysearchservice.search.windows.net/",
5151
"status": "provisioning",
5252
"statusDetails": "",
53-
"hostingMode": "default",
54-
"computeType": "default",
53+
"hostingMode": "Default",
54+
"computeType": "Default",
5555
"provisioningState": "provisioning",
56-
"publicNetworkAccess": "enabled",
56+
"publicNetworkAccess": "Enabled",
5757
"networkRuleSet": {
5858
"ipRules": [
5959
{
@@ -109,10 +109,10 @@
109109
"endpoint": "https://mysearchservice.search.windows.net/",
110110
"status": "provisioning",
111111
"statusDetails": "",
112-
"hostingMode": "default",
113-
"computeType": "default",
112+
"hostingMode": "Default",
113+
"computeType": "Default",
114114
"provisioningState": "provisioning",
115-
"publicNetworkAccess": "enabled",
115+
"publicNetworkAccess": "Enabled",
116116
"networkRuleSet": {
117117
"ipRules": [
118118
{

specification/search/resource-manager/Microsoft.Search/preview/2025-10-01-preview/examples/SearchCreateOrUpdateServiceWithCmkEnforcement.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"properties": {
1616
"replicaCount": 3,
1717
"partitionCount": 1,
18-
"hostingMode": "default",
19-
"computeType": "default",
18+
"hostingMode": "Default",
19+
"computeType": "Default",
2020
"encryptionWithCmk": {
2121
"enforcement": "Enabled"
2222
}
@@ -42,10 +42,10 @@
4242
"endpoint": "https://mysearchservice.search.windows.net/",
4343
"status": "provisioning",
4444
"statusDetails": "",
45-
"hostingMode": "default",
46-
"computeType": "default",
45+
"hostingMode": "Default",
46+
"computeType": "Default",
4747
"provisioningState": "provisioning",
48-
"publicNetworkAccess": "enabled",
48+
"publicNetworkAccess": "Enabled",
4949
"networkRuleSet": {
5050
"ipRules": [],
5151
"bypass": "None"
@@ -94,10 +94,10 @@
9494
"endpoint": "https://mysearchservice.search.windows.net/",
9595
"status": "provisioning",
9696
"statusDetails": "",
97-
"hostingMode": "default",
98-
"computeType": "default",
97+
"hostingMode": "Default",
98+
"computeType": "Default",
9999
"provisioningState": "provisioning",
100-
"publicNetworkAccess": "enabled",
100+
"publicNetworkAccess": "Enabled",
101101
"networkRuleSet": {
102102
"ipRules": [],
103103
"bypass": "None"

specification/search/resource-manager/Microsoft.Search/preview/2025-10-01-preview/examples/SearchCreateOrUpdateServiceWithDataExfiltration.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"properties": {
1616
"replicaCount": 3,
1717
"partitionCount": 1,
18-
"hostingMode": "default",
19-
"computeType": "default",
18+
"hostingMode": "Default",
19+
"computeType": "Default",
2020
"dataExfiltrationProtections": [
2121
"BlockAll"
2222
]
@@ -42,10 +42,10 @@
4242
"endpoint": "https://mysearchservice.search.windows.net/",
4343
"status": "provisioning",
4444
"statusDetails": "",
45-
"hostingMode": "default",
46-
"computeType": "default",
45+
"hostingMode": "Default",
46+
"computeType": "Default",
4747
"provisioningState": "provisioning",
48-
"publicNetworkAccess": "enabled",
48+
"publicNetworkAccess": "Enabled",
4949
"networkRuleSet": {
5050
"ipRules": [],
5151
"bypass": "None"
@@ -96,10 +96,10 @@
9696
"endpoint": "https://mysearchservice.search.windows.net/",
9797
"status": "provisioning",
9898
"statusDetails": "",
99-
"hostingMode": "default",
100-
"computeType": "default",
99+
"hostingMode": "Default",
100+
"computeType": "Default",
101101
"provisioningState": "provisioning",
102-
"publicNetworkAccess": "enabled",
102+
"publicNetworkAccess": "Enabled",
103103
"networkRuleSet": {
104104
"ipRules": [],
105105
"bypass": "None"

specification/search/resource-manager/Microsoft.Search/preview/2025-10-01-preview/examples/SearchCreateOrUpdateServiceWithIdentity.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"properties": {
1616
"replicaCount": 3,
1717
"partitionCount": 1,
18-
"hostingMode": "default",
19-
"computeType": "default"
18+
"hostingMode": "Default",
19+
"computeType": "Default"
2020
},
2121
"identity": {
2222
"type": "SystemAssigned, UserAssigned",
@@ -45,10 +45,10 @@
4545
"endpoint": "https://mysearchservice.search.windows.net/",
4646
"status": "provisioning",
4747
"statusDetails": "",
48-
"hostingMode": "default",
49-
"computeType": "default",
48+
"hostingMode": "Default",
49+
"computeType": "Default",
5050
"provisioningState": "provisioning",
51-
"publicNetworkAccess": "enabled",
51+
"publicNetworkAccess": "Enabled",
5252
"networkRuleSet": {
5353
"ipRules": [],
5454
"bypass": "None"
@@ -108,10 +108,10 @@
108108
"endpoint": "https://mysearchservice.search.windows.net/",
109109
"status": "provisioning",
110110
"statusDetails": "",
111-
"hostingMode": "default",
112-
"computeType": "default",
111+
"hostingMode": "Default",
112+
"computeType": "Default",
113113
"provisioningState": "provisioning",
114-
"publicNetworkAccess": "enabled",
114+
"publicNetworkAccess": "Enabled",
115115
"networkRuleSet": {
116116
"ipRules": [],
117117
"bypass": "None"

0 commit comments

Comments
 (0)