Skip to content

Commit dc941fe

Browse files
committed
Update vpc_v1.go
1 parent a996815 commit dc941fe

File tree

1 file changed

+11
-3
lines changed
  • common/github.com/IBM/vpc-go-sdk/vpcv1

1 file changed

+11
-3
lines changed

common/github.com/IBM/vpc-go-sdk/vpcv1/vpc_v1.go

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ import (
3838
// VpcV1 : The IBM Cloud Virtual Private Cloud (VPC) API can be used to programmatically provision and manage virtual
3939
// server instances, along with subnets, volumes, load balancers, and more.
4040
//
41-
// API Version: 2025-09-30
41+
// API Version: 2025-09-16
4242
type VpcV1 struct {
4343
Service *core.BaseService
4444

@@ -47,7 +47,7 @@ type VpcV1 struct {
4747
Generation *int64
4848

4949
// The API version, in format `YYYY-MM-DD`. For the API behavior documented here, specify any date between `2025-09-16`
50-
// and `2025-11-06`.
50+
// and `2025-11-10`.
5151
Version *string
5252
}
5353

@@ -68,7 +68,7 @@ type VpcV1Options struct {
6868
Generation *int64
6969

7070
// The API version, in format `YYYY-MM-DD`. For the API behavior documented here, specify any date between `2025-09-16`
71-
// and `2025-11-06`.
71+
// and `2025-11-10`.
7272
Version *string
7373
}
7474

@@ -68094,6 +68094,9 @@ type InstanceProfile struct {
6809468094
VcpuManufacturer InstanceProfileVcpuManufacturerIntf `json:"vcpu_manufacturer" validate:"required"`
6809568095

6809668096
VolumeBandwidthQosModes InstanceProfileVolumeBandwidthQoSModesIntf `json:"volume_bandwidth_qos_modes" validate:"required"`
68097+
68098+
// The zones in this region that support this instance profile.
68099+
Zones []ZoneReference `json:"zones" validate:"required"`
6809768100
}
6809868101

6809968102
// Constants associated with the InstanceProfile.ResourceType property.
@@ -68257,6 +68260,11 @@ func UnmarshalInstanceProfile(m map[string]json.RawMessage, result interface{})
6825768260
err = core.SDKErrorf(err, "", "volume_bandwidth_qos_modes-error", common.GetComponentInfo())
6825868261
return
6825968262
}
68263+
err = core.UnmarshalModel(m, "zones", &obj.Zones, UnmarshalZoneReference)
68264+
if err != nil {
68265+
err = core.SDKErrorf(err, "", "zones-error", common.GetComponentInfo())
68266+
return
68267+
}
6826068268
reflect.ValueOf(result).Elem().Set(reflect.ValueOf(obj))
6826168269
return
6826268270
}

0 commit comments

Comments
 (0)