1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553
|
# ResourceLimits
## Properties
|Name | Type | Description | Notes|
|------------ | ------------- | ------------- | -------------|
|**CoresPerServer** | **int32** | The maximum number of CPU cores per server. | |
|**CoresPerContract** | **int32** | The maximum number of CPU cores per contract. | |
|**CoresProvisioned** | **int32** | The number of CPU cores provisioned. | |
|**RamPerServer** | **int32** | The maximum amount of RAM (in MB) that can be provisioned for a particular server under this contract. | |
|**RamPerContract** | **int32** | The maximum amount of RAM (in MB) that can be provisioned under this contract. | |
|**RamProvisioned** | **int32** | The amount of RAM (in MB) provisioned under this contract. | |
|**HddLimitPerVolume** | **int64** | The maximum size (in MB) of an idividual hard disk volume. | |
|**HddLimitPerContract** | **int64** | The maximum amount of disk space (in MB) that can be provided under this contract. | |
|**HddVolumeProvisioned** | **int64** | The amount of hard disk space (in MB) that is currently provisioned. | |
|**SsdLimitPerVolume** | **int64** | The maximum size (in MB) of an individual solid state disk volume. | |
|**SsdLimitPerContract** | **int64** | The maximum amount of solid state disk space (in MB) that can be provisioned under this contract. | |
|**SsdVolumeProvisioned** | **int64** | The amount of solid state disk space (in MB) that is currently provisioned. | |
|**DasVolumeProvisioned** | **int64** | The amount of DAS disk space (in MB) in a Cube server that is currently provisioned. | |
|**ReservableIps** | **int32** | The maximum number of static public IP addresses that can be reserved by this customer across contracts. | |
|**ReservedIpsOnContract** | **int32** | The maximum number of static public IP addresses that can be reserved for this contract. | |
|**ReservedIpsInUse** | **int32** | The number of static public IP addresses in use. | |
|**K8sClusterLimitTotal** | **int32** | The maximum number of Kubernetes clusters that can be created under this contract. | |
|**K8sClustersProvisioned** | **int32** | The amount of Kubernetes clusters that is currently provisioned. | |
|**NlbLimitTotal** | **int32** | The NLB total limit. | |
|**NlbProvisioned** | **int32** | The NLBs provisioned. | |
|**NatGatewayLimitTotal** | **int32** | The NAT Gateway total limit. | |
|**NatGatewayProvisioned** | **int32** | The NAT Gateways provisioned. | |
|**SecurityGroupsPerVdc** | **int32** | The maximum number of security groups per VDC. | |
|**SecurityGroupsPerResource** | **int32** | The maximum number of security groups that can be attached to a NIC or a VM individually. For example, a user can have maximum 10 security groups per NIC and 10 per VM. | |
|**RulesPerSecurityGroup** | **int32** | The maximum number of rules per security group. | |
## Methods
### NewResourceLimits
`func NewResourceLimits(coresPerServer int32, coresPerContract int32, coresProvisioned int32, ramPerServer int32, ramPerContract int32, ramProvisioned int32, hddLimitPerVolume int64, hddLimitPerContract int64, hddVolumeProvisioned int64, ssdLimitPerVolume int64, ssdLimitPerContract int64, ssdVolumeProvisioned int64, dasVolumeProvisioned int64, reservableIps int32, reservedIpsOnContract int32, reservedIpsInUse int32, k8sClusterLimitTotal int32, k8sClustersProvisioned int32, nlbLimitTotal int32, nlbProvisioned int32, natGatewayLimitTotal int32, natGatewayProvisioned int32, securityGroupsPerVdc int32, securityGroupsPerResource int32, rulesPerSecurityGroup int32, ) *ResourceLimits`
NewResourceLimits instantiates a new ResourceLimits object
This constructor will assign default values to properties that have it defined,
and makes sure properties required by API are set, but the set of arguments
will change when the set of required properties is changed
### NewResourceLimitsWithDefaults
`func NewResourceLimitsWithDefaults() *ResourceLimits`
NewResourceLimitsWithDefaults instantiates a new ResourceLimits object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
### GetCoresPerServer
`func (o *ResourceLimits) GetCoresPerServer() int32`
GetCoresPerServer returns the CoresPerServer field if non-nil, zero value otherwise.
### GetCoresPerServerOk
`func (o *ResourceLimits) GetCoresPerServerOk() (*int32, bool)`
GetCoresPerServerOk returns a tuple with the CoresPerServer field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetCoresPerServer
`func (o *ResourceLimits) SetCoresPerServer(v int32)`
SetCoresPerServer sets CoresPerServer field to given value.
### GetCoresPerContract
`func (o *ResourceLimits) GetCoresPerContract() int32`
GetCoresPerContract returns the CoresPerContract field if non-nil, zero value otherwise.
### GetCoresPerContractOk
`func (o *ResourceLimits) GetCoresPerContractOk() (*int32, bool)`
GetCoresPerContractOk returns a tuple with the CoresPerContract field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetCoresPerContract
`func (o *ResourceLimits) SetCoresPerContract(v int32)`
SetCoresPerContract sets CoresPerContract field to given value.
### GetCoresProvisioned
`func (o *ResourceLimits) GetCoresProvisioned() int32`
GetCoresProvisioned returns the CoresProvisioned field if non-nil, zero value otherwise.
### GetCoresProvisionedOk
`func (o *ResourceLimits) GetCoresProvisionedOk() (*int32, bool)`
GetCoresProvisionedOk returns a tuple with the CoresProvisioned field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetCoresProvisioned
`func (o *ResourceLimits) SetCoresProvisioned(v int32)`
SetCoresProvisioned sets CoresProvisioned field to given value.
### GetRamPerServer
`func (o *ResourceLimits) GetRamPerServer() int32`
GetRamPerServer returns the RamPerServer field if non-nil, zero value otherwise.
### GetRamPerServerOk
`func (o *ResourceLimits) GetRamPerServerOk() (*int32, bool)`
GetRamPerServerOk returns a tuple with the RamPerServer field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetRamPerServer
`func (o *ResourceLimits) SetRamPerServer(v int32)`
SetRamPerServer sets RamPerServer field to given value.
### GetRamPerContract
`func (o *ResourceLimits) GetRamPerContract() int32`
GetRamPerContract returns the RamPerContract field if non-nil, zero value otherwise.
### GetRamPerContractOk
`func (o *ResourceLimits) GetRamPerContractOk() (*int32, bool)`
GetRamPerContractOk returns a tuple with the RamPerContract field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetRamPerContract
`func (o *ResourceLimits) SetRamPerContract(v int32)`
SetRamPerContract sets RamPerContract field to given value.
### GetRamProvisioned
`func (o *ResourceLimits) GetRamProvisioned() int32`
GetRamProvisioned returns the RamProvisioned field if non-nil, zero value otherwise.
### GetRamProvisionedOk
`func (o *ResourceLimits) GetRamProvisionedOk() (*int32, bool)`
GetRamProvisionedOk returns a tuple with the RamProvisioned field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetRamProvisioned
`func (o *ResourceLimits) SetRamProvisioned(v int32)`
SetRamProvisioned sets RamProvisioned field to given value.
### GetHddLimitPerVolume
`func (o *ResourceLimits) GetHddLimitPerVolume() int64`
GetHddLimitPerVolume returns the HddLimitPerVolume field if non-nil, zero value otherwise.
### GetHddLimitPerVolumeOk
`func (o *ResourceLimits) GetHddLimitPerVolumeOk() (*int64, bool)`
GetHddLimitPerVolumeOk returns a tuple with the HddLimitPerVolume field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetHddLimitPerVolume
`func (o *ResourceLimits) SetHddLimitPerVolume(v int64)`
SetHddLimitPerVolume sets HddLimitPerVolume field to given value.
### GetHddLimitPerContract
`func (o *ResourceLimits) GetHddLimitPerContract() int64`
GetHddLimitPerContract returns the HddLimitPerContract field if non-nil, zero value otherwise.
### GetHddLimitPerContractOk
`func (o *ResourceLimits) GetHddLimitPerContractOk() (*int64, bool)`
GetHddLimitPerContractOk returns a tuple with the HddLimitPerContract field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetHddLimitPerContract
`func (o *ResourceLimits) SetHddLimitPerContract(v int64)`
SetHddLimitPerContract sets HddLimitPerContract field to given value.
### GetHddVolumeProvisioned
`func (o *ResourceLimits) GetHddVolumeProvisioned() int64`
GetHddVolumeProvisioned returns the HddVolumeProvisioned field if non-nil, zero value otherwise.
### GetHddVolumeProvisionedOk
`func (o *ResourceLimits) GetHddVolumeProvisionedOk() (*int64, bool)`
GetHddVolumeProvisionedOk returns a tuple with the HddVolumeProvisioned field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetHddVolumeProvisioned
`func (o *ResourceLimits) SetHddVolumeProvisioned(v int64)`
SetHddVolumeProvisioned sets HddVolumeProvisioned field to given value.
### GetSsdLimitPerVolume
`func (o *ResourceLimits) GetSsdLimitPerVolume() int64`
GetSsdLimitPerVolume returns the SsdLimitPerVolume field if non-nil, zero value otherwise.
### GetSsdLimitPerVolumeOk
`func (o *ResourceLimits) GetSsdLimitPerVolumeOk() (*int64, bool)`
GetSsdLimitPerVolumeOk returns a tuple with the SsdLimitPerVolume field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetSsdLimitPerVolume
`func (o *ResourceLimits) SetSsdLimitPerVolume(v int64)`
SetSsdLimitPerVolume sets SsdLimitPerVolume field to given value.
### GetSsdLimitPerContract
`func (o *ResourceLimits) GetSsdLimitPerContract() int64`
GetSsdLimitPerContract returns the SsdLimitPerContract field if non-nil, zero value otherwise.
### GetSsdLimitPerContractOk
`func (o *ResourceLimits) GetSsdLimitPerContractOk() (*int64, bool)`
GetSsdLimitPerContractOk returns a tuple with the SsdLimitPerContract field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetSsdLimitPerContract
`func (o *ResourceLimits) SetSsdLimitPerContract(v int64)`
SetSsdLimitPerContract sets SsdLimitPerContract field to given value.
### GetSsdVolumeProvisioned
`func (o *ResourceLimits) GetSsdVolumeProvisioned() int64`
GetSsdVolumeProvisioned returns the SsdVolumeProvisioned field if non-nil, zero value otherwise.
### GetSsdVolumeProvisionedOk
`func (o *ResourceLimits) GetSsdVolumeProvisionedOk() (*int64, bool)`
GetSsdVolumeProvisionedOk returns a tuple with the SsdVolumeProvisioned field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetSsdVolumeProvisioned
`func (o *ResourceLimits) SetSsdVolumeProvisioned(v int64)`
SetSsdVolumeProvisioned sets SsdVolumeProvisioned field to given value.
### GetDasVolumeProvisioned
`func (o *ResourceLimits) GetDasVolumeProvisioned() int64`
GetDasVolumeProvisioned returns the DasVolumeProvisioned field if non-nil, zero value otherwise.
### GetDasVolumeProvisionedOk
`func (o *ResourceLimits) GetDasVolumeProvisionedOk() (*int64, bool)`
GetDasVolumeProvisionedOk returns a tuple with the DasVolumeProvisioned field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetDasVolumeProvisioned
`func (o *ResourceLimits) SetDasVolumeProvisioned(v int64)`
SetDasVolumeProvisioned sets DasVolumeProvisioned field to given value.
### GetReservableIps
`func (o *ResourceLimits) GetReservableIps() int32`
GetReservableIps returns the ReservableIps field if non-nil, zero value otherwise.
### GetReservableIpsOk
`func (o *ResourceLimits) GetReservableIpsOk() (*int32, bool)`
GetReservableIpsOk returns a tuple with the ReservableIps field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetReservableIps
`func (o *ResourceLimits) SetReservableIps(v int32)`
SetReservableIps sets ReservableIps field to given value.
### GetReservedIpsOnContract
`func (o *ResourceLimits) GetReservedIpsOnContract() int32`
GetReservedIpsOnContract returns the ReservedIpsOnContract field if non-nil, zero value otherwise.
### GetReservedIpsOnContractOk
`func (o *ResourceLimits) GetReservedIpsOnContractOk() (*int32, bool)`
GetReservedIpsOnContractOk returns a tuple with the ReservedIpsOnContract field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetReservedIpsOnContract
`func (o *ResourceLimits) SetReservedIpsOnContract(v int32)`
SetReservedIpsOnContract sets ReservedIpsOnContract field to given value.
### GetReservedIpsInUse
`func (o *ResourceLimits) GetReservedIpsInUse() int32`
GetReservedIpsInUse returns the ReservedIpsInUse field if non-nil, zero value otherwise.
### GetReservedIpsInUseOk
`func (o *ResourceLimits) GetReservedIpsInUseOk() (*int32, bool)`
GetReservedIpsInUseOk returns a tuple with the ReservedIpsInUse field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetReservedIpsInUse
`func (o *ResourceLimits) SetReservedIpsInUse(v int32)`
SetReservedIpsInUse sets ReservedIpsInUse field to given value.
### GetK8sClusterLimitTotal
`func (o *ResourceLimits) GetK8sClusterLimitTotal() int32`
GetK8sClusterLimitTotal returns the K8sClusterLimitTotal field if non-nil, zero value otherwise.
### GetK8sClusterLimitTotalOk
`func (o *ResourceLimits) GetK8sClusterLimitTotalOk() (*int32, bool)`
GetK8sClusterLimitTotalOk returns a tuple with the K8sClusterLimitTotal field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetK8sClusterLimitTotal
`func (o *ResourceLimits) SetK8sClusterLimitTotal(v int32)`
SetK8sClusterLimitTotal sets K8sClusterLimitTotal field to given value.
### GetK8sClustersProvisioned
`func (o *ResourceLimits) GetK8sClustersProvisioned() int32`
GetK8sClustersProvisioned returns the K8sClustersProvisioned field if non-nil, zero value otherwise.
### GetK8sClustersProvisionedOk
`func (o *ResourceLimits) GetK8sClustersProvisionedOk() (*int32, bool)`
GetK8sClustersProvisionedOk returns a tuple with the K8sClustersProvisioned field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetK8sClustersProvisioned
`func (o *ResourceLimits) SetK8sClustersProvisioned(v int32)`
SetK8sClustersProvisioned sets K8sClustersProvisioned field to given value.
### GetNlbLimitTotal
`func (o *ResourceLimits) GetNlbLimitTotal() int32`
GetNlbLimitTotal returns the NlbLimitTotal field if non-nil, zero value otherwise.
### GetNlbLimitTotalOk
`func (o *ResourceLimits) GetNlbLimitTotalOk() (*int32, bool)`
GetNlbLimitTotalOk returns a tuple with the NlbLimitTotal field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetNlbLimitTotal
`func (o *ResourceLimits) SetNlbLimitTotal(v int32)`
SetNlbLimitTotal sets NlbLimitTotal field to given value.
### GetNlbProvisioned
`func (o *ResourceLimits) GetNlbProvisioned() int32`
GetNlbProvisioned returns the NlbProvisioned field if non-nil, zero value otherwise.
### GetNlbProvisionedOk
`func (o *ResourceLimits) GetNlbProvisionedOk() (*int32, bool)`
GetNlbProvisionedOk returns a tuple with the NlbProvisioned field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetNlbProvisioned
`func (o *ResourceLimits) SetNlbProvisioned(v int32)`
SetNlbProvisioned sets NlbProvisioned field to given value.
### GetNatGatewayLimitTotal
`func (o *ResourceLimits) GetNatGatewayLimitTotal() int32`
GetNatGatewayLimitTotal returns the NatGatewayLimitTotal field if non-nil, zero value otherwise.
### GetNatGatewayLimitTotalOk
`func (o *ResourceLimits) GetNatGatewayLimitTotalOk() (*int32, bool)`
GetNatGatewayLimitTotalOk returns a tuple with the NatGatewayLimitTotal field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetNatGatewayLimitTotal
`func (o *ResourceLimits) SetNatGatewayLimitTotal(v int32)`
SetNatGatewayLimitTotal sets NatGatewayLimitTotal field to given value.
### GetNatGatewayProvisioned
`func (o *ResourceLimits) GetNatGatewayProvisioned() int32`
GetNatGatewayProvisioned returns the NatGatewayProvisioned field if non-nil, zero value otherwise.
### GetNatGatewayProvisionedOk
`func (o *ResourceLimits) GetNatGatewayProvisionedOk() (*int32, bool)`
GetNatGatewayProvisionedOk returns a tuple with the NatGatewayProvisioned field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetNatGatewayProvisioned
`func (o *ResourceLimits) SetNatGatewayProvisioned(v int32)`
SetNatGatewayProvisioned sets NatGatewayProvisioned field to given value.
### GetSecurityGroupsPerVdc
`func (o *ResourceLimits) GetSecurityGroupsPerVdc() int32`
GetSecurityGroupsPerVdc returns the SecurityGroupsPerVdc field if non-nil, zero value otherwise.
### GetSecurityGroupsPerVdcOk
`func (o *ResourceLimits) GetSecurityGroupsPerVdcOk() (*int32, bool)`
GetSecurityGroupsPerVdcOk returns a tuple with the SecurityGroupsPerVdc field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetSecurityGroupsPerVdc
`func (o *ResourceLimits) SetSecurityGroupsPerVdc(v int32)`
SetSecurityGroupsPerVdc sets SecurityGroupsPerVdc field to given value.
### GetSecurityGroupsPerResource
`func (o *ResourceLimits) GetSecurityGroupsPerResource() int32`
GetSecurityGroupsPerResource returns the SecurityGroupsPerResource field if non-nil, zero value otherwise.
### GetSecurityGroupsPerResourceOk
`func (o *ResourceLimits) GetSecurityGroupsPerResourceOk() (*int32, bool)`
GetSecurityGroupsPerResourceOk returns a tuple with the SecurityGroupsPerResource field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetSecurityGroupsPerResource
`func (o *ResourceLimits) SetSecurityGroupsPerResource(v int32)`
SetSecurityGroupsPerResource sets SecurityGroupsPerResource field to given value.
### GetRulesPerSecurityGroup
`func (o *ResourceLimits) GetRulesPerSecurityGroup() int32`
GetRulesPerSecurityGroup returns the RulesPerSecurityGroup field if non-nil, zero value otherwise.
### GetRulesPerSecurityGroupOk
`func (o *ResourceLimits) GetRulesPerSecurityGroupOk() (*int32, bool)`
GetRulesPerSecurityGroupOk returns a tuple with the RulesPerSecurityGroup field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetRulesPerSecurityGroup
`func (o *ResourceLimits) SetRulesPerSecurityGroup(v int32)`
SetRulesPerSecurityGroup sets RulesPerSecurityGroup field to given value.
|