Remove BYO NSG references and replace with Preconfigure NSG

This commit is contained in:
Nont 2024-01-18 14:48:31 -06:00 коммит произвёл Caden Marchese
Родитель 34ed0d7a17
Коммит 00a44ec345
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -1673,7 +1673,7 @@ func TestValidateNatGatewaysPermissionsWithCheckAccess(t *testing.T) {
}
}
func TestCheckBYONsg(t *testing.T) {
func TestCheckPreconfiguredNSG(t *testing.T) {
subnetWithNSG := &mgmtnetwork.Subnet{
SubnetPropertiesFormat: &mgmtnetwork.SubnetPropertiesFormat{
NetworkSecurityGroup: &mgmtnetwork.SecurityGroup{
@ -1691,14 +1691,14 @@ func TestCheckBYONsg(t *testing.T) {
wantErr string
}{
{
name: "pass: all subnets are attached (BYONSG)",
name: "pass: all subnets are attached",
subnetByID: map[string]*mgmtnetwork.Subnet{
"A": subnetWithNSG,
"B": subnetWithNSG,
},
},
{
name: "fail: no subnets are attached (no longer BYONSG)",
name: "fail: no subnets are attached",
subnetByID: map[string]*mgmtnetwork.Subnet{
"A": subnetWithoutNSG,
"B": subnetWithoutNSG,