Skip to content

Commit e0fcfb5

Browse files
authored
Update TestScriptActionRelatedCommands.json (#25974)
Mask sensitive data
1 parent a2a1a6b commit e0fcfb5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/HDInsight/HDInsight.Test/SessionRecords/Commands.HDInsight.Test.ScenarioTests.HDInsightScriptActionTests/TestScriptActionRelatedCommands.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@
273273
"-1"
274274
]
275275
},
276-
"ResponseBody": "{\r\n \"keys\": [\r\n {\r\n \"keyName\": \"key1\",\r\n \"value\": \"lAtOnGkE2IFR1QjF7aoRSJbtIVMTXvtUeUHZb+BfZTPtACw6dGeSVSNVZw9sev6HVpegqQoXUmrW+AStCGjTvw==\",\r\n \"permissions\": \"FULL\"\r\n },\r\n {\r\n \"keyName\": \"key2\",\r\n \"value\": \"8VoFSxv78nt5/kWUqskk90zywJijaa5zIVwWu9t1KrGT+5mUB5wT+i4WIYiiz8VyFbwmOobOPPto+ASt1c5zsg==\",\r\n \"permissions\": \"FULL\"\r\n }\r\n ]\r\n}",
276+
"ResponseBody": "{\r\n \"keys\": [\r\n {\r\n \"keyName\": \"key1\",\r\n \"value\": \"******\",\r\n \"permissions\": \"FULL\"\r\n },\r\n {\r\n \"keyName\": \"key2\",\r\n \"value\": \"******\",\r\n \"permissions\": \"FULL\"\r\n }\r\n ]\r\n}",
277277
"StatusCode": 200
278278
},
279279
{
@@ -369,7 +369,7 @@
369369
"3282"
370370
]
371371
},
372-
"RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"clusterVersion\": \"4.0\",\r\n \"osType\": \"Linux\",\r\n \"clusterDefinition\": {\r\n \"kind\": \"Spark\",\r\n \"componentVersion\": {},\r\n \"configurations\": {\r\n \"gateway\": {\r\n \"restAuthCredential.isEnabled\": \"true\",\r\n \"restAuthCredential.username\": \"admin\",\r\n \"restAuthCredential.password\": \"YourPw!00953\"\r\n },\r\n \"core-site\": {}\r\n }\r\n },\r\n \"computeProfile\": {\r\n \"roles\": [\r\n {\r\n \"name\": \"headnode\",\r\n \"targetInstanceCount\": 2,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"STANDARD_E8_V3\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"sshuser\",\r\n \"password\": \"YourPw!00953\"\r\n }\r\n },\r\n \"virtualNetworkProfile\": {\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0\",\r\n \"subnet\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0/subnets/default\"\r\n }\r\n },\r\n {\r\n \"name\": \"workernode\",\r\n \"targetInstanceCount\": 3,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"STANDARD_E8_V3\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"sshuser\",\r\n \"password\": \"YourPw!00953\"\r\n }\r\n },\r\n \"virtualNetworkProfile\": {\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0\",\r\n \"subnet\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0/subnets/default\"\r\n }\r\n },\r\n {\r\n \"name\": \"zookeepernode\",\r\n \"targetInstanceCount\": 3,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"STANDARD_A2_V2\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"sshuser\",\r\n \"password\": \"YourPw!00953\"\r\n }\r\n },\r\n \"virtualNetworkProfile\": {\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0\",\r\n \"subnet\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0/subnets/default\"\r\n }\r\n }\r\n ]\r\n },\r\n \"storageProfile\": {\r\n \"storageaccounts\": [\r\n {\r\n \"name\": \"storagepstest9060.blob.core.windows.net\",\r\n \"isDefault\": true,\r\n \"container\": \"ps259\",\r\n \"key\": \"lAtOnGkE2IFR1QjF7aoRSJbtIVMTXvtUeUHZb+BfZTPtACw6dGeSVSNVZw9sev6HVpegqQoXUmrW+AStCGjTvw==\",\r\n \"resourceId\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/group-ps-test8450/providers/Microsoft.Storage/storageAccounts/storagepstest9060\"\r\n }\r\n ]\r\n },\r\n \"minSupportedTlsVersion\": \"1.2\"\r\n }\r\n}",
372+
"RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"clusterVersion\": \"4.0\",\r\n \"osType\": \"Linux\",\r\n \"clusterDefinition\": {\r\n \"kind\": \"Spark\",\r\n \"componentVersion\": {},\r\n \"configurations\": {\r\n \"gateway\": {\r\n \"restAuthCredential.isEnabled\": \"true\",\r\n \"restAuthCredential.username\": \"admin\",\r\n \"restAuthCredential.password\": \"******\"\r\n },\r\n \"core-site\": {}\r\n }\r\n },\r\n \"computeProfile\": {\r\n \"roles\": [\r\n {\r\n \"name\": \"headnode\",\r\n \"targetInstanceCount\": 2,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"STANDARD_E8_V3\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"sshuser\",\r\n \"password\": \"******\"\r\n }\r\n },\r\n \"virtualNetworkProfile\": {\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0\",\r\n \"subnet\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0/subnets/default\"\r\n }\r\n },\r\n {\r\n \"name\": \"workernode\",\r\n \"targetInstanceCount\": 3,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"STANDARD_E8_V3\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"sshuser\",\r\n \"password\": \"******\"\r\n }\r\n },\r\n \"virtualNetworkProfile\": {\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0\",\r\n \"subnet\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0/subnets/default\"\r\n }\r\n },\r\n {\r\n \"name\": \"zookeepernode\",\r\n \"targetInstanceCount\": 3,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"STANDARD_A2_V2\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"sshuser\",\r\n \"password\": \"******\"\r\n }\r\n },\r\n \"virtualNetworkProfile\": {\r\n \"id\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0\",\r\n \"subnet\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/yuchen-ps-test/providers/Microsoft.Network/virtualNetworks/hdi-vn-0/subnets/default\"\r\n }\r\n }\r\n ]\r\n },\r\n \"storageProfile\": {\r\n \"storageaccounts\": [\r\n {\r\n \"name\": \"storagepstest9060.blob.core.windows.net\",\r\n \"isDefault\": true,\r\n \"container\": \"ps259\",\r\n \"key\": \"******\",\r\n \"resourceId\": \"/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/group-ps-test8450/providers/Microsoft.Storage/storageAccounts/storagepstest9060\"\r\n }\r\n ]\r\n },\r\n \"minSupportedTlsVersion\": \"1.2\"\r\n }\r\n}",
373373
"ResponseHeaders": {
374374
"Cache-Control": [
375375
"no-cache"
@@ -6339,4 +6339,4 @@
63396339
"Variables": {
63406340
"SubscriptionId": "964c10bb-8a6c-43bc-83d3-6b318c6c7305"
63416341
}
6342-
}
6342+
}

0 commit comments

Comments
 (0)