diff --git a/common/github.com/IBM/vpc-go-sdk/vpcv1/vpc_v1.go b/common/github.com/IBM/vpc-go-sdk/vpcv1/vpc_v1.go index 85a7366818..a481fccbba 100644 --- a/common/github.com/IBM/vpc-go-sdk/vpcv1/vpc_v1.go +++ b/common/github.com/IBM/vpc-go-sdk/vpcv1/vpc_v1.go @@ -121,7 +121,7 @@ func NewVpcV1(options *VpcV1Options) (service *VpcV1, err error) { } if options.Version == nil { - options.Version = core.StringPtr("2023-05-23") + options.Version = core.StringPtr("2023-06-19") } service = &VpcV1{ @@ -16634,6 +16634,7 @@ func (vpc *VpcV1) ListVPNGatewaysWithContext(ctx context.Context, listVPNGateway builder.AddQuery("version", fmt.Sprint(*vpc.Version)) builder.AddQuery("generation", fmt.Sprint(*vpc.generation)) + builder.AddQuery("maturity", "development") if listVPNGatewaysOptions.Start != nil { builder.AddQuery("start", fmt.Sprint(*listVPNGatewaysOptions.Start)) } @@ -16830,6 +16831,7 @@ func (vpc *VpcV1) GetVPNGatewayWithContext(ctx context.Context, getVPNGatewayOpt builder.AddQuery("version", fmt.Sprint(*vpc.Version)) builder.AddQuery("generation", fmt.Sprint(*vpc.generation)) + builder.AddQuery("maturity", "development") request, err := builder.Build() if err != nil { @@ -16962,6 +16964,7 @@ func (vpc *VpcV1) ListVPNGatewayConnectionsWithContext(ctx context.Context, list builder.AddQuery("version", fmt.Sprint(*vpc.Version)) builder.AddQuery("generation", fmt.Sprint(*vpc.generation)) + builder.AddQuery("maturity", "development") if listVPNGatewayConnectionsOptions.Status != nil { builder.AddQuery("status", fmt.Sprint(*listVPNGatewayConnectionsOptions.Status)) } @@ -17151,7 +17154,7 @@ func (vpc *VpcV1) GetVPNGatewayConnectionWithContext(ctx context.Context, getVPN builder.AddQuery("version", fmt.Sprint(*vpc.Version)) builder.AddQuery("generation", fmt.Sprint(*vpc.generation)) - + builder.AddQuery("maturity", "development") request, err := builder.Build() if err != nil { return @@ -17746,6 +17749,7 @@ func (vpc *VpcV1) ListVPNServersWithContext(ctx context.Context, listVPNServersO builder.AddQuery("version", fmt.Sprint(*vpc.Version)) builder.AddQuery("generation", fmt.Sprint(*vpc.generation)) + builder.AddQuery("maturity", "development") if listVPNServersOptions.Name != nil { builder.AddQuery("name", fmt.Sprint(*listVPNServersOptions.Name)) } @@ -17980,7 +17984,7 @@ func (vpc *VpcV1) GetVPNServerWithContext(ctx context.Context, getVPNServerOptio builder.AddQuery("version", fmt.Sprint(*vpc.Version)) builder.AddQuery("generation", fmt.Sprint(*vpc.generation)) - + builder.AddQuery("maturity", "development") request, err := builder.Build() if err != nil { return @@ -18416,6 +18420,7 @@ func (vpc *VpcV1) ListVPNServerRoutesWithContext(ctx context.Context, listVPNSer builder.AddQuery("version", fmt.Sprint(*vpc.Version)) builder.AddQuery("generation", fmt.Sprint(*vpc.generation)) + builder.AddQuery("maturity", "development") if listVPNServerRoutesOptions.Start != nil { builder.AddQuery("start", fmt.Sprint(*listVPNServerRoutesOptions.Start)) } @@ -18623,7 +18628,7 @@ func (vpc *VpcV1) GetVPNServerRouteWithContext(ctx context.Context, getVPNServer builder.AddQuery("version", fmt.Sprint(*vpc.Version)) builder.AddQuery("generation", fmt.Sprint(*vpc.generation)) - + builder.AddQuery("maturity", "development") request, err := builder.Build() if err != nil { return diff --git a/ibm/service/vpc/resource_ibm_is_vpn_gateway_connection_test.go b/ibm/service/vpc/resource_ibm_is_vpn_gateway_connection_test.go index a059e3da97..df01d576f7 100644 --- a/ibm/service/vpc/resource_ibm_is_vpn_gateway_connection_test.go +++ b/ibm/service/vpc/resource_ibm_is_vpn_gateway_connection_test.go @@ -44,6 +44,8 @@ func TestAccIBMISVPNGatewayConnection_basic(t *testing.T) { "ibm_is_vpn_gateway_connection.testacc_VPNGatewayConnection1", "name", name1), resource.TestCheckResourceAttrSet( "ibm_is_vpn_gateway_connection.testacc_VPNGatewayConnection1", "gateway_connection"), + resource.TestCheckResourceAttrSet("ibm_is_vpn_gateway_connection.testacc_VPNGatewayConnection1", "lifecycle_state"), + resource.TestCheckResourceAttrSet("ibm_is_vpn_gateway_connection.testacc_VPNGatewayConnection1", "health_state"), ), }, { diff --git a/ibm/service/vpc/resource_ibm_is_vpn_gateway_test.go b/ibm/service/vpc/resource_ibm_is_vpn_gateway_test.go index dbec6075d8..4b68e3e4f8 100644 --- a/ibm/service/vpc/resource_ibm_is_vpn_gateway_test.go +++ b/ibm/service/vpc/resource_ibm_is_vpn_gateway_test.go @@ -35,6 +35,8 @@ func TestAccIBMISVPNGateway_basic(t *testing.T) { testAccCheckIBMISVPNGatewayExists("ibm_is_vpn_gateway.testacc_vpnGateway", vpnGateway), resource.TestCheckResourceAttr( "ibm_is_vpn_gateway.testacc_vpnGateway", "name", name1), + resource.TestCheckResourceAttrSet("ibm_is_vpn_gateway.testacc_vpnGateway", "lifecycle_state"), + resource.TestCheckResourceAttrSet("ibm_is_vpn_gateway.testacc_vpnGateway", "health_state"), ), }, }, diff --git a/ibm/service/vpc/resource_ibm_is_vpn_server_route_test.go b/ibm/service/vpc/resource_ibm_is_vpn_server_route_test.go index f8cc2a01b3..8c7c207493 100644 --- a/ibm/service/vpc/resource_ibm_is_vpn_server_route_test.go +++ b/ibm/service/vpc/resource_ibm_is_vpn_server_route_test.go @@ -54,6 +54,7 @@ func TestAccIBMIsVPNServerRouteBasic(t *testing.T) { resource.TestCheckResourceAttrSet("ibm_is_vpn_server_route.is_vpn_server_route", "created_at"), resource.TestCheckResourceAttrSet("ibm_is_vpn_server_route.is_vpn_server_route", "href"), resource.TestCheckResourceAttrSet("ibm_is_vpn_server_route.is_vpn_server_route", "lifecycle_state"), + resource.TestCheckResourceAttrSet("ibm_is_vpn_server_route.is_vpn_server_route", "health_state"), resource.TestCheckResourceAttrSet("ibm_is_vpn_server_route.is_vpn_server_route", "resource_type"), resource.TestCheckResourceAttrSet("ibm_is_vpn_server_route.is_vpn_server_route", "vpn_route"), ),