Skip to content

Commit f203c1b

Browse files
authored
[Hub Generated] Public private branch 'dev-hsm-2018-10-31-preview-SKUChangesOnly' (#17297)
* Add more SKU enums * Fix avocado and spellcheck errors * PHSM: Swagger: Copy the current private preview files\folders to a new folder: 2021-11-30. * Add managementNetworkProfile to properties. Introduce API version 2021-11-30. * Fix avocado errors * Fix LintDiff error to add SystemData to the resource. * Add VNET outboundnetworkdependencies GET. * Addressed the review comments * Added x-ms-identifiers as a newly introduced rule in LintDiff was complaining
1 parent 5d117a8 commit f203c1b

23 files changed

+2310
-3
lines changed

custom-words.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1781,6 +1781,7 @@ runtimes
17811781
rwdlacup
17821782
rwxrw
17831783
Saas
1784+
Safenet
17841785
salesforcetables
17851786
saling
17861787
salinuxvm

specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/dedicatedhsm.json

Lines changed: 48 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@
133133
"x-ms-examples": {
134134
"Create a new or update an existing dedicated HSM": {
135135
"$ref": "./examples//DedicatedHsm_CreateOrUpdate.json"
136+
},
137+
"Create a new or update an existing payment HSM": {
138+
"$ref": "./examples//PaymentHsm_CreateOrUpdate.json"
136139
}
137140
}
138141
},
@@ -193,6 +196,9 @@
193196
"x-ms-examples": {
194197
"Update an existing dedicated HSM": {
195198
"$ref": "./examples//DedicatedHsm_Update.json"
199+
},
200+
"Update an existing payment HSM": {
201+
"$ref": "./examples//PaymentHsm_Update.json"
196202
}
197203
}
198204
},
@@ -293,6 +299,9 @@
293299
"x-ms-examples": {
294300
"Get a dedicated HSM": {
295301
"$ref": "./examples//DedicatedHsm_Get.json"
302+
},
303+
"Get a payment HSM": {
304+
"$ref": "./examples//PaymentHsm_Get.json"
296305
}
297306
}
298307
}
@@ -484,16 +493,53 @@
484493
}
485494
},
486495
"Sku": {
496+
"description": "SKU of the dedicated HSM",
487497
"properties": {
488498
"name": {
489499
"type": "string",
490500
"description": "SKU of the dedicated HSM",
491501
"enum": [
492-
"SafeNet Luna Network HSM A790"
502+
"SafeNet Luna Network HSM A790",
503+
"payShield10K_LMK1_CPS60",
504+
"payShield10K_LMK1_CPS250",
505+
"payShield10K_LMK1_CPS2500",
506+
"payShield10K_LMK2_CPS60",
507+
"payShield10K_LMK2_CPS250",
508+
"payShield10K_LMK2_CPS2500"
493509
],
494510
"x-ms-enum": {
495511
"name": "SkuName",
496-
"modelAsString": true
512+
"modelAsString": true,
513+
"values": [
514+
{
515+
"value": "SafeNet Luna Network HSM A790",
516+
"description": "The dedicated HSM is a Safenet Luna Network HSM A790 device."
517+
},
518+
{
519+
"value": "payShield10K_LMK1_CPS60",
520+
"description": "The dedicated HSM is a payShield 10K, model PS10-D, 10Gb Ethernet Hardware Platform device with 1 local master key which supports up to 60 calls per second."
521+
},
522+
{
523+
"value": "payShield10K_LMK1_CPS250",
524+
"description": "The dedicated HSM is a payShield 10K, model PS10-D, 10Gb Ethernet Hardware Platform device with 1 local master key which supports up to 250 calls per second."
525+
},
526+
{
527+
"value": "payShield10K_LMK1_CPS2500",
528+
"description": "The dedicated HSM is a payShield 10K, model PS10-D, 10Gb Ethernet Hardware Platform device with 1 local master key which supports up to 2500 calls per second."
529+
},
530+
{
531+
"value": "payShield10K_LMK2_CPS60",
532+
"description": "The dedicated HSM is a payShield 10K, model PS10-D, 10Gb Ethernet Hardware Platform device with 2 local master keys which supports up to 60 calls per second."
533+
},
534+
{
535+
"value": "payShield10K_LMK2_CPS250",
536+
"description": "The dedicated HSM is a payShield 10K, model PS10-D, 10Gb Ethernet Hardware Platform device with 2 local master keys which supports up to 250 calls per second."
537+
},
538+
{
539+
"value": "payShield10K_LMK2_CPS2500",
540+
"description": "The dedicated HSM is a payShield 10K, model PS10-D, 10Gb Ethernet Hardware Platform device with 2 local master keys which supports up to 2500 calls per second."
541+
}
542+
]
497543
}
498544
}
499545
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
{
2+
"parameters": {
3+
"resourceGroupName": "hsm-group",
4+
"name": "hsm1",
5+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
6+
"api-version": "2018-10-31-preview",
7+
"parameters": {
8+
"properties": {
9+
"networkProfile": {
10+
"subnet": {
11+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01"
12+
},
13+
"networkInterfaces": [
14+
{
15+
"privateIpAddress": "1.0.0.1"
16+
}
17+
]
18+
},
19+
"stampId": "stamp01"
20+
},
21+
"location": "westus",
22+
"sku": {
23+
"name": "payShield10K_LMK1_CPS60"
24+
},
25+
"tags": {
26+
"Dept": "hsm",
27+
"Environment": "dogfood"
28+
}
29+
}
30+
},
31+
"responses": {
32+
"201": {
33+
"body": {
34+
"properties": {
35+
"networkProfile": {
36+
"subnet": {
37+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01"
38+
},
39+
"networkInterfaces": [
40+
{
41+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic",
42+
"privateIpAddress": "1.0.0.1"
43+
}
44+
]
45+
},
46+
"stampId": "stamp01",
47+
"provisioningState": "Provisioning",
48+
"statusMessage": "DedicatedHsm device is being provisioned."
49+
},
50+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1",
51+
"name": "hsm1",
52+
"type": "Microsoft.HardwareSecurityModules/dedicatedHSMs",
53+
"location": "westus",
54+
"sku": {
55+
"name": "payShield10K_LMK1_CPS60"
56+
},
57+
"tags": {
58+
"Dept": "hsm",
59+
"Environment": "dogfood"
60+
}
61+
}
62+
},
63+
"200": {
64+
"body": {
65+
"properties": {
66+
"networkProfile": {
67+
"subnet": {
68+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01"
69+
},
70+
"networkInterfaces": [
71+
{
72+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic",
73+
"privateIpAddress": "1.0.0.1"
74+
}
75+
]
76+
},
77+
"stampId": "stamp01",
78+
"provisioningState": "Succeeded",
79+
"statusMessage": "DedicatedHsm device is functional."
80+
},
81+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1",
82+
"name": "hsm1",
83+
"type": "Microsoft.HardwareSecurityModules/dedicatedHSMs",
84+
"location": "westus",
85+
"sku": {
86+
"name": "payShield10K_LMK1_CPS60"
87+
},
88+
"tags": {
89+
"Dept": "hsm",
90+
"Environment": "dogfood"
91+
}
92+
}
93+
}
94+
}
95+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"parameters": {
3+
"resourceGroupName": "hsm-group",
4+
"name": "hsm1",
5+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
6+
"api-version": "2018-10-31-preview"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"properties": {
12+
"networkProfile": {
13+
"subnet": {
14+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01"
15+
},
16+
"networkInterfaces": [
17+
{
18+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic",
19+
"privateIpAddress": "1.0.0.1"
20+
}
21+
]
22+
},
23+
"stampId": "stamp01",
24+
"provisioningState": "Succeeded",
25+
"statusMessage": "DedicatedHsm device is functional."
26+
},
27+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1",
28+
"name": "hsm1",
29+
"type": "Microsoft.HardwareSecurityModules/dedicatedHSMs",
30+
"location": "westus",
31+
"sku": {
32+
"name": "payShield10K_LMK1_CPS60"
33+
},
34+
"tags": {
35+
"Dept": "hsm",
36+
"Environment": "dogfood",
37+
"Slice": "A"
38+
}
39+
}
40+
}
41+
}
42+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"parameters": {
3+
"resourceGroupName": "hsm-group",
4+
"name": "hsm1",
5+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
6+
"api-version": "2018-10-31-preview",
7+
"parameters": {
8+
"tags": {
9+
"Dept": "hsm",
10+
"Environment": "dogfood",
11+
"Slice": "A"
12+
}
13+
}
14+
},
15+
"responses": {
16+
"200": {
17+
"body": {
18+
"properties": {
19+
"networkProfile": {
20+
"subnet": {
21+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01"
22+
},
23+
"networkInterfaces": [
24+
{
25+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic",
26+
"privateIpAddress": "1.0.0.1"
27+
}
28+
]
29+
},
30+
"stampId": "stamp01",
31+
"provisioningState": "Succeeded",
32+
"statusMessage": "DedicatedHsm device is functional."
33+
},
34+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1",
35+
"name": "hsm1",
36+
"type": "Microsoft.HardwareSecurityModules/dedicatedHSMs",
37+
"location": "westus",
38+
"sku": {
39+
"name": "payShield10K_LMK1_CPS60"
40+
},
41+
"tags": {
42+
"Dept": "hsm",
43+
"Environment": "dogfood",
44+
"Slice": "A"
45+
}
46+
}
47+
}
48+
}
49+
}

0 commit comments

Comments
 (0)