vsphere-automation-sdk-go icon indicating copy to clipboard operation
vsphere-automation-sdk-go copied to clipboard

Tier-1s, GW QoS Profile deprecated field

Open romanovna opened this issue 2 years ago • 0 comments

Found an issue when I'm trying to create GW QoS profile using this sdk agains NSXT 3.1.2.1.0. Since there're multiple fields: committed_bandwidth & committed_bandwitdth (the last one is deprecated), so I create object like this one:

obj := model.GatewayQosProfile{
			CommittedBandwitdth: proto.Int64(v.bw),
			BurstSize:           proto.Int64(v.burst),
		}

But, NSXT respond me with message like this:

Failed to create GW QoS profile 100Mbps: Both new and deprecated properties are specified for committed_bandwidth in /infra/gateway-qos-profiles/<NAME>

Is there any chance to be updated, to support both deprecated and new fields ?

romanovna avatar Oct 21 '21 10:10 romanovna