Skip to content

Commit e0d2c0b

Browse files
arv100kriharics24Hari Prasad PerabattulaArvind Krishnaa Jagannathan
authored andcommitted
[Azure Cognitive Search] Add missed out enum value to ByPass list (Azure#18082)
* Defining the APIs for the new NSP resource * Add the AzurePortal bypass value to enum * Add AzurePortal value to examples * Fix some validation errors * Fix prettier violations * Revert changes to package lock * Examples prettier fix Co-authored-by: Hari Prasad Perabattula <[email protected]> Co-authored-by: Hari Prasad Perabattula <[email protected]> Co-authored-by: Arvind Krishnaa Jagannathan <[email protected]>
1 parent 5d67cc4 commit e0d2c0b

File tree

4 files changed

+831
-2
lines changed

4 files changed

+831
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
{
2+
"parameters": {
3+
"searchServiceName": "mysearchservice",
4+
"resourceGroupName": "rg1",
5+
"api-version": "2021-04-01-preview",
6+
"subscriptionId": "subid",
7+
"service": {
8+
"location": "westus",
9+
"tags": {
10+
"app-name": "My e-commerce app"
11+
},
12+
"sku": {
13+
"name": "standard"
14+
},
15+
"properties": {
16+
"replicaCount": 1,
17+
"partitionCount": 1,
18+
"networkRuleSet": {
19+
"ipRules": [
20+
{
21+
"value": "123.4.5.6"
22+
},
23+
{
24+
"value": "123.4.6.0/18"
25+
}
26+
],
27+
"bypass": "AzurePortal"
28+
},
29+
"hostingMode": "default"
30+
}
31+
}
32+
},
33+
"responses": {
34+
"200": {
35+
"body": {
36+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice",
37+
"name": "mysearchservice",
38+
"location": "westus",
39+
"type": "Microsoft.Search/searchServices",
40+
"tags": {
41+
"app-name": "My e-commerce app"
42+
},
43+
"sku": {
44+
"name": "standard"
45+
},
46+
"properties": {
47+
"replicaCount": 1,
48+
"partitionCount": 1,
49+
"status": "provisioning",
50+
"statusDetails": "",
51+
"hostingMode": "default",
52+
"provisioningState": "provisioning",
53+
"publicNetworkAccess": "enabled",
54+
"networkRuleSet": {
55+
"ipRules": [
56+
{
57+
"value": "123.4.5.6"
58+
},
59+
{
60+
"value": "123.4.6.0/18"
61+
}
62+
],
63+
"bypass": "AzurePortal"
64+
},
65+
"privateEndpointConnections": [],
66+
"sharedPrivateLinkResources": [],
67+
"encryptionWithCmk": {
68+
"enforcement": "Unspecified",
69+
"encryptionComplianceStatus": "Compliant"
70+
},
71+
"disableLocalAuth": false,
72+
"authOptions": {
73+
"apiKeyOnly": {}
74+
},
75+
"disabledDataExfiltrationOptions": []
76+
}
77+
}
78+
},
79+
"201": {
80+
"body": {
81+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice",
82+
"name": "mysearchservice",
83+
"location": "westus",
84+
"type": "Microsoft.Search/searchServices",
85+
"tags": {
86+
"app-name": "My e-commerce app"
87+
},
88+
"sku": {
89+
"name": "standard"
90+
},
91+
"properties": {
92+
"replicaCount": 1,
93+
"partitionCount": 1,
94+
"status": "provisioning",
95+
"statusDetails": "",
96+
"hostingMode": "default",
97+
"provisioningState": "provisioning",
98+
"publicNetworkAccess": "enabled",
99+
"networkRuleSet": {
100+
"ipRules": [
101+
{
102+
"value": "123.4.5.6"
103+
},
104+
{
105+
"value": "123.4.6.0/18"
106+
}
107+
],
108+
"bypass": "AzurePortal"
109+
},
110+
"privateEndpointConnections": [],
111+
"sharedPrivateLinkResources": [],
112+
"encryptionWithCmk": {
113+
"enforcement": "Unspecified",
114+
"encryptionComplianceStatus": "Compliant"
115+
},
116+
"disableLocalAuth": false,
117+
"authOptions": {
118+
"apiKeyOnly": {}
119+
},
120+
"disabledDataExfiltrationOptions": []
121+
}
122+
}
123+
}
124+
}
125+
}

0 commit comments

Comments
 (0)