Skip to content

Commit

Permalink
[Hub Generated] Public private branch 'dev-hsm-2018-10-31-preview-SKU…
Browse files Browse the repository at this point in the history
…ChangesOnly' (Azure#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
  • Loading branch information
sunil-archt authored Jan 12, 2022
1 parent 5d117a8 commit f203c1b
Show file tree
Hide file tree
Showing 23 changed files with 2,310 additions and 3 deletions.
1 change: 1 addition & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1781,6 +1781,7 @@ runtimes
rwdlacup
rwxrw
Saas
Safenet
salesforcetables
saling
salinuxvm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@
"x-ms-examples": {
"Create a new or update an existing dedicated HSM": {
"$ref": "./examples//DedicatedHsm_CreateOrUpdate.json"
},
"Create a new or update an existing payment HSM": {
"$ref": "./examples//PaymentHsm_CreateOrUpdate.json"
}
}
},
Expand Down Expand Up @@ -193,6 +196,9 @@
"x-ms-examples": {
"Update an existing dedicated HSM": {
"$ref": "./examples//DedicatedHsm_Update.json"
},
"Update an existing payment HSM": {
"$ref": "./examples//PaymentHsm_Update.json"
}
}
},
Expand Down Expand Up @@ -293,6 +299,9 @@
"x-ms-examples": {
"Get a dedicated HSM": {
"$ref": "./examples//DedicatedHsm_Get.json"
},
"Get a payment HSM": {
"$ref": "./examples//PaymentHsm_Get.json"
}
}
}
Expand Down Expand Up @@ -484,16 +493,53 @@
}
},
"Sku": {
"description": "SKU of the dedicated HSM",
"properties": {
"name": {
"type": "string",
"description": "SKU of the dedicated HSM",
"enum": [
"SafeNet Luna Network HSM A790"
"SafeNet Luna Network HSM A790",
"payShield10K_LMK1_CPS60",
"payShield10K_LMK1_CPS250",
"payShield10K_LMK1_CPS2500",
"payShield10K_LMK2_CPS60",
"payShield10K_LMK2_CPS250",
"payShield10K_LMK2_CPS2500"
],
"x-ms-enum": {
"name": "SkuName",
"modelAsString": true
"modelAsString": true,
"values": [
{
"value": "SafeNet Luna Network HSM A790",
"description": "The dedicated HSM is a Safenet Luna Network HSM A790 device."
},
{
"value": "payShield10K_LMK1_CPS60",
"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."
},
{
"value": "payShield10K_LMK1_CPS250",
"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."
},
{
"value": "payShield10K_LMK1_CPS2500",
"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."
},
{
"value": "payShield10K_LMK2_CPS60",
"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."
},
{
"value": "payShield10K_LMK2_CPS250",
"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."
},
{
"value": "payShield10K_LMK2_CPS2500",
"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."
}
]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
{
"parameters": {
"resourceGroupName": "hsm-group",
"name": "hsm1",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2018-10-31-preview",
"parameters": {
"properties": {
"networkProfile": {
"subnet": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01"
},
"networkInterfaces": [
{
"privateIpAddress": "1.0.0.1"
}
]
},
"stampId": "stamp01"
},
"location": "westus",
"sku": {
"name": "payShield10K_LMK1_CPS60"
},
"tags": {
"Dept": "hsm",
"Environment": "dogfood"
}
}
},
"responses": {
"201": {
"body": {
"properties": {
"networkProfile": {
"subnet": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01"
},
"networkInterfaces": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic",
"privateIpAddress": "1.0.0.1"
}
]
},
"stampId": "stamp01",
"provisioningState": "Provisioning",
"statusMessage": "DedicatedHsm device is being provisioned."
},
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1",
"name": "hsm1",
"type": "Microsoft.HardwareSecurityModules/dedicatedHSMs",
"location": "westus",
"sku": {
"name": "payShield10K_LMK1_CPS60"
},
"tags": {
"Dept": "hsm",
"Environment": "dogfood"
}
}
},
"200": {
"body": {
"properties": {
"networkProfile": {
"subnet": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01"
},
"networkInterfaces": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic",
"privateIpAddress": "1.0.0.1"
}
]
},
"stampId": "stamp01",
"provisioningState": "Succeeded",
"statusMessage": "DedicatedHsm device is functional."
},
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1",
"name": "hsm1",
"type": "Microsoft.HardwareSecurityModules/dedicatedHSMs",
"location": "westus",
"sku": {
"name": "payShield10K_LMK1_CPS60"
},
"tags": {
"Dept": "hsm",
"Environment": "dogfood"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"parameters": {
"resourceGroupName": "hsm-group",
"name": "hsm1",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2018-10-31-preview"
},
"responses": {
"200": {
"body": {
"properties": {
"networkProfile": {
"subnet": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01"
},
"networkInterfaces": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic",
"privateIpAddress": "1.0.0.1"
}
]
},
"stampId": "stamp01",
"provisioningState": "Succeeded",
"statusMessage": "DedicatedHsm device is functional."
},
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1",
"name": "hsm1",
"type": "Microsoft.HardwareSecurityModules/dedicatedHSMs",
"location": "westus",
"sku": {
"name": "payShield10K_LMK1_CPS60"
},
"tags": {
"Dept": "hsm",
"Environment": "dogfood",
"Slice": "A"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"parameters": {
"resourceGroupName": "hsm-group",
"name": "hsm1",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2018-10-31-preview",
"parameters": {
"tags": {
"Dept": "hsm",
"Environment": "dogfood",
"Slice": "A"
}
}
},
"responses": {
"200": {
"body": {
"properties": {
"networkProfile": {
"subnet": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01"
},
"networkInterfaces": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic",
"privateIpAddress": "1.0.0.1"
}
]
},
"stampId": "stamp01",
"provisioningState": "Succeeded",
"statusMessage": "DedicatedHsm device is functional."
},
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1",
"name": "hsm1",
"type": "Microsoft.HardwareSecurityModules/dedicatedHSMs",
"location": "westus",
"sku": {
"name": "payShield10K_LMK1_CPS60"
},
"tags": {
"Dept": "hsm",
"Environment": "dogfood",
"Slice": "A"
}
}
}
}
}
Loading

0 comments on commit f203c1b

Please sign in to comment.