diff --git a/CHANGELOG.md b/CHANGELOG.md index 634768c4e..99b165832 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,9 @@ - **Internal:** Backwards compatible change to generated code - `iaas`: [v0.21.2](services/iaas/CHANGELOG.md#v0212-2025-03-19) - **Internal:** Backwards compatible change to generated code +- `iaas`: [v0.22.0](services/iaas/CHANGELOG.md#v0220-2025-03-24) + - **Improvement:** Upgrading from IaaS **beta** endpoints to **v1** + - **Feature:** Add new method to filter `ListMachineTypes`: `Filter` - `loadbalancer`: [v1.0.1](services/loadbalancer/CHANGELOG.md#v101-2025-03-19) - - **Bugfix:** Corrected regional setup of client - `logme`: [v0.21.1](services/logme/CHANGELOG.md#v0211-2025-03-19) diff --git a/services/iaas/CHANGELOG.md b/services/iaas/CHANGELOG.md index a3752f34a..915fda513 100644 --- a/services/iaas/CHANGELOG.md +++ b/services/iaas/CHANGELOG.md @@ -1,3 +1,7 @@ +## v0.22.0 (2025-03-24) +- **Improvement:** Upgrading from IaaS **beta** endpoints to **v1** +- **Feature:** Add new method to filter `ListMachineTypes`: `Filter` + ## v0.21.2 (2025-03-19) - **Internal:** Backwards compatible change to generated code diff --git a/services/iaas/api_default.go b/services/iaas/api_default.go index 1e05c1643..91a3cd9bf 100644 --- a/services/iaas/api_default.go +++ b/services/iaas/api_default.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -46,7 +46,7 @@ func (r ApiAddNetworkToServerRequest) Execute() error { return &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/servers/{serverId}/networks/{networkId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/servers/{serverId}/networks/{networkId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"serverId"+"}", url.PathEscape(ParameterValueToString(r.serverId, "serverId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"networkId"+"}", url.PathEscape(ParameterValueToString(r.networkId, "networkId")), -1) @@ -234,7 +234,7 @@ func (r ApiAddNicToServerRequest) Execute() error { return &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/servers/{serverId}/nics/{nicId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/servers/{serverId}/nics/{nicId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"serverId"+"}", url.PathEscape(ParameterValueToString(r.serverId, "serverId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"nicId"+"}", url.PathEscape(ParameterValueToString(r.nicId, "nicId")), -1) @@ -433,7 +433,7 @@ func (r ApiAddPublicIpToServerRequest) Execute() error { return &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/servers/{serverId}/public-ips/{publicIpId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/servers/{serverId}/public-ips/{publicIpId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"serverId"+"}", url.PathEscape(ParameterValueToString(r.serverId, "serverId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"publicIpId"+"}", url.PathEscape(ParameterValueToString(r.publicIpId, "publicIpId")), -1) @@ -632,7 +632,7 @@ func (r ApiAddSecurityGroupToServerRequest) Execute() error { return &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/servers/{serverId}/security-groups/{securityGroupId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/servers/{serverId}/security-groups/{securityGroupId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"serverId"+"}", url.PathEscape(ParameterValueToString(r.serverId, "serverId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"securityGroupId"+"}", url.PathEscape(ParameterValueToString(r.securityGroupId, "securityGroupId")), -1) @@ -832,7 +832,7 @@ func (r ApiAddServiceAccountToServerRequest) Execute() (*ServiceAccountMailListR return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/servers/{serverId}/service-accounts/{serviceAccountMail}" + localVarPath := localBasePath + "/v1/projects/{projectId}/servers/{serverId}/service-accounts/{serviceAccountMail}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"serverId"+"}", url.PathEscape(ParameterValueToString(r.serverId, "serverId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"serviceAccountMail"+"}", url.PathEscape(ParameterValueToString(r.serviceAccountMail, "serviceAccountMail")), -1) @@ -1047,7 +1047,7 @@ func (r ApiAddVolumeToServerRequest) Execute() (*VolumeAttachment, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/servers/{serverId}/volume-attachments/{volumeId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/servers/{serverId}/volume-attachments/{volumeId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"serverId"+"}", url.PathEscape(ParameterValueToString(r.serverId, "serverId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"volumeId"+"}", url.PathEscape(ParameterValueToString(r.volumeId, "volumeId")), -1) @@ -1265,7 +1265,7 @@ func (r ApiCreateAffinityGroupRequest) Execute() (*AffinityGroup, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/affinity-groups" + localVarPath := localBasePath + "/v1/projects/{projectId}/affinity-groups" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarHeaderParams := make(map[string]string) @@ -1455,7 +1455,7 @@ func (r ApiCreateBackupRequest) Execute() (*Backup, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/backups" + localVarPath := localBasePath + "/v1/projects/{projectId}/backups" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarHeaderParams := make(map[string]string) @@ -1645,7 +1645,7 @@ func (r ApiCreateImageRequest) Execute() (*ImageCreateResponse, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/images" + localVarPath := localBasePath + "/v1/projects/{projectId}/images" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarHeaderParams := make(map[string]string) @@ -1845,7 +1845,7 @@ func (r ApiCreateKeyPairRequest) Execute() (*Keypair, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/keypairs" + localVarPath := localBasePath + "/v1/keypairs" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} @@ -1989,7 +1989,7 @@ func (r ApiCreateKeyPairRequest) Execute() (*Keypair, error) { /* CreateKeyPair: Import a public key. -Import a new public key for the requesting user based on provided public key material. The creation will fail if an SSH keypair with the same name already exists. If a name is not provided it is autogenerated form the ssh-pubkey comment section. If that is also not present it will be the the MD5 fingerprint of the key. For autogenerated names invalid characters will be removed. +Import a new public key for the requesting user based on provided public key material. The creation will fail if an SSH keypair with the same name already exists. If a name is not provided it is autogenerated form the ssh-pubkey comment section. If that is also not present it will be the the MD5 fingerprint of the key. For autogenerated names invalid characters will be removed. Supported keypair types are ecdsa, ed25519 and rsa. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateKeyPairRequest @@ -2036,7 +2036,7 @@ func (r ApiCreateNetworkRequest) Execute() (*Network, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/networks" + localVarPath := localBasePath + "/v1/projects/{projectId}/networks" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarHeaderParams := make(map[string]string) @@ -2217,7 +2217,7 @@ type ApiCreateNetworkAreaRequest struct { createNetworkAreaPayload *CreateNetworkAreaPayload } -// Request an Area creation. +// Request an area creation. func (r ApiCreateNetworkAreaRequest) CreateNetworkAreaPayload(createNetworkAreaPayload CreateNetworkAreaPayload) ApiCreateNetworkAreaRequest { r.createNetworkAreaPayload = &createNetworkAreaPayload @@ -2237,7 +2237,7 @@ func (r ApiCreateNetworkAreaRequest) Execute() (*NetworkArea, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/organizations/{organizationId}/network-areas" + localVarPath := localBasePath + "/v1/organizations/{organizationId}/network-areas" localVarPath = strings.Replace(localVarPath, "{"+"organizationId"+"}", url.PathEscape(ParameterValueToString(r.organizationId, "organizationId")), -1) localVarHeaderParams := make(map[string]string) @@ -2428,7 +2428,7 @@ func (r ApiCreateNetworkAreaRangeRequest) Execute() (*NetworkRangeListResponse, return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/organizations/{organizationId}/network-areas/{areaId}/network-ranges" + localVarPath := localBasePath + "/v1/organizations/{organizationId}/network-areas/{areaId}/network-ranges" localVarPath = strings.Replace(localVarPath, "{"+"organizationId"+"}", url.PathEscape(ParameterValueToString(r.organizationId, "organizationId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"areaId"+"}", url.PathEscape(ParameterValueToString(r.areaId, "areaId")), -1) @@ -2640,7 +2640,7 @@ func (r ApiCreateNetworkAreaRouteRequest) Execute() (*RouteListResponse, error) return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/organizations/{organizationId}/network-areas/{areaId}/routes" + localVarPath := localBasePath + "/v1/organizations/{organizationId}/network-areas/{areaId}/routes" localVarPath = strings.Replace(localVarPath, "{"+"organizationId"+"}", url.PathEscape(ParameterValueToString(r.organizationId, "organizationId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"areaId"+"}", url.PathEscape(ParameterValueToString(r.areaId, "areaId")), -1) @@ -2852,7 +2852,7 @@ func (r ApiCreateNicRequest) Execute() (*NIC, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/networks/{networkId}/nics" + localVarPath := localBasePath + "/v1/projects/{projectId}/networks/{networkId}/nics" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"networkId"+"}", url.PathEscape(ParameterValueToString(r.networkId, "networkId")), -1) @@ -3074,7 +3074,7 @@ func (r ApiCreatePublicIPRequest) Execute() (*PublicIp, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/public-ips" + localVarPath := localBasePath + "/v1/projects/{projectId}/public-ips" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarHeaderParams := make(map[string]string) @@ -3275,7 +3275,7 @@ func (r ApiCreateSecurityGroupRequest) Execute() (*SecurityGroup, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/security-groups" + localVarPath := localBasePath + "/v1/projects/{projectId}/security-groups" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarHeaderParams := make(map[string]string) @@ -3466,7 +3466,7 @@ func (r ApiCreateSecurityGroupRuleRequest) Execute() (*SecurityGroupRule, error) return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/security-groups/{securityGroupId}/rules" + localVarPath := localBasePath + "/v1/projects/{projectId}/security-groups/{securityGroupId}/rules" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"securityGroupId"+"}", url.PathEscape(ParameterValueToString(r.securityGroupId, "securityGroupId")), -1) @@ -3666,7 +3666,7 @@ func (r ApiCreateServerRequest) Execute() (*Server, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/servers" + localVarPath := localBasePath + "/v1/projects/{projectId}/servers" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarHeaderParams := make(map[string]string) @@ -3856,7 +3856,7 @@ func (r ApiCreateSnapshotRequest) Execute() (*Snapshot, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/snapshots" + localVarPath := localBasePath + "/v1/projects/{projectId}/snapshots" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarHeaderParams := make(map[string]string) @@ -4046,7 +4046,7 @@ func (r ApiCreateVolumeRequest) Execute() (*Volume, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/volumes" + localVarPath := localBasePath + "/v1/projects/{projectId}/volumes" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarHeaderParams := make(map[string]string) @@ -4228,7 +4228,7 @@ func (r ApiDeallocateServerRequest) Execute() error { return &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/servers/{serverId}/deallocate" + localVarPath := localBasePath + "/v1/projects/{projectId}/servers/{serverId}/deallocate" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"serverId"+"}", url.PathEscape(ParameterValueToString(r.serverId, "serverId")), -1) @@ -4416,7 +4416,7 @@ func (r ApiDeleteAffinityGroupRequest) Execute() error { return &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/affinity-groups/{affinityGroupId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/affinity-groups/{affinityGroupId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"affinityGroupId"+"}", url.PathEscape(ParameterValueToString(r.affinityGroupId, "affinityGroupId")), -1) @@ -4601,7 +4601,7 @@ func (r ApiDeleteBackupRequest) Execute() error { return &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/backups/{backupId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/backups/{backupId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"backupId"+"}", url.PathEscape(ParameterValueToString(r.backupId, "backupId")), -1) @@ -4781,7 +4781,7 @@ func (r ApiDeleteImageRequest) Execute() error { return &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/images/{imageId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/images/{imageId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"imageId"+"}", url.PathEscape(ParameterValueToString(r.imageId, "imageId")), -1) @@ -4958,7 +4958,7 @@ func (r ApiDeleteImageShareRequest) Execute() error { return &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/images/{imageId}/share" + localVarPath := localBasePath + "/v1/projects/{projectId}/images/{imageId}/share" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"imageId"+"}", url.PathEscape(ParameterValueToString(r.imageId, "imageId")), -1) @@ -5136,7 +5136,7 @@ func (r ApiDeleteImageShareConsumerRequest) Execute() error { return &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/images/{imageId}/share/{consumerProjectId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/images/{imageId}/share/{consumerProjectId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"imageId"+"}", url.PathEscape(ParameterValueToString(r.imageId, "imageId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"consumerProjectId"+"}", url.PathEscape(ParameterValueToString(r.consumerProjectId, "consumerProjectId")), -1) @@ -5322,7 +5322,7 @@ func (r ApiDeleteKeyPairRequest) Execute() error { return &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/keypairs/{keypairName}" + localVarPath := localBasePath + "/v1/keypairs/{keypairName}" localVarPath = strings.Replace(localVarPath, "{"+"keypairName"+"}", url.PathEscape(ParameterValueToString(r.keypairName, "keypairName")), -1) localVarHeaderParams := make(map[string]string) @@ -5486,7 +5486,7 @@ func (r ApiDeleteNetworkRequest) Execute() error { return &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/networks/{networkId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/networks/{networkId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"networkId"+"}", url.PathEscape(ParameterValueToString(r.networkId, "networkId")), -1) @@ -5674,7 +5674,7 @@ func (r ApiDeleteNetworkAreaRequest) Execute() error { return &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/organizations/{organizationId}/network-areas/{areaId}" + localVarPath := localBasePath + "/v1/organizations/{organizationId}/network-areas/{areaId}" localVarPath = strings.Replace(localVarPath, "{"+"organizationId"+"}", url.PathEscape(ParameterValueToString(r.organizationId, "organizationId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"areaId"+"}", url.PathEscape(ParameterValueToString(r.areaId, "areaId")), -1) @@ -5863,7 +5863,7 @@ func (r ApiDeleteNetworkAreaRangeRequest) Execute() error { return &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/organizations/{organizationId}/network-areas/{areaId}/network-ranges/{networkRangeId}" + localVarPath := localBasePath + "/v1/organizations/{organizationId}/network-areas/{areaId}/network-ranges/{networkRangeId}" localVarPath = strings.Replace(localVarPath, "{"+"organizationId"+"}", url.PathEscape(ParameterValueToString(r.organizationId, "organizationId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"areaId"+"}", url.PathEscape(ParameterValueToString(r.areaId, "areaId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"networkRangeId"+"}", url.PathEscape(ParameterValueToString(r.networkRangeId, "networkRangeId")), -1) @@ -6062,7 +6062,7 @@ func (r ApiDeleteNetworkAreaRouteRequest) Execute() error { return &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/organizations/{organizationId}/network-areas/{areaId}/routes/{routeId}" + localVarPath := localBasePath + "/v1/organizations/{organizationId}/network-areas/{areaId}/routes/{routeId}" localVarPath = strings.Replace(localVarPath, "{"+"organizationId"+"}", url.PathEscape(ParameterValueToString(r.organizationId, "organizationId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"areaId"+"}", url.PathEscape(ParameterValueToString(r.areaId, "areaId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"routeId"+"}", url.PathEscape(ParameterValueToString(r.routeId, "routeId")), -1) @@ -6250,7 +6250,7 @@ func (r ApiDeleteNicRequest) Execute() error { return &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/networks/{networkId}/nics/{nicId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/networks/{networkId}/nics/{nicId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"networkId"+"}", url.PathEscape(ParameterValueToString(r.networkId, "networkId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"nicId"+"}", url.PathEscape(ParameterValueToString(r.nicId, "nicId")), -1) @@ -6437,7 +6437,7 @@ func (r ApiDeletePublicIPRequest) Execute() error { return &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/public-ips/{publicIpId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/public-ips/{publicIpId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"publicIpId"+"}", url.PathEscape(ParameterValueToString(r.publicIpId, "publicIpId")), -1) @@ -6614,7 +6614,7 @@ func (r ApiDeleteSecurityGroupRequest) Execute() error { return &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/security-groups/{securityGroupId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/security-groups/{securityGroupId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"securityGroupId"+"}", url.PathEscape(ParameterValueToString(r.securityGroupId, "securityGroupId")), -1) @@ -6803,7 +6803,7 @@ func (r ApiDeleteSecurityGroupRuleRequest) Execute() error { return &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/security-groups/{securityGroupId}/rules/{securityGroupRuleId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/security-groups/{securityGroupId}/rules/{securityGroupRuleId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"securityGroupId"+"}", url.PathEscape(ParameterValueToString(r.securityGroupId, "securityGroupId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"securityGroupRuleId"+"}", url.PathEscape(ParameterValueToString(r.securityGroupRuleId, "securityGroupRuleId")), -1) @@ -6990,7 +6990,7 @@ func (r ApiDeleteServerRequest) Execute() error { return &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/servers/{serverId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/servers/{serverId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"serverId"+"}", url.PathEscape(ParameterValueToString(r.serverId, "serverId")), -1) @@ -7167,7 +7167,7 @@ func (r ApiDeleteSnapshotRequest) Execute() error { return &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/snapshots/{snapshotId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/snapshots/{snapshotId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"snapshotId"+"}", url.PathEscape(ParameterValueToString(r.snapshotId, "snapshotId")), -1) @@ -7344,7 +7344,7 @@ func (r ApiDeleteVolumeRequest) Execute() error { return &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/volumes/{volumeId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/volumes/{volumeId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"volumeId"+"}", url.PathEscape(ParameterValueToString(r.volumeId, "volumeId")), -1) @@ -7533,7 +7533,7 @@ func (r ApiGetAffinityGroupRequest) Execute() (*AffinityGroup, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/affinity-groups/{affinityGroupId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/affinity-groups/{affinityGroupId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"affinityGroupId"+"}", url.PathEscape(ParameterValueToString(r.affinityGroupId, "affinityGroupId")), -1) @@ -7722,7 +7722,7 @@ func (r ApiGetAttachedVolumeRequest) Execute() (*VolumeAttachment, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/servers/{serverId}/volume-attachments/{volumeId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/servers/{serverId}/volume-attachments/{volumeId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"serverId"+"}", url.PathEscape(ParameterValueToString(r.serverId, "serverId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"volumeId"+"}", url.PathEscape(ParameterValueToString(r.volumeId, "volumeId")), -1) @@ -7920,7 +7920,7 @@ func (r ApiGetBackupRequest) Execute() (*Backup, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/backups/{backupId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/backups/{backupId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"backupId"+"}", url.PathEscape(ParameterValueToString(r.backupId, "backupId")), -1) @@ -8108,7 +8108,7 @@ func (r ApiGetImageRequest) Execute() (*Image, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/images/{imageId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/images/{imageId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"imageId"+"}", url.PathEscape(ParameterValueToString(r.imageId, "imageId")), -1) @@ -8296,7 +8296,7 @@ func (r ApiGetImageShareRequest) Execute() (*ImageShare, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/images/{imageId}/share" + localVarPath := localBasePath + "/v1/projects/{projectId}/images/{imageId}/share" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"imageId"+"}", url.PathEscape(ParameterValueToString(r.imageId, "imageId")), -1) @@ -8485,7 +8485,7 @@ func (r ApiGetImageShareConsumerRequest) Execute() (*ImageShareConsumer, error) return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/images/{imageId}/share/{consumerProjectId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/images/{imageId}/share/{consumerProjectId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"imageId"+"}", url.PathEscape(ParameterValueToString(r.imageId, "imageId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"consumerProjectId"+"}", url.PathEscape(ParameterValueToString(r.consumerProjectId, "consumerProjectId")), -1) @@ -8682,7 +8682,7 @@ func (r ApiGetKeyPairRequest) Execute() (*Keypair, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/keypairs/{keypairName}" + localVarPath := localBasePath + "/v1/keypairs/{keypairName}" localVarPath = strings.Replace(localVarPath, "{"+"keypairName"+"}", url.PathEscape(ParameterValueToString(r.keypairName, "keypairName")), -1) localVarHeaderParams := make(map[string]string) @@ -8857,7 +8857,7 @@ func (r ApiGetMachineTypeRequest) Execute() (*MachineType, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/machine-types/{machineType}" + localVarPath := localBasePath + "/v1/projects/{projectId}/machine-types/{machineType}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"machineType"+"}", url.PathEscape(ParameterValueToString(r.machineType, "machineType")), -1) @@ -9042,7 +9042,7 @@ func (r ApiGetNetworkRequest) Execute() (*Network, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/networks/{networkId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/networks/{networkId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"networkId"+"}", url.PathEscape(ParameterValueToString(r.networkId, "networkId")), -1) @@ -9230,7 +9230,7 @@ func (r ApiGetNetworkAreaRequest) Execute() (*NetworkArea, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/organizations/{organizationId}/network-areas/{areaId}" + localVarPath := localBasePath + "/v1/organizations/{organizationId}/network-areas/{areaId}" localVarPath = strings.Replace(localVarPath, "{"+"organizationId"+"}", url.PathEscape(ParameterValueToString(r.organizationId, "organizationId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"areaId"+"}", url.PathEscape(ParameterValueToString(r.areaId, "areaId")), -1) @@ -9419,7 +9419,7 @@ func (r ApiGetNetworkAreaRangeRequest) Execute() (*NetworkRange, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/organizations/{organizationId}/network-areas/{areaId}/network-ranges/{networkRangeId}" + localVarPath := localBasePath + "/v1/organizations/{organizationId}/network-areas/{areaId}/network-ranges/{networkRangeId}" localVarPath = strings.Replace(localVarPath, "{"+"organizationId"+"}", url.PathEscape(ParameterValueToString(r.organizationId, "organizationId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"areaId"+"}", url.PathEscape(ParameterValueToString(r.areaId, "areaId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"networkRangeId"+"}", url.PathEscape(ParameterValueToString(r.networkRangeId, "networkRangeId")), -1) @@ -9618,7 +9618,7 @@ func (r ApiGetNetworkAreaRouteRequest) Execute() (*Route, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/organizations/{organizationId}/network-areas/{areaId}/routes/{routeId}" + localVarPath := localBasePath + "/v1/organizations/{organizationId}/network-areas/{areaId}/routes/{routeId}" localVarPath = strings.Replace(localVarPath, "{"+"organizationId"+"}", url.PathEscape(ParameterValueToString(r.organizationId, "organizationId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"areaId"+"}", url.PathEscape(ParameterValueToString(r.areaId, "areaId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"routeId"+"}", url.PathEscape(ParameterValueToString(r.routeId, "routeId")), -1) @@ -9817,7 +9817,7 @@ func (r ApiGetNicRequest) Execute() (*NIC, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/networks/{networkId}/nics/{nicId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/networks/{networkId}/nics/{nicId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"networkId"+"}", url.PathEscape(ParameterValueToString(r.networkId, "networkId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"nicId"+"}", url.PathEscape(ParameterValueToString(r.nicId, "nicId")), -1) @@ -9964,7 +9964,7 @@ func (r ApiGetNicRequest) Execute() (*NIC, error) { } /* -GetNic: Get details about a network interface. +GetNic: Get details about a network interface of a network. Get details about a network interface inside a network. @@ -10015,7 +10015,7 @@ func (r ApiGetOrganizationRequestRequest) Execute() (*Request, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/organizations/{organizationId}/requests/{requestId}" + localVarPath := localBasePath + "/v1/organizations/{organizationId}/requests/{requestId}" localVarPath = strings.Replace(localVarPath, "{"+"organizationId"+"}", url.PathEscape(ParameterValueToString(r.organizationId, "organizationId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"requestId"+"}", url.PathEscape(ParameterValueToString(r.requestId, "requestId")), -1) @@ -10203,7 +10203,7 @@ func (r ApiGetProjectNICRequest) Execute() (*NIC, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/nics/{nicId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/nics/{nicId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"nicId"+"}", url.PathEscape(ParameterValueToString(r.nicId, "nicId")), -1) @@ -10391,7 +10391,7 @@ func (r ApiGetProjectRequestRequest) Execute() (*Request, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/requests/{requestId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/requests/{requestId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"requestId"+"}", url.PathEscape(ParameterValueToString(r.requestId, "requestId")), -1) @@ -10579,7 +10579,7 @@ func (r ApiGetPublicIPRequest) Execute() (*PublicIp, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/public-ips/{publicIpId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/public-ips/{publicIpId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"publicIpId"+"}", url.PathEscape(ParameterValueToString(r.publicIpId, "publicIpId")), -1) @@ -10767,7 +10767,7 @@ func (r ApiGetSecurityGroupRequest) Execute() (*SecurityGroup, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/security-groups/{securityGroupId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/security-groups/{securityGroupId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"securityGroupId"+"}", url.PathEscape(ParameterValueToString(r.securityGroupId, "securityGroupId")), -1) @@ -10956,7 +10956,7 @@ func (r ApiGetSecurityGroupRuleRequest) Execute() (*SecurityGroupRule, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/security-groups/{securityGroupId}/rules/{securityGroupRuleId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/security-groups/{securityGroupId}/rules/{securityGroupRuleId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"securityGroupId"+"}", url.PathEscape(ParameterValueToString(r.securityGroupId, "securityGroupId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"securityGroupRuleId"+"}", url.PathEscape(ParameterValueToString(r.securityGroupRuleId, "securityGroupRuleId")), -1) @@ -11162,7 +11162,7 @@ func (r ApiGetServerRequest) Execute() (*Server, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/servers/{serverId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/servers/{serverId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"serverId"+"}", url.PathEscape(ParameterValueToString(r.serverId, "serverId")), -1) @@ -11353,7 +11353,7 @@ func (r ApiGetServerConsoleRequest) Execute() (*ServerConsoleUrl, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/servers/{serverId}/console" + localVarPath := localBasePath + "/v1/projects/{projectId}/servers/{serverId}/console" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"serverId"+"}", url.PathEscape(ParameterValueToString(r.serverId, "serverId")), -1) @@ -11549,7 +11549,7 @@ func (r ApiGetServerLogRequest) Execute() (*GetServerLog200Response, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/servers/{serverId}/log" + localVarPath := localBasePath + "/v1/projects/{projectId}/servers/{serverId}/log" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"serverId"+"}", url.PathEscape(ParameterValueToString(r.serverId, "serverId")), -1) @@ -11740,7 +11740,7 @@ func (r ApiGetSnapshotRequest) Execute() (*Snapshot, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/snapshots/{snapshotId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/snapshots/{snapshotId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"snapshotId"+"}", url.PathEscape(ParameterValueToString(r.snapshotId, "snapshotId")), -1) @@ -11928,7 +11928,7 @@ func (r ApiGetVolumeRequest) Execute() (*Volume, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/volumes/{volumeId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/volumes/{volumeId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"volumeId"+"}", url.PathEscape(ParameterValueToString(r.volumeId, "volumeId")), -1) @@ -12116,7 +12116,7 @@ func (r ApiGetVolumePerformanceClassRequest) Execute() (*VolumePerformanceClass, return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/volume-performance-classes/{volumePerformanceClass}" + localVarPath := localBasePath + "/v1/projects/{projectId}/volume-performance-classes/{volumePerformanceClass}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"volumePerformanceClass"+"}", url.PathEscape(ParameterValueToString(r.volumePerformanceClass, "volumePerformanceClass")), -1) @@ -12300,7 +12300,7 @@ func (r ApiListAffinityGroupsRequest) Execute() (*AffinityGroupListResponse, err return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/affinity-groups" + localVarPath := localBasePath + "/v1/projects/{projectId}/affinity-groups" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarHeaderParams := make(map[string]string) @@ -12489,7 +12489,7 @@ func (r ApiListAttachedVolumesRequest) Execute() (*VolumeAttachmentListResponse, return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/servers/{serverId}/volume-attachments" + localVarPath := localBasePath + "/v1/projects/{projectId}/servers/{serverId}/volume-attachments" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"serverId"+"}", url.PathEscape(ParameterValueToString(r.serverId, "serverId")), -1) @@ -12675,7 +12675,7 @@ func (r ApiListAvailabilityZonesRequest) Execute() (*AvailabilityZoneListRespons return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/availability-zones" + localVarPath := localBasePath + "/v1/availability-zones" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} @@ -12850,7 +12850,7 @@ func (r ApiListBackupsRequest) Execute() (*BackupListResponse, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/backups" + localVarPath := localBasePath + "/v1/projects/{projectId}/backups" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarHeaderParams := make(map[string]string) @@ -13046,7 +13046,7 @@ func (r ApiListImagesRequest) Execute() (*ImageListResponse, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/images" + localVarPath := localBasePath + "/v1/projects/{projectId}/images" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarHeaderParams := make(map[string]string) @@ -13236,7 +13236,7 @@ func (r ApiListKeyPairsRequest) Execute() (*KeyPairListResponse, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/keypairs" + localVarPath := localBasePath + "/v1/keypairs" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} @@ -13391,6 +13391,14 @@ type ApiListMachineTypesRequest struct { ctx context.Context apiService *DefaultApiService projectId string + filter *string +} + +// Filter resources by fields. A subset of expr-lang is supported. See https://expr-lang.org/docs/language-definition for usage details. + +func (r ApiListMachineTypesRequest) Filter(filter string) ApiListMachineTypesRequest { + r.filter = &filter + return r } func (r ApiListMachineTypesRequest) Execute() (*MachineTypeListResponse, error) { @@ -13406,7 +13414,7 @@ func (r ApiListMachineTypesRequest) Execute() (*MachineTypeListResponse, error) return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/machine-types" + localVarPath := localBasePath + "/v1/projects/{projectId}/machine-types" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarHeaderParams := make(map[string]string) @@ -13419,6 +13427,9 @@ func (r ApiListMachineTypesRequest) Execute() (*MachineTypeListResponse, error) return localVarReturnValue, fmt.Errorf("projectId must have less than 36 elements") } + if r.filter != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "filter", r.filter, "") + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -13584,7 +13595,7 @@ func (r ApiListNetworkAreaProjectsRequest) Execute() (*ProjectListResponse, erro return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/organizations/{organizationId}/network-areas/{areaId}/projects" + localVarPath := localBasePath + "/v1/organizations/{organizationId}/network-areas/{areaId}/projects" localVarPath = strings.Replace(localVarPath, "{"+"organizationId"+"}", url.PathEscape(ParameterValueToString(r.organizationId, "organizationId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"areaId"+"}", url.PathEscape(ParameterValueToString(r.areaId, "areaId")), -1) @@ -13772,7 +13783,7 @@ func (r ApiListNetworkAreaRangesRequest) Execute() (*NetworkRangeListResponse, e return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/organizations/{organizationId}/network-areas/{areaId}/network-ranges" + localVarPath := localBasePath + "/v1/organizations/{organizationId}/network-areas/{areaId}/network-ranges" localVarPath = strings.Replace(localVarPath, "{"+"organizationId"+"}", url.PathEscape(ParameterValueToString(r.organizationId, "organizationId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"areaId"+"}", url.PathEscape(ParameterValueToString(r.areaId, "areaId")), -1) @@ -13968,7 +13979,7 @@ func (r ApiListNetworkAreaRoutesRequest) Execute() (*RouteListResponse, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/organizations/{organizationId}/network-areas/{areaId}/routes" + localVarPath := localBasePath + "/v1/organizations/{organizationId}/network-areas/{areaId}/routes" localVarPath = strings.Replace(localVarPath, "{"+"organizationId"+"}", url.PathEscape(ParameterValueToString(r.organizationId, "organizationId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"areaId"+"}", url.PathEscape(ParameterValueToString(r.areaId, "areaId")), -1) @@ -14166,7 +14177,7 @@ func (r ApiListNetworkAreasRequest) Execute() (*NetworkAreaListResponse, error) return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/organizations/{organizationId}/network-areas" + localVarPath := localBasePath + "/v1/organizations/{organizationId}/network-areas" localVarPath = strings.Replace(localVarPath, "{"+"organizationId"+"}", url.PathEscape(ParameterValueToString(r.organizationId, "organizationId")), -1) localVarHeaderParams := make(map[string]string) @@ -14354,7 +14365,7 @@ func (r ApiListNetworksRequest) Execute() (*NetworkListResponse, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/networks" + localVarPath := localBasePath + "/v1/projects/{projectId}/networks" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarHeaderParams := make(map[string]string) @@ -14543,7 +14554,7 @@ func (r ApiListNicsRequest) Execute() (*NICListResponse, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/networks/{networkId}/nics" + localVarPath := localBasePath + "/v1/projects/{projectId}/networks/{networkId}/nics" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"networkId"+"}", url.PathEscape(ParameterValueToString(r.networkId, "networkId")), -1) @@ -14741,7 +14752,7 @@ func (r ApiListProjectNICsRequest) Execute() (*NICListResponse, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/nics" + localVarPath := localBasePath + "/v1/projects/{projectId}/nics" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarHeaderParams := make(map[string]string) @@ -14902,49 +14913,30 @@ func (a *APIClient) ListProjectNICsExecute(ctx context.Context, projectId string return r.Execute() } -type ApiListPublicIPsRequest struct { - ctx context.Context - apiService *DefaultApiService - projectId string - labelSelector *string -} - -// Filter resources by labels. - -func (r ApiListPublicIPsRequest) LabelSelector(labelSelector string) ApiListPublicIPsRequest { - r.labelSelector = &labelSelector - return r +type ApiListPublicIPRangesRequest struct { + ctx context.Context + apiService *DefaultApiService } -func (r ApiListPublicIPsRequest) Execute() (*PublicIpListResponse, error) { +func (r ApiListPublicIPRangesRequest) Execute() (*PublicNetworkListResponse, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PublicIpListResponse + localVarReturnValue *PublicNetworkListResponse ) a := r.apiService - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListPublicIPs") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListPublicIPRanges") if err != nil { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/public-ips" - localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) + localVarPath := localBasePath + "/v1/networks/public-ip-ranges" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - if strlen(r.projectId) < 36 { - return localVarReturnValue, fmt.Errorf("projectId must have at least 36 elements") - } - if strlen(r.projectId) > 36 { - return localVarReturnValue, fmt.Errorf("projectId must have less than 36 elements") - } - if r.labelSelector != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "label_selector", r.labelSelector, "") - } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -15065,55 +15057,71 @@ func (r ApiListPublicIPsRequest) Execute() (*PublicIpListResponse, error) { } /* -ListPublicIPs: List all public IPs inside a project. +ListPublicIPRanges: List all public IP ranges. -Get a list of all public IPs inside a project. +Get a list of all public IP ranges that STACKIT uses. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param projectId The identifier (ID) of a STACKIT Project. - @return ApiListPublicIPsRequest + @return ApiListPublicIPRangesRequest */ -func (a *APIClient) ListPublicIPs(ctx context.Context, projectId string) ApiListPublicIPsRequest { - return ApiListPublicIPsRequest{ +func (a *APIClient) ListPublicIPRanges(ctx context.Context) ApiListPublicIPRangesRequest { + return ApiListPublicIPRangesRequest{ apiService: a.defaultApi, ctx: ctx, - projectId: projectId, } } -func (a *APIClient) ListPublicIPsExecute(ctx context.Context, projectId string) (*PublicIpListResponse, error) { - r := ApiListPublicIPsRequest{ +func (a *APIClient) ListPublicIPRangesExecute(ctx context.Context) (*PublicNetworkListResponse, error) { + r := ApiListPublicIPRangesRequest{ apiService: a.defaultApi, ctx: ctx, - projectId: projectId, } return r.Execute() } -type ApiListPublicIpRangesRequest struct { - ctx context.Context - apiService *DefaultApiService +type ApiListPublicIPsRequest struct { + ctx context.Context + apiService *DefaultApiService + projectId string + labelSelector *string } -func (r ApiListPublicIpRangesRequest) Execute() (*PublicNetworkListResponse, error) { +// Filter resources by labels. + +func (r ApiListPublicIPsRequest) LabelSelector(labelSelector string) ApiListPublicIPsRequest { + r.labelSelector = &labelSelector + return r +} + +func (r ApiListPublicIPsRequest) Execute() (*PublicIpListResponse, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PublicNetworkListResponse + localVarReturnValue *PublicIpListResponse ) a := r.apiService - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListPublicIpRanges") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ListPublicIPs") if err != nil { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/networks/public-ip-ranges" + localVarPath := localBasePath + "/v1/projects/{projectId}/public-ips" + localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if strlen(r.projectId) < 36 { + return localVarReturnValue, fmt.Errorf("projectId must have at least 36 elements") + } + if strlen(r.projectId) > 36 { + return localVarReturnValue, fmt.Errorf("projectId must have less than 36 elements") + } + if r.labelSelector != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "label_selector", r.labelSelector, "") + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -15234,24 +15242,27 @@ func (r ApiListPublicIpRangesRequest) Execute() (*PublicNetworkListResponse, err } /* -ListPublicIpRanges: List all public IP ranges. +ListPublicIPs: List all public IPs inside a project. -Get a list of all public IP ranges that STACKIT uses. +Get a list of all public IPs inside a project. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiListPublicIpRangesRequest + @param projectId The identifier (ID) of a STACKIT Project. + @return ApiListPublicIPsRequest */ -func (a *APIClient) ListPublicIpRanges(ctx context.Context) ApiListPublicIpRangesRequest { - return ApiListPublicIpRangesRequest{ +func (a *APIClient) ListPublicIPs(ctx context.Context, projectId string) ApiListPublicIPsRequest { + return ApiListPublicIPsRequest{ apiService: a.defaultApi, ctx: ctx, + projectId: projectId, } } -func (a *APIClient) ListPublicIpRangesExecute(ctx context.Context) (*PublicNetworkListResponse, error) { - r := ApiListPublicIpRangesRequest{ +func (a *APIClient) ListPublicIPsExecute(ctx context.Context, projectId string) (*PublicIpListResponse, error) { + r := ApiListPublicIPsRequest{ apiService: a.defaultApi, ctx: ctx, + projectId: projectId, } return r.Execute() } @@ -15275,7 +15286,7 @@ func (r ApiListQuotasRequest) Execute() (*QuotaListResponse, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/quotas" + localVarPath := localBasePath + "/v1/projects/{projectId}/quotas" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarHeaderParams := make(map[string]string) @@ -15453,7 +15464,7 @@ func (r ApiListSecurityGroupRulesRequest) Execute() (*SecurityGroupRuleListRespo return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/security-groups/{securityGroupId}/rules" + localVarPath := localBasePath + "/v1/projects/{projectId}/security-groups/{securityGroupId}/rules" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"securityGroupId"+"}", url.PathEscape(ParameterValueToString(r.securityGroupId, "securityGroupId")), -1) @@ -15648,7 +15659,7 @@ func (r ApiListSecurityGroupsRequest) Execute() (*SecurityGroupListResponse, err return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/security-groups" + localVarPath := localBasePath + "/v1/projects/{projectId}/security-groups" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarHeaderParams := make(map[string]string) @@ -15829,7 +15840,7 @@ func (r ApiListServerNicsRequest) Execute() (*NICListResponse, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/servers/{serverId}/nics" + localVarPath := localBasePath + "/v1/projects/{projectId}/servers/{serverId}/nics" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"serverId"+"}", url.PathEscape(ParameterValueToString(r.serverId, "serverId")), -1) @@ -16017,7 +16028,7 @@ func (r ApiListServerServiceAccountsRequest) Execute() (*ServiceAccountMailListR return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/servers/{serverId}/service-accounts" + localVarPath := localBasePath + "/v1/projects/{projectId}/servers/{serverId}/service-accounts" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"serverId"+"}", url.PathEscape(ParameterValueToString(r.serverId, "serverId")), -1) @@ -16220,7 +16231,7 @@ func (r ApiListServersRequest) Execute() (*ServerListResponse, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/servers" + localVarPath := localBasePath + "/v1/projects/{projectId}/servers" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarHeaderParams := make(map[string]string) @@ -16411,7 +16422,7 @@ func (r ApiListSnapshotsRequest) Execute() (*SnapshotListResponse, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/snapshots" + localVarPath := localBasePath + "/v1/projects/{projectId}/snapshots" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarHeaderParams := make(map[string]string) @@ -16599,7 +16610,7 @@ func (r ApiListVolumePerformanceClassesRequest) Execute() (*VolumePerformanceCla return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/volume-performance-classes" + localVarPath := localBasePath + "/v1/projects/{projectId}/volume-performance-classes" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarHeaderParams := make(map[string]string) @@ -16787,7 +16798,7 @@ func (r ApiListVolumesRequest) Execute() (*VolumeListResponse, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/volumes" + localVarPath := localBasePath + "/v1/projects/{projectId}/volumes" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarHeaderParams := make(map[string]string) @@ -16975,7 +16986,7 @@ func (r ApiPartialUpdateNetworkRequest) Execute() error { return &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/networks/{networkId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/networks/{networkId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"networkId"+"}", url.PathEscape(ParameterValueToString(r.networkId, "networkId")), -1) @@ -17146,7 +17157,7 @@ type ApiPartialUpdateNetworkAreaRequest struct { partialUpdateNetworkAreaPayload *PartialUpdateNetworkAreaPayload } -// Request to update an Area. +// Request to update an area. func (r ApiPartialUpdateNetworkAreaRequest) PartialUpdateNetworkAreaPayload(partialUpdateNetworkAreaPayload PartialUpdateNetworkAreaPayload) ApiPartialUpdateNetworkAreaRequest { r.partialUpdateNetworkAreaPayload = &partialUpdateNetworkAreaPayload @@ -17166,7 +17177,7 @@ func (r ApiPartialUpdateNetworkAreaRequest) Execute() (*NetworkArea, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/organizations/{organizationId}/network-areas/{areaId}" + localVarPath := localBasePath + "/v1/organizations/{organizationId}/network-areas/{areaId}" localVarPath = strings.Replace(localVarPath, "{"+"organizationId"+"}", url.PathEscape(ParameterValueToString(r.organizationId, "organizationId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"areaId"+"}", url.PathEscape(ParameterValueToString(r.areaId, "areaId")), -1) @@ -17366,7 +17377,7 @@ func (r ApiRebootServerRequest) Execute() error { return &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/servers/{serverId}/reboot" + localVarPath := localBasePath + "/v1/projects/{projectId}/servers/{serverId}/reboot" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"serverId"+"}", url.PathEscape(ParameterValueToString(r.serverId, "serverId")), -1) @@ -17558,7 +17569,7 @@ func (r ApiRemoveNetworkFromServerRequest) Execute() error { return &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/servers/{serverId}/networks/{networkId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/servers/{serverId}/networks/{networkId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"serverId"+"}", url.PathEscape(ParameterValueToString(r.serverId, "serverId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"networkId"+"}", url.PathEscape(ParameterValueToString(r.networkId, "networkId")), -1) @@ -17746,7 +17757,7 @@ func (r ApiRemoveNicFromServerRequest) Execute() error { return &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/servers/{serverId}/nics/{nicId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/servers/{serverId}/nics/{nicId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"serverId"+"}", url.PathEscape(ParameterValueToString(r.serverId, "serverId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"nicId"+"}", url.PathEscape(ParameterValueToString(r.nicId, "nicId")), -1) @@ -17934,7 +17945,7 @@ func (r ApiRemovePublicIpFromServerRequest) Execute() error { return &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/servers/{serverId}/public-ips/{publicIpId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/servers/{serverId}/public-ips/{publicIpId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"serverId"+"}", url.PathEscape(ParameterValueToString(r.serverId, "serverId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"publicIpId"+"}", url.PathEscape(ParameterValueToString(r.publicIpId, "publicIpId")), -1) @@ -18133,7 +18144,7 @@ func (r ApiRemoveSecurityGroupFromServerRequest) Execute() error { return &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/servers/{serverId}/security-groups/{securityGroupId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/servers/{serverId}/security-groups/{securityGroupId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"serverId"+"}", url.PathEscape(ParameterValueToString(r.serverId, "serverId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"securityGroupId"+"}", url.PathEscape(ParameterValueToString(r.securityGroupId, "securityGroupId")), -1) @@ -18333,7 +18344,7 @@ func (r ApiRemoveServiceAccountFromServerRequest) Execute() (*ServiceAccountMail return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/servers/{serverId}/service-accounts/{serviceAccountMail}" + localVarPath := localBasePath + "/v1/projects/{projectId}/servers/{serverId}/service-accounts/{serviceAccountMail}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"serverId"+"}", url.PathEscape(ParameterValueToString(r.serverId, "serverId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"serviceAccountMail"+"}", url.PathEscape(ParameterValueToString(r.serviceAccountMail, "serviceAccountMail")), -1) @@ -18539,7 +18550,7 @@ func (r ApiRemoveVolumeFromServerRequest) Execute() error { return &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/servers/{serverId}/volume-attachments/{volumeId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/servers/{serverId}/volume-attachments/{volumeId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"serverId"+"}", url.PathEscape(ParameterValueToString(r.serverId, "serverId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"volumeId"+"}", url.PathEscape(ParameterValueToString(r.volumeId, "volumeId")), -1) @@ -18745,7 +18756,7 @@ func (r ApiRescueServerRequest) Execute() error { return &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/servers/{serverId}/rescue" + localVarPath := localBasePath + "/v1/projects/{projectId}/servers/{serverId}/rescue" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"serverId"+"}", url.PathEscape(ParameterValueToString(r.serverId, "serverId")), -1) @@ -18946,7 +18957,7 @@ func (r ApiResizeServerRequest) Execute() error { return &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/servers/{serverId}/resize" + localVarPath := localBasePath + "/v1/projects/{projectId}/servers/{serverId}/resize" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"serverId"+"}", url.PathEscape(ParameterValueToString(r.serverId, "serverId")), -1) @@ -19147,7 +19158,7 @@ func (r ApiResizeVolumeRequest) Execute() error { return &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/volumes/{volumeId}/resize" + localVarPath := localBasePath + "/v1/projects/{projectId}/volumes/{volumeId}/resize" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"volumeId"+"}", url.PathEscape(ParameterValueToString(r.volumeId, "volumeId")), -1) @@ -19337,7 +19348,7 @@ func (r ApiRestoreBackupRequest) Execute() error { return &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/backups/{backupId}/restore" + localVarPath := localBasePath + "/v1/projects/{projectId}/backups/{backupId}/restore" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"backupId"+"}", url.PathEscape(ParameterValueToString(r.backupId, "backupId")), -1) @@ -19523,7 +19534,7 @@ func (r ApiSetImageShareRequest) Execute() (*ImageShare, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/images/{imageId}/share" + localVarPath := localBasePath + "/v1/projects/{projectId}/images/{imageId}/share" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"imageId"+"}", url.PathEscape(ParameterValueToString(r.imageId, "imageId")), -1) @@ -19715,7 +19726,7 @@ func (r ApiStartServerRequest) Execute() error { return &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/servers/{serverId}/start" + localVarPath := localBasePath + "/v1/projects/{projectId}/servers/{serverId}/start" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"serverId"+"}", url.PathEscape(ParameterValueToString(r.serverId, "serverId")), -1) @@ -19903,7 +19914,7 @@ func (r ApiStopServerRequest) Execute() error { return &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/servers/{serverId}/stop" + localVarPath := localBasePath + "/v1/projects/{projectId}/servers/{serverId}/stop" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"serverId"+"}", url.PathEscape(ParameterValueToString(r.serverId, "serverId")), -1) @@ -20091,7 +20102,7 @@ func (r ApiUnrescueServerRequest) Execute() error { return &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/servers/{serverId}/unrescue" + localVarPath := localBasePath + "/v1/projects/{projectId}/servers/{serverId}/unrescue" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"serverId"+"}", url.PathEscape(ParameterValueToString(r.serverId, "serverId")), -1) @@ -20289,7 +20300,7 @@ func (r ApiUpdateAttachedVolumeRequest) Execute() (*VolumeAttachment, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/servers/{serverId}/volume-attachments/{volumeId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/servers/{serverId}/volume-attachments/{volumeId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"serverId"+"}", url.PathEscape(ParameterValueToString(r.serverId, "serverId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"volumeId"+"}", url.PathEscape(ParameterValueToString(r.volumeId, "volumeId")), -1) @@ -20500,7 +20511,7 @@ func (r ApiUpdateBackupRequest) Execute() (*Backup, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/backups/{backupId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/backups/{backupId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"backupId"+"}", url.PathEscape(ParameterValueToString(r.backupId, "backupId")), -1) @@ -20701,7 +20712,7 @@ func (r ApiUpdateImageRequest) Execute() (*Image, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/images/{imageId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/images/{imageId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"imageId"+"}", url.PathEscape(ParameterValueToString(r.imageId, "imageId")), -1) @@ -20894,7 +20905,7 @@ func (r ApiUpdateImageScopeLocalRequest) Execute() (*Image, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/images/{imageId}/publish" + localVarPath := localBasePath + "/v1/projects/{projectId}/images/{imageId}/publish" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"imageId"+"}", url.PathEscape(ParameterValueToString(r.imageId, "imageId")), -1) @@ -21082,7 +21093,7 @@ func (r ApiUpdateImageScopePublicRequest) Execute() (*Image, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/images/{imageId}/publish" + localVarPath := localBasePath + "/v1/projects/{projectId}/images/{imageId}/publish" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"imageId"+"}", url.PathEscape(ParameterValueToString(r.imageId, "imageId")), -1) @@ -21278,7 +21289,7 @@ func (r ApiUpdateImageShareRequest) Execute() (*ImageShare, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/images/{imageId}/share" + localVarPath := localBasePath + "/v1/projects/{projectId}/images/{imageId}/share" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"imageId"+"}", url.PathEscape(ParameterValueToString(r.imageId, "imageId")), -1) @@ -21478,7 +21489,7 @@ func (r ApiUpdateKeyPairRequest) Execute() (*Keypair, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/keypairs/{keypairName}" + localVarPath := localBasePath + "/v1/keypairs/{keypairName}" localVarPath = strings.Replace(localVarPath, "{"+"keypairName"+"}", url.PathEscape(ParameterValueToString(r.keypairName, "keypairName")), -1) localVarHeaderParams := make(map[string]string) @@ -21667,7 +21678,7 @@ func (r ApiUpdateNetworkAreaRouteRequest) Execute() (*Route, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/organizations/{organizationId}/network-areas/{areaId}/routes/{routeId}" + localVarPath := localBasePath + "/v1/organizations/{organizationId}/network-areas/{areaId}/routes/{routeId}" localVarPath = strings.Replace(localVarPath, "{"+"organizationId"+"}", url.PathEscape(ParameterValueToString(r.organizationId, "organizationId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"areaId"+"}", url.PathEscape(ParameterValueToString(r.areaId, "areaId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"routeId"+"}", url.PathEscape(ParameterValueToString(r.routeId, "routeId")), -1) @@ -21879,7 +21890,7 @@ func (r ApiUpdateNicRequest) Execute() (*NIC, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/networks/{networkId}/nics/{nicId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/networks/{networkId}/nics/{nicId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"networkId"+"}", url.PathEscape(ParameterValueToString(r.networkId, "networkId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"nicId"+"}", url.PathEscape(ParameterValueToString(r.nicId, "nicId")), -1) @@ -22101,7 +22112,7 @@ func (r ApiUpdatePublicIPRequest) Execute() (*PublicIp, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/public-ips/{publicIpId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/public-ips/{publicIpId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"publicIpId"+"}", url.PathEscape(ParameterValueToString(r.publicIpId, "publicIpId")), -1) @@ -22302,7 +22313,7 @@ func (r ApiUpdateSecurityGroupRequest) Execute() (*SecurityGroup, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/security-groups/{securityGroupId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/security-groups/{securityGroupId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"securityGroupId"+"}", url.PathEscape(ParameterValueToString(r.securityGroupId, "securityGroupId")), -1) @@ -22503,7 +22514,7 @@ func (r ApiUpdateServerRequest) Execute() (*Server, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/servers/{serverId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/servers/{serverId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"serverId"+"}", url.PathEscape(ParameterValueToString(r.serverId, "serverId")), -1) @@ -22704,7 +22715,7 @@ func (r ApiUpdateSnapshotRequest) Execute() (*Snapshot, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/snapshots/{snapshotId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/snapshots/{snapshotId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"snapshotId"+"}", url.PathEscape(ParameterValueToString(r.snapshotId, "snapshotId")), -1) @@ -22905,7 +22916,7 @@ func (r ApiUpdateVolumeRequest) Execute() (*Volume, error) { return localVarReturnValue, &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} } - localVarPath := localBasePath + "/v1beta1/projects/{projectId}/volumes/{volumeId}" + localVarPath := localBasePath + "/v1/projects/{projectId}/volumes/{volumeId}" localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(r.projectId, "projectId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"volumeId"+"}", url.PathEscape(ParameterValueToString(r.volumeId, "volumeId")), -1) diff --git a/services/iaas/api_default_test.go b/services/iaas/api_default_test.go index 922119997..e764047bb 100644 --- a/services/iaas/api_default_test.go +++ b/services/iaas/api_default_test.go @@ -25,7 +25,7 @@ import ( func Test_iaas_DefaultApiService(t *testing.T) { t.Run("Test DefaultApiService AddNetworkToServer", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/servers/{serverId}/networks/{networkId}" + _apiUrlPath := "/v1/projects/{projectId}/servers/{serverId}/networks/{networkId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) serverIdValue := uuid.NewString() @@ -77,7 +77,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService AddNicToServer", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/servers/{serverId}/nics/{nicId}" + _apiUrlPath := "/v1/projects/{projectId}/servers/{serverId}/nics/{nicId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) serverIdValue := uuid.NewString() @@ -129,7 +129,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService AddPublicIpToServer", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/servers/{serverId}/public-ips/{publicIpId}" + _apiUrlPath := "/v1/projects/{projectId}/servers/{serverId}/public-ips/{publicIpId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) serverIdValue := uuid.NewString() @@ -181,7 +181,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService AddSecurityGroupToServer", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/servers/{serverId}/security-groups/{securityGroupId}" + _apiUrlPath := "/v1/projects/{projectId}/servers/{serverId}/security-groups/{securityGroupId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) serverIdValue := uuid.NewString() @@ -233,7 +233,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService AddServiceAccountToServer", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/servers/{serverId}/service-accounts/{serviceAccountMail}" + _apiUrlPath := "/v1/projects/{projectId}/servers/{serverId}/service-accounts/{serviceAccountMail}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) serverIdValue := uuid.NewString() @@ -291,7 +291,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService AddVolumeToServer", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/servers/{serverId}/volume-attachments/{volumeId}" + _apiUrlPath := "/v1/projects/{projectId}/servers/{serverId}/volume-attachments/{volumeId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) serverIdValue := uuid.NewString() @@ -349,7 +349,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService CreateAffinityGroup", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/affinity-groups" + _apiUrlPath := "/v1/projects/{projectId}/affinity-groups" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) @@ -402,7 +402,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService CreateBackup", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/backups" + _apiUrlPath := "/v1/projects/{projectId}/backups" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) @@ -455,7 +455,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService CreateImage", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/images" + _apiUrlPath := "/v1/projects/{projectId}/images" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) @@ -508,7 +508,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService CreateKeyPair", func(t *testing.T) { - _apiUrlPath := "/v1beta1/keypairs" + _apiUrlPath := "/v1/keypairs" testDefaultApiServeMux := http.NewServeMux() testDefaultApiServeMux.HandleFunc(_apiUrlPath, func(w http.ResponseWriter, req *http.Request) { @@ -558,7 +558,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService CreateNetwork", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/networks" + _apiUrlPath := "/v1/projects/{projectId}/networks" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) @@ -611,7 +611,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService CreateNetworkArea", func(t *testing.T) { - _apiUrlPath := "/v1beta1/organizations/{organizationId}/network-areas" + _apiUrlPath := "/v1/organizations/{organizationId}/network-areas" organizationIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"organizationId"+"}", url.PathEscape(ParameterValueToString(organizationIdValue, "organizationId")), -1) @@ -664,7 +664,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService CreateNetworkAreaRange", func(t *testing.T) { - _apiUrlPath := "/v1beta1/organizations/{organizationId}/network-areas/{areaId}/network-ranges" + _apiUrlPath := "/v1/organizations/{organizationId}/network-areas/{areaId}/network-ranges" organizationIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"organizationId"+"}", url.PathEscape(ParameterValueToString(organizationIdValue, "organizationId")), -1) areaIdValue := uuid.NewString() @@ -720,7 +720,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService CreateNetworkAreaRoute", func(t *testing.T) { - _apiUrlPath := "/v1beta1/organizations/{organizationId}/network-areas/{areaId}/routes" + _apiUrlPath := "/v1/organizations/{organizationId}/network-areas/{areaId}/routes" organizationIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"organizationId"+"}", url.PathEscape(ParameterValueToString(organizationIdValue, "organizationId")), -1) areaIdValue := uuid.NewString() @@ -776,7 +776,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService CreateNic", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/networks/{networkId}/nics" + _apiUrlPath := "/v1/projects/{projectId}/networks/{networkId}/nics" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) networkIdValue := uuid.NewString() @@ -832,7 +832,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService CreatePublicIP", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/public-ips" + _apiUrlPath := "/v1/projects/{projectId}/public-ips" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) @@ -885,7 +885,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService CreateSecurityGroup", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/security-groups" + _apiUrlPath := "/v1/projects/{projectId}/security-groups" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) @@ -938,7 +938,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService CreateSecurityGroupRule", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/security-groups/{securityGroupId}/rules" + _apiUrlPath := "/v1/projects/{projectId}/security-groups/{securityGroupId}/rules" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) securityGroupIdValue := uuid.NewString() @@ -994,7 +994,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService CreateServer", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/servers" + _apiUrlPath := "/v1/projects/{projectId}/servers" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) @@ -1047,7 +1047,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService CreateSnapshot", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/snapshots" + _apiUrlPath := "/v1/projects/{projectId}/snapshots" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) @@ -1100,7 +1100,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService CreateVolume", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/volumes" + _apiUrlPath := "/v1/projects/{projectId}/volumes" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) @@ -1153,7 +1153,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService DeallocateServer", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/servers/{serverId}/deallocate" + _apiUrlPath := "/v1/projects/{projectId}/servers/{serverId}/deallocate" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) serverIdValue := uuid.NewString() @@ -1202,7 +1202,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService DeleteAffinityGroup", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/affinity-groups/{affinityGroupId}" + _apiUrlPath := "/v1/projects/{projectId}/affinity-groups/{affinityGroupId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) affinityGroupIdValue := uuid.NewString() @@ -1251,7 +1251,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService DeleteBackup", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/backups/{backupId}" + _apiUrlPath := "/v1/projects/{projectId}/backups/{backupId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) backupIdValue := uuid.NewString() @@ -1300,7 +1300,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService DeleteImage", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/images/{imageId}" + _apiUrlPath := "/v1/projects/{projectId}/images/{imageId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) imageIdValue := uuid.NewString() @@ -1349,7 +1349,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService DeleteImageShare", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/images/{imageId}/share" + _apiUrlPath := "/v1/projects/{projectId}/images/{imageId}/share" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) imageIdValue := uuid.NewString() @@ -1398,7 +1398,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService DeleteImageShareConsumer", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/images/{imageId}/share/{consumerProjectId}" + _apiUrlPath := "/v1/projects/{projectId}/images/{imageId}/share/{consumerProjectId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) imageIdValue := uuid.NewString() @@ -1450,7 +1450,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService DeleteKeyPair", func(t *testing.T) { - _apiUrlPath := "/v1beta1/keypairs/{keypairName}" + _apiUrlPath := "/v1/keypairs/{keypairName}" keypairNameValue := "keypairName" _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"keypairName"+"}", url.PathEscape(ParameterValueToString(keypairNameValue, "keypairName")), -1) @@ -1496,7 +1496,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService DeleteNetwork", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/networks/{networkId}" + _apiUrlPath := "/v1/projects/{projectId}/networks/{networkId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) networkIdValue := uuid.NewString() @@ -1545,7 +1545,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService DeleteNetworkArea", func(t *testing.T) { - _apiUrlPath := "/v1beta1/organizations/{organizationId}/network-areas/{areaId}" + _apiUrlPath := "/v1/organizations/{organizationId}/network-areas/{areaId}" organizationIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"organizationId"+"}", url.PathEscape(ParameterValueToString(organizationIdValue, "organizationId")), -1) areaIdValue := uuid.NewString() @@ -1594,7 +1594,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService DeleteNetworkAreaRange", func(t *testing.T) { - _apiUrlPath := "/v1beta1/organizations/{organizationId}/network-areas/{areaId}/network-ranges/{networkRangeId}" + _apiUrlPath := "/v1/organizations/{organizationId}/network-areas/{areaId}/network-ranges/{networkRangeId}" organizationIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"organizationId"+"}", url.PathEscape(ParameterValueToString(organizationIdValue, "organizationId")), -1) areaIdValue := uuid.NewString() @@ -1646,7 +1646,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService DeleteNetworkAreaRoute", func(t *testing.T) { - _apiUrlPath := "/v1beta1/organizations/{organizationId}/network-areas/{areaId}/routes/{routeId}" + _apiUrlPath := "/v1/organizations/{organizationId}/network-areas/{areaId}/routes/{routeId}" organizationIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"organizationId"+"}", url.PathEscape(ParameterValueToString(organizationIdValue, "organizationId")), -1) areaIdValue := uuid.NewString() @@ -1698,7 +1698,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService DeleteNic", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/networks/{networkId}/nics/{nicId}" + _apiUrlPath := "/v1/projects/{projectId}/networks/{networkId}/nics/{nicId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) networkIdValue := uuid.NewString() @@ -1750,7 +1750,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService DeletePublicIP", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/public-ips/{publicIpId}" + _apiUrlPath := "/v1/projects/{projectId}/public-ips/{publicIpId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) publicIpIdValue := uuid.NewString() @@ -1799,7 +1799,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService DeleteSecurityGroup", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/security-groups/{securityGroupId}" + _apiUrlPath := "/v1/projects/{projectId}/security-groups/{securityGroupId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) securityGroupIdValue := uuid.NewString() @@ -1848,7 +1848,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService DeleteSecurityGroupRule", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/security-groups/{securityGroupId}/rules/{securityGroupRuleId}" + _apiUrlPath := "/v1/projects/{projectId}/security-groups/{securityGroupId}/rules/{securityGroupRuleId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) securityGroupIdValue := uuid.NewString() @@ -1900,7 +1900,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService DeleteServer", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/servers/{serverId}" + _apiUrlPath := "/v1/projects/{projectId}/servers/{serverId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) serverIdValue := uuid.NewString() @@ -1949,7 +1949,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService DeleteSnapshot", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/snapshots/{snapshotId}" + _apiUrlPath := "/v1/projects/{projectId}/snapshots/{snapshotId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) snapshotIdValue := uuid.NewString() @@ -1998,7 +1998,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService DeleteVolume", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/volumes/{volumeId}" + _apiUrlPath := "/v1/projects/{projectId}/volumes/{volumeId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) volumeIdValue := uuid.NewString() @@ -2047,7 +2047,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService GetAffinityGroup", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/affinity-groups/{affinityGroupId}" + _apiUrlPath := "/v1/projects/{projectId}/affinity-groups/{affinityGroupId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) affinityGroupIdValue := uuid.NewString() @@ -2102,7 +2102,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService GetAttachedVolume", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/servers/{serverId}/volume-attachments/{volumeId}" + _apiUrlPath := "/v1/projects/{projectId}/servers/{serverId}/volume-attachments/{volumeId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) serverIdValue := uuid.NewString() @@ -2160,7 +2160,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService GetBackup", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/backups/{backupId}" + _apiUrlPath := "/v1/projects/{projectId}/backups/{backupId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) backupIdValue := uuid.NewString() @@ -2215,7 +2215,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService GetImage", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/images/{imageId}" + _apiUrlPath := "/v1/projects/{projectId}/images/{imageId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) imageIdValue := uuid.NewString() @@ -2270,7 +2270,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService GetImageShare", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/images/{imageId}/share" + _apiUrlPath := "/v1/projects/{projectId}/images/{imageId}/share" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) imageIdValue := uuid.NewString() @@ -2325,7 +2325,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService GetImageShareConsumer", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/images/{imageId}/share/{consumerProjectId}" + _apiUrlPath := "/v1/projects/{projectId}/images/{imageId}/share/{consumerProjectId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) imageIdValue := uuid.NewString() @@ -2383,7 +2383,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService GetKeyPair", func(t *testing.T) { - _apiUrlPath := "/v1beta1/keypairs/{keypairName}" + _apiUrlPath := "/v1/keypairs/{keypairName}" keypairNameValue := "keypairName" _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"keypairName"+"}", url.PathEscape(ParameterValueToString(keypairNameValue, "keypairName")), -1) @@ -2435,7 +2435,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService GetMachineType", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/machine-types/{machineType}" + _apiUrlPath := "/v1/projects/{projectId}/machine-types/{machineType}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) machineTypeValue := "machineType" @@ -2490,7 +2490,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService GetNetwork", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/networks/{networkId}" + _apiUrlPath := "/v1/projects/{projectId}/networks/{networkId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) networkIdValue := uuid.NewString() @@ -2545,7 +2545,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService GetNetworkArea", func(t *testing.T) { - _apiUrlPath := "/v1beta1/organizations/{organizationId}/network-areas/{areaId}" + _apiUrlPath := "/v1/organizations/{organizationId}/network-areas/{areaId}" organizationIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"organizationId"+"}", url.PathEscape(ParameterValueToString(organizationIdValue, "organizationId")), -1) areaIdValue := uuid.NewString() @@ -2600,7 +2600,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService GetNetworkAreaRange", func(t *testing.T) { - _apiUrlPath := "/v1beta1/organizations/{organizationId}/network-areas/{areaId}/network-ranges/{networkRangeId}" + _apiUrlPath := "/v1/organizations/{organizationId}/network-areas/{areaId}/network-ranges/{networkRangeId}" organizationIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"organizationId"+"}", url.PathEscape(ParameterValueToString(organizationIdValue, "organizationId")), -1) areaIdValue := uuid.NewString() @@ -2658,7 +2658,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService GetNetworkAreaRoute", func(t *testing.T) { - _apiUrlPath := "/v1beta1/organizations/{organizationId}/network-areas/{areaId}/routes/{routeId}" + _apiUrlPath := "/v1/organizations/{organizationId}/network-areas/{areaId}/routes/{routeId}" organizationIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"organizationId"+"}", url.PathEscape(ParameterValueToString(organizationIdValue, "organizationId")), -1) areaIdValue := uuid.NewString() @@ -2716,7 +2716,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService GetNic", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/networks/{networkId}/nics/{nicId}" + _apiUrlPath := "/v1/projects/{projectId}/networks/{networkId}/nics/{nicId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) networkIdValue := uuid.NewString() @@ -2774,7 +2774,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService GetOrganizationRequest", func(t *testing.T) { - _apiUrlPath := "/v1beta1/organizations/{organizationId}/requests/{requestId}" + _apiUrlPath := "/v1/organizations/{organizationId}/requests/{requestId}" organizationIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"organizationId"+"}", url.PathEscape(ParameterValueToString(organizationIdValue, "organizationId")), -1) requestIdValue := "requestId" @@ -2829,7 +2829,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService GetProjectNIC", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/nics/{nicId}" + _apiUrlPath := "/v1/projects/{projectId}/nics/{nicId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) nicIdValue := uuid.NewString() @@ -2884,7 +2884,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService GetProjectRequest", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/requests/{requestId}" + _apiUrlPath := "/v1/projects/{projectId}/requests/{requestId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) requestIdValue := "requestId" @@ -2939,7 +2939,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService GetPublicIP", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/public-ips/{publicIpId}" + _apiUrlPath := "/v1/projects/{projectId}/public-ips/{publicIpId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) publicIpIdValue := uuid.NewString() @@ -2994,7 +2994,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService GetSecurityGroup", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/security-groups/{securityGroupId}" + _apiUrlPath := "/v1/projects/{projectId}/security-groups/{securityGroupId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) securityGroupIdValue := uuid.NewString() @@ -3049,7 +3049,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService GetSecurityGroupRule", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/security-groups/{securityGroupId}/rules/{securityGroupRuleId}" + _apiUrlPath := "/v1/projects/{projectId}/security-groups/{securityGroupId}/rules/{securityGroupRuleId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) securityGroupIdValue := uuid.NewString() @@ -3107,7 +3107,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService GetServer", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/servers/{serverId}" + _apiUrlPath := "/v1/projects/{projectId}/servers/{serverId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) serverIdValue := uuid.NewString() @@ -3162,7 +3162,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService GetServerConsole", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/servers/{serverId}/console" + _apiUrlPath := "/v1/projects/{projectId}/servers/{serverId}/console" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) serverIdValue := uuid.NewString() @@ -3217,7 +3217,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService GetServerLog", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/servers/{serverId}/log" + _apiUrlPath := "/v1/projects/{projectId}/servers/{serverId}/log" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) serverIdValue := uuid.NewString() @@ -3272,7 +3272,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService GetSnapshot", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/snapshots/{snapshotId}" + _apiUrlPath := "/v1/projects/{projectId}/snapshots/{snapshotId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) snapshotIdValue := uuid.NewString() @@ -3327,7 +3327,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService GetVolume", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/volumes/{volumeId}" + _apiUrlPath := "/v1/projects/{projectId}/volumes/{volumeId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) volumeIdValue := uuid.NewString() @@ -3382,7 +3382,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService GetVolumePerformanceClass", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/volume-performance-classes/{volumePerformanceClass}" + _apiUrlPath := "/v1/projects/{projectId}/volume-performance-classes/{volumePerformanceClass}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) volumePerformanceClassValue := "volumePerformanceClass" @@ -3437,7 +3437,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService ListAffinityGroups", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/affinity-groups" + _apiUrlPath := "/v1/projects/{projectId}/affinity-groups" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) @@ -3489,7 +3489,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService ListAttachedVolumes", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/servers/{serverId}/volume-attachments" + _apiUrlPath := "/v1/projects/{projectId}/servers/{serverId}/volume-attachments" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) serverIdValue := uuid.NewString() @@ -3544,7 +3544,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService ListAvailabilityZones", func(t *testing.T) { - _apiUrlPath := "/v1beta1/availability-zones" + _apiUrlPath := "/v1/availability-zones" testDefaultApiServeMux := http.NewServeMux() testDefaultApiServeMux.HandleFunc(_apiUrlPath, func(w http.ResponseWriter, req *http.Request) { @@ -3592,7 +3592,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService ListBackups", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/backups" + _apiUrlPath := "/v1/projects/{projectId}/backups" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) @@ -3644,7 +3644,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService ListImages", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/images" + _apiUrlPath := "/v1/projects/{projectId}/images" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) @@ -3696,7 +3696,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService ListKeyPairs", func(t *testing.T) { - _apiUrlPath := "/v1beta1/keypairs" + _apiUrlPath := "/v1/keypairs" testDefaultApiServeMux := http.NewServeMux() testDefaultApiServeMux.HandleFunc(_apiUrlPath, func(w http.ResponseWriter, req *http.Request) { @@ -3744,7 +3744,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService ListMachineTypes", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/machine-types" + _apiUrlPath := "/v1/projects/{projectId}/machine-types" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) @@ -3796,7 +3796,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService ListNetworkAreaProjects", func(t *testing.T) { - _apiUrlPath := "/v1beta1/organizations/{organizationId}/network-areas/{areaId}/projects" + _apiUrlPath := "/v1/organizations/{organizationId}/network-areas/{areaId}/projects" organizationIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"organizationId"+"}", url.PathEscape(ParameterValueToString(organizationIdValue, "organizationId")), -1) areaIdValue := uuid.NewString() @@ -3851,7 +3851,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService ListNetworkAreaRanges", func(t *testing.T) { - _apiUrlPath := "/v1beta1/organizations/{organizationId}/network-areas/{areaId}/network-ranges" + _apiUrlPath := "/v1/organizations/{organizationId}/network-areas/{areaId}/network-ranges" organizationIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"organizationId"+"}", url.PathEscape(ParameterValueToString(organizationIdValue, "organizationId")), -1) areaIdValue := uuid.NewString() @@ -3906,7 +3906,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService ListNetworkAreaRoutes", func(t *testing.T) { - _apiUrlPath := "/v1beta1/organizations/{organizationId}/network-areas/{areaId}/routes" + _apiUrlPath := "/v1/organizations/{organizationId}/network-areas/{areaId}/routes" organizationIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"organizationId"+"}", url.PathEscape(ParameterValueToString(organizationIdValue, "organizationId")), -1) areaIdValue := uuid.NewString() @@ -3961,7 +3961,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService ListNetworkAreas", func(t *testing.T) { - _apiUrlPath := "/v1beta1/organizations/{organizationId}/network-areas" + _apiUrlPath := "/v1/organizations/{organizationId}/network-areas" organizationIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"organizationId"+"}", url.PathEscape(ParameterValueToString(organizationIdValue, "organizationId")), -1) @@ -4013,7 +4013,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService ListNetworks", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/networks" + _apiUrlPath := "/v1/projects/{projectId}/networks" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) @@ -4065,7 +4065,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService ListNics", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/networks/{networkId}/nics" + _apiUrlPath := "/v1/projects/{projectId}/networks/{networkId}/nics" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) networkIdValue := uuid.NewString() @@ -4120,7 +4120,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService ListProjectNICs", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/nics" + _apiUrlPath := "/v1/projects/{projectId}/nics" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) @@ -4171,14 +4171,12 @@ func Test_iaas_DefaultApiService(t *testing.T) { } }) - t.Run("Test DefaultApiService ListPublicIPs", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/public-ips" - projectIdValue := uuid.NewString() - _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) + t.Run("Test DefaultApiService ListPublicIPRanges", func(t *testing.T) { + _apiUrlPath := "/v1/networks/public-ip-ranges" testDefaultApiServeMux := http.NewServeMux() testDefaultApiServeMux.HandleFunc(_apiUrlPath, func(w http.ResponseWriter, req *http.Request) { - data := PublicIpListResponse{} + data := PublicNetworkListResponse{} w.Header().Add("Content-Type", "application/json") json.NewEncoder(w).Encode(data) }) @@ -4211,9 +4209,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { t.Fatalf("creating API client: %v", err) } - projectId := projectIdValue - - resp, reqErr := apiClient.ListPublicIPs(context.Background(), projectId).Execute() + resp, reqErr := apiClient.ListPublicIPRanges(context.Background()).Execute() if reqErr != nil { t.Fatalf("error in call: %v", reqErr) @@ -4223,12 +4219,14 @@ func Test_iaas_DefaultApiService(t *testing.T) { } }) - t.Run("Test DefaultApiService ListPublicIpRanges", func(t *testing.T) { - _apiUrlPath := "/v1beta1/networks/public-ip-ranges" + t.Run("Test DefaultApiService ListPublicIPs", func(t *testing.T) { + _apiUrlPath := "/v1/projects/{projectId}/public-ips" + projectIdValue := uuid.NewString() + _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) testDefaultApiServeMux := http.NewServeMux() testDefaultApiServeMux.HandleFunc(_apiUrlPath, func(w http.ResponseWriter, req *http.Request) { - data := PublicNetworkListResponse{} + data := PublicIpListResponse{} w.Header().Add("Content-Type", "application/json") json.NewEncoder(w).Encode(data) }) @@ -4261,7 +4259,9 @@ func Test_iaas_DefaultApiService(t *testing.T) { t.Fatalf("creating API client: %v", err) } - resp, reqErr := apiClient.ListPublicIpRanges(context.Background()).Execute() + projectId := projectIdValue + + resp, reqErr := apiClient.ListPublicIPs(context.Background(), projectId).Execute() if reqErr != nil { t.Fatalf("error in call: %v", reqErr) @@ -4272,7 +4272,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService ListQuotas", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/quotas" + _apiUrlPath := "/v1/projects/{projectId}/quotas" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) @@ -4324,7 +4324,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService ListSecurityGroupRules", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/security-groups/{securityGroupId}/rules" + _apiUrlPath := "/v1/projects/{projectId}/security-groups/{securityGroupId}/rules" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) securityGroupIdValue := uuid.NewString() @@ -4379,7 +4379,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService ListSecurityGroups", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/security-groups" + _apiUrlPath := "/v1/projects/{projectId}/security-groups" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) @@ -4431,7 +4431,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService ListServerNics", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/servers/{serverId}/nics" + _apiUrlPath := "/v1/projects/{projectId}/servers/{serverId}/nics" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) serverIdValue := uuid.NewString() @@ -4486,7 +4486,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService ListServerServiceAccounts", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/servers/{serverId}/service-accounts" + _apiUrlPath := "/v1/projects/{projectId}/servers/{serverId}/service-accounts" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) serverIdValue := uuid.NewString() @@ -4541,7 +4541,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService ListServers", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/servers" + _apiUrlPath := "/v1/projects/{projectId}/servers" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) @@ -4593,7 +4593,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService ListSnapshots", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/snapshots" + _apiUrlPath := "/v1/projects/{projectId}/snapshots" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) @@ -4645,7 +4645,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService ListVolumePerformanceClasses", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/volume-performance-classes" + _apiUrlPath := "/v1/projects/{projectId}/volume-performance-classes" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) @@ -4697,7 +4697,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService ListVolumes", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/volumes" + _apiUrlPath := "/v1/projects/{projectId}/volumes" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) @@ -4749,7 +4749,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService PartialUpdateNetwork", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/networks/{networkId}" + _apiUrlPath := "/v1/projects/{projectId}/networks/{networkId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) networkIdValue := uuid.NewString() @@ -4799,7 +4799,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService PartialUpdateNetworkArea", func(t *testing.T) { - _apiUrlPath := "/v1beta1/organizations/{organizationId}/network-areas/{areaId}" + _apiUrlPath := "/v1/organizations/{organizationId}/network-areas/{areaId}" organizationIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"organizationId"+"}", url.PathEscape(ParameterValueToString(organizationIdValue, "organizationId")), -1) areaIdValue := uuid.NewString() @@ -4855,7 +4855,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService RebootServer", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/servers/{serverId}/reboot" + _apiUrlPath := "/v1/projects/{projectId}/servers/{serverId}/reboot" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) serverIdValue := uuid.NewString() @@ -4904,7 +4904,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService RemoveNetworkFromServer", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/servers/{serverId}/networks/{networkId}" + _apiUrlPath := "/v1/projects/{projectId}/servers/{serverId}/networks/{networkId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) serverIdValue := uuid.NewString() @@ -4956,7 +4956,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService RemoveNicFromServer", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/servers/{serverId}/nics/{nicId}" + _apiUrlPath := "/v1/projects/{projectId}/servers/{serverId}/nics/{nicId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) serverIdValue := uuid.NewString() @@ -5008,7 +5008,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService RemovePublicIpFromServer", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/servers/{serverId}/public-ips/{publicIpId}" + _apiUrlPath := "/v1/projects/{projectId}/servers/{serverId}/public-ips/{publicIpId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) serverIdValue := uuid.NewString() @@ -5060,7 +5060,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService RemoveSecurityGroupFromServer", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/servers/{serverId}/security-groups/{securityGroupId}" + _apiUrlPath := "/v1/projects/{projectId}/servers/{serverId}/security-groups/{securityGroupId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) serverIdValue := uuid.NewString() @@ -5112,7 +5112,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService RemoveServiceAccountFromServer", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/servers/{serverId}/service-accounts/{serviceAccountMail}" + _apiUrlPath := "/v1/projects/{projectId}/servers/{serverId}/service-accounts/{serviceAccountMail}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) serverIdValue := uuid.NewString() @@ -5170,7 +5170,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService RemoveVolumeFromServer", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/servers/{serverId}/volume-attachments/{volumeId}" + _apiUrlPath := "/v1/projects/{projectId}/servers/{serverId}/volume-attachments/{volumeId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) serverIdValue := uuid.NewString() @@ -5222,7 +5222,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService RescueServer", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/servers/{serverId}/rescue" + _apiUrlPath := "/v1/projects/{projectId}/servers/{serverId}/rescue" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) serverIdValue := uuid.NewString() @@ -5272,7 +5272,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService ResizeServer", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/servers/{serverId}/resize" + _apiUrlPath := "/v1/projects/{projectId}/servers/{serverId}/resize" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) serverIdValue := uuid.NewString() @@ -5322,7 +5322,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService ResizeVolume", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/volumes/{volumeId}/resize" + _apiUrlPath := "/v1/projects/{projectId}/volumes/{volumeId}/resize" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) volumeIdValue := uuid.NewString() @@ -5371,7 +5371,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService RestoreBackup", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/backups/{backupId}/restore" + _apiUrlPath := "/v1/projects/{projectId}/backups/{backupId}/restore" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) backupIdValue := uuid.NewString() @@ -5420,7 +5420,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService SetImageShare", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/images/{imageId}/share" + _apiUrlPath := "/v1/projects/{projectId}/images/{imageId}/share" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) imageIdValue := uuid.NewString() @@ -5476,7 +5476,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService StartServer", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/servers/{serverId}/start" + _apiUrlPath := "/v1/projects/{projectId}/servers/{serverId}/start" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) serverIdValue := uuid.NewString() @@ -5525,7 +5525,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService StopServer", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/servers/{serverId}/stop" + _apiUrlPath := "/v1/projects/{projectId}/servers/{serverId}/stop" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) serverIdValue := uuid.NewString() @@ -5574,7 +5574,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService UnrescueServer", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/servers/{serverId}/unrescue" + _apiUrlPath := "/v1/projects/{projectId}/servers/{serverId}/unrescue" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) serverIdValue := uuid.NewString() @@ -5623,7 +5623,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService UpdateAttachedVolume", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/servers/{serverId}/volume-attachments/{volumeId}" + _apiUrlPath := "/v1/projects/{projectId}/servers/{serverId}/volume-attachments/{volumeId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) serverIdValue := uuid.NewString() @@ -5682,7 +5682,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService UpdateBackup", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/backups/{backupId}" + _apiUrlPath := "/v1/projects/{projectId}/backups/{backupId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) backupIdValue := uuid.NewString() @@ -5738,7 +5738,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService UpdateImage", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/images/{imageId}" + _apiUrlPath := "/v1/projects/{projectId}/images/{imageId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) imageIdValue := uuid.NewString() @@ -5794,7 +5794,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService UpdateImageScopeLocal", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/images/{imageId}/publish" + _apiUrlPath := "/v1/projects/{projectId}/images/{imageId}/publish" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) imageIdValue := uuid.NewString() @@ -5849,7 +5849,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService UpdateImageScopePublic", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/images/{imageId}/publish" + _apiUrlPath := "/v1/projects/{projectId}/images/{imageId}/publish" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) imageIdValue := uuid.NewString() @@ -5904,7 +5904,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService UpdateImageShare", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/images/{imageId}/share" + _apiUrlPath := "/v1/projects/{projectId}/images/{imageId}/share" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) imageIdValue := uuid.NewString() @@ -5960,7 +5960,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService UpdateKeyPair", func(t *testing.T) { - _apiUrlPath := "/v1beta1/keypairs/{keypairName}" + _apiUrlPath := "/v1/keypairs/{keypairName}" keypairNameValue := "keypairName" _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"keypairName"+"}", url.PathEscape(ParameterValueToString(keypairNameValue, "keypairName")), -1) @@ -6013,7 +6013,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService UpdateNetworkAreaRoute", func(t *testing.T) { - _apiUrlPath := "/v1beta1/organizations/{organizationId}/network-areas/{areaId}/routes/{routeId}" + _apiUrlPath := "/v1/organizations/{organizationId}/network-areas/{areaId}/routes/{routeId}" organizationIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"organizationId"+"}", url.PathEscape(ParameterValueToString(organizationIdValue, "organizationId")), -1) areaIdValue := uuid.NewString() @@ -6072,7 +6072,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService UpdateNic", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/networks/{networkId}/nics/{nicId}" + _apiUrlPath := "/v1/projects/{projectId}/networks/{networkId}/nics/{nicId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) networkIdValue := uuid.NewString() @@ -6131,7 +6131,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService UpdatePublicIP", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/public-ips/{publicIpId}" + _apiUrlPath := "/v1/projects/{projectId}/public-ips/{publicIpId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) publicIpIdValue := uuid.NewString() @@ -6187,7 +6187,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService UpdateSecurityGroup", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/security-groups/{securityGroupId}" + _apiUrlPath := "/v1/projects/{projectId}/security-groups/{securityGroupId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) securityGroupIdValue := uuid.NewString() @@ -6243,7 +6243,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService UpdateServer", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/servers/{serverId}" + _apiUrlPath := "/v1/projects/{projectId}/servers/{serverId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) serverIdValue := uuid.NewString() @@ -6299,7 +6299,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService UpdateSnapshot", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/snapshots/{snapshotId}" + _apiUrlPath := "/v1/projects/{projectId}/snapshots/{snapshotId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) snapshotIdValue := uuid.NewString() @@ -6355,7 +6355,7 @@ func Test_iaas_DefaultApiService(t *testing.T) { }) t.Run("Test DefaultApiService UpdateVolume", func(t *testing.T) { - _apiUrlPath := "/v1beta1/projects/{projectId}/volumes/{volumeId}" + _apiUrlPath := "/v1/projects/{projectId}/volumes/{volumeId}" projectIdValue := uuid.NewString() _apiUrlPath = strings.Replace(_apiUrlPath, "{"+"projectId"+"}", url.PathEscape(ParameterValueToString(projectIdValue, "projectId")), -1) volumeIdValue := uuid.NewString() diff --git a/services/iaas/client.go b/services/iaas/client.go index 7034a362a..888a2a99b 100644 --- a/services/iaas/client.go +++ b/services/iaas/client.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -42,7 +42,7 @@ var ( queryDescape = strings.NewReplacer("%5B", "[", "%5D", "]") ) -// APIClient manages communication with the IaaS-API API v1beta1 +// APIClient manages communication with the IaaS-API API v1 // In most cases there should be only one, shared, APIClient. type APIClient struct { cfg *config.Configuration diff --git a/services/iaas/configuration.go b/services/iaas/configuration.go index e91b9f64c..e81f69065 100644 --- a/services/iaas/configuration.go +++ b/services/iaas/configuration.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_add_volume_to_server_payload.go b/services/iaas/model_add_volume_to_server_payload.go index bf3145955..5c50e14b0 100644 --- a/services/iaas/model_add_volume_to_server_payload.go +++ b/services/iaas/model_add_volume_to_server_payload.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_affinity_group.go b/services/iaas/model_affinity_group.go index b0906fa53..d51659318 100644 --- a/services/iaas/model_affinity_group.go +++ b/services/iaas/model_affinity_group.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_affinity_group_list_response.go b/services/iaas/model_affinity_group_list_response.go index d8c177dbc..e5256c9dd 100644 --- a/services/iaas/model_affinity_group_list_response.go +++ b/services/iaas/model_affinity_group_list_response.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_allowed_addresses_inner.go b/services/iaas/model_allowed_addresses_inner.go index d46b83031..4caed6179 100644 --- a/services/iaas/model_allowed_addresses_inner.go +++ b/services/iaas/model_allowed_addresses_inner.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_area.go b/services/iaas/model_area.go index 8bf723131..4c3138b6b 100644 --- a/services/iaas/model_area.go +++ b/services/iaas/model_area.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_area_config.go b/services/iaas/model_area_config.go index e080e34f0..053f47cc9 100644 --- a/services/iaas/model_area_config.go +++ b/services/iaas/model_area_config.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_area_prefix_config_ipv4.go b/services/iaas/model_area_prefix_config_ipv4.go index 38e9110f5..dfe006bfd 100644 --- a/services/iaas/model_area_prefix_config_ipv4.go +++ b/services/iaas/model_area_prefix_config_ipv4.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_availability_zone_list_response.go b/services/iaas/model_availability_zone_list_response.go index 61db846cd..94c14f45d 100644 --- a/services/iaas/model_availability_zone_list_response.go +++ b/services/iaas/model_availability_zone_list_response.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_backup.go b/services/iaas/model_backup.go index 419c228b0..56a13c25a 100644 --- a/services/iaas/model_backup.go +++ b/services/iaas/model_backup.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_backup_list_response.go b/services/iaas/model_backup_list_response.go index 1ae74018b..a717dd57e 100644 --- a/services/iaas/model_backup_list_response.go +++ b/services/iaas/model_backup_list_response.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_backup_source.go b/services/iaas/model_backup_source.go index 70f9b30f8..d46d97b05 100644 --- a/services/iaas/model_backup_source.go +++ b/services/iaas/model_backup_source.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_base_security_group_rule.go b/services/iaas/model_base_security_group_rule.go index 378a32877..563a3ee05 100644 --- a/services/iaas/model_base_security_group_rule.go +++ b/services/iaas/model_base_security_group_rule.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_boot_volume.go b/services/iaas/model_boot_volume.go index c4140dc06..c7a875502 100644 --- a/services/iaas/model_boot_volume.go +++ b/services/iaas/model_boot_volume.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_boot_volume_source.go b/services/iaas/model_boot_volume_source.go index 3012619b7..d1532a0cc 100644 --- a/services/iaas/model_boot_volume_source.go +++ b/services/iaas/model_boot_volume_source.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_create_affinity_group_payload.go b/services/iaas/model_create_affinity_group_payload.go index 5875c2173..0662b461c 100644 --- a/services/iaas/model_create_affinity_group_payload.go +++ b/services/iaas/model_create_affinity_group_payload.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_create_area_address_family.go b/services/iaas/model_create_area_address_family.go index a85f6cd69..7d271dc59 100644 --- a/services/iaas/model_create_area_address_family.go +++ b/services/iaas/model_create_area_address_family.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_create_area_ipv4.go b/services/iaas/model_create_area_ipv4.go index 370dd9aad..f98bb2cd2 100644 --- a/services/iaas/model_create_area_ipv4.go +++ b/services/iaas/model_create_area_ipv4.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_create_backup_payload.go b/services/iaas/model_create_backup_payload.go index f6413e8c6..95c627c28 100644 --- a/services/iaas/model_create_backup_payload.go +++ b/services/iaas/model_create_backup_payload.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_create_image_payload.go b/services/iaas/model_create_image_payload.go index 29b708dce..2a1f37661 100644 --- a/services/iaas/model_create_image_payload.go +++ b/services/iaas/model_create_image_payload.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_create_key_pair_payload.go b/services/iaas/model_create_key_pair_payload.go index a151d3124..8cc3e1f06 100644 --- a/services/iaas/model_create_key_pair_payload.go +++ b/services/iaas/model_create_key_pair_payload.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_create_network_address_family.go b/services/iaas/model_create_network_address_family.go index 4d16f5e85..8c01bd6df 100644 --- a/services/iaas/model_create_network_address_family.go +++ b/services/iaas/model_create_network_address_family.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_create_network_area_payload.go b/services/iaas/model_create_network_area_payload.go index 8ae37e597..564ad83af 100644 --- a/services/iaas/model_create_network_area_payload.go +++ b/services/iaas/model_create_network_area_payload.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_create_network_area_range_payload.go b/services/iaas/model_create_network_area_range_payload.go index cef18afc6..616daba40 100644 --- a/services/iaas/model_create_network_area_range_payload.go +++ b/services/iaas/model_create_network_area_range_payload.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_create_network_area_route_payload.go b/services/iaas/model_create_network_area_route_payload.go index 6a2d5d968..34070761d 100644 --- a/services/iaas/model_create_network_area_route_payload.go +++ b/services/iaas/model_create_network_area_route_payload.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_create_network_ipv4_body.go b/services/iaas/model_create_network_ipv4_body.go index c808af3ae..31ce1ded6 100644 --- a/services/iaas/model_create_network_ipv4_body.go +++ b/services/iaas/model_create_network_ipv4_body.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_create_network_ipv6_body.go b/services/iaas/model_create_network_ipv6_body.go index 529c68ac2..a91f9cfc7 100644 --- a/services/iaas/model_create_network_ipv6_body.go +++ b/services/iaas/model_create_network_ipv6_body.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_create_network_payload.go b/services/iaas/model_create_network_payload.go index fd24a53ff..8d2c8801c 100644 --- a/services/iaas/model_create_network_payload.go +++ b/services/iaas/model_create_network_payload.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_create_nic_payload.go b/services/iaas/model_create_nic_payload.go index 8cb9c0806..cdf4cd1b4 100644 --- a/services/iaas/model_create_nic_payload.go +++ b/services/iaas/model_create_nic_payload.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_create_protocol.go b/services/iaas/model_create_protocol.go index 4683d54ab..215406e1b 100644 --- a/services/iaas/model_create_protocol.go +++ b/services/iaas/model_create_protocol.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_create_public_ip_payload.go b/services/iaas/model_create_public_ip_payload.go index fab8e8b10..a6f0aab3d 100644 --- a/services/iaas/model_create_public_ip_payload.go +++ b/services/iaas/model_create_public_ip_payload.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_create_security_group_payload.go b/services/iaas/model_create_security_group_payload.go index b64e02ae5..16dfbe688 100644 --- a/services/iaas/model_create_security_group_payload.go +++ b/services/iaas/model_create_security_group_payload.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_create_security_group_rule_payload.go b/services/iaas/model_create_security_group_rule_payload.go index 060864813..036485c03 100644 --- a/services/iaas/model_create_security_group_rule_payload.go +++ b/services/iaas/model_create_security_group_rule_payload.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_create_security_group_rule_protocol.go b/services/iaas/model_create_security_group_rule_protocol.go index b2e727575..2713d641e 100644 --- a/services/iaas/model_create_security_group_rule_protocol.go +++ b/services/iaas/model_create_security_group_rule_protocol.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_create_server_networking.go b/services/iaas/model_create_server_networking.go index 460e7bc60..991f6818d 100644 --- a/services/iaas/model_create_server_networking.go +++ b/services/iaas/model_create_server_networking.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_create_server_networking_with_nics.go b/services/iaas/model_create_server_networking_with_nics.go index e6e0fa73b..f391f57cd 100644 --- a/services/iaas/model_create_server_networking_with_nics.go +++ b/services/iaas/model_create_server_networking_with_nics.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_create_server_payload.go b/services/iaas/model_create_server_payload.go index 9249084fd..ee25f6f37 100644 --- a/services/iaas/model_create_server_payload.go +++ b/services/iaas/model_create_server_payload.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_create_server_payload_boot_volume.go b/services/iaas/model_create_server_payload_boot_volume.go index 707746547..1d63d1bf8 100644 --- a/services/iaas/model_create_server_payload_boot_volume.go +++ b/services/iaas/model_create_server_payload_boot_volume.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_create_server_payload_networking.go b/services/iaas/model_create_server_payload_networking.go index 965fe1224..d8cdf8e54 100644 --- a/services/iaas/model_create_server_payload_networking.go +++ b/services/iaas/model_create_server_payload_networking.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_create_snapshot_payload.go b/services/iaas/model_create_snapshot_payload.go index de8e8f954..20c47ca1c 100644 --- a/services/iaas/model_create_snapshot_payload.go +++ b/services/iaas/model_create_snapshot_payload.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_create_volume_payload.go b/services/iaas/model_create_volume_payload.go index 48351cb99..c043e3b22 100644 --- a/services/iaas/model_create_volume_payload.go +++ b/services/iaas/model_create_volume_payload.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_error.go b/services/iaas/model_error.go index 6afb78dc2..6b537c2a5 100644 --- a/services/iaas/model_error.go +++ b/services/iaas/model_error.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_get_server_log_200_response.go b/services/iaas/model_get_server_log_200_response.go index f64e60291..fcc1dcbe8 100644 --- a/services/iaas/model_get_server_log_200_response.go +++ b/services/iaas/model_get_server_log_200_response.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_icmp_parameters.go b/services/iaas/model_icmp_parameters.go index ed856ec0a..723b1e890 100644 --- a/services/iaas/model_icmp_parameters.go +++ b/services/iaas/model_icmp_parameters.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_image.go b/services/iaas/model_image.go index 063b730da..caa302363 100644 --- a/services/iaas/model_image.go +++ b/services/iaas/model_image.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_image_checksum.go b/services/iaas/model_image_checksum.go index ed8156792..21f18ae87 100644 --- a/services/iaas/model_image_checksum.go +++ b/services/iaas/model_image_checksum.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_image_config.go b/services/iaas/model_image_config.go index 110635597..9a2c6c879 100644 --- a/services/iaas/model_image_config.go +++ b/services/iaas/model_image_config.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_image_create_response.go b/services/iaas/model_image_create_response.go index 0779b56c6..6c0cd9632 100644 --- a/services/iaas/model_image_create_response.go +++ b/services/iaas/model_image_create_response.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_image_list_response.go b/services/iaas/model_image_list_response.go index 078633469..4f703f99e 100644 --- a/services/iaas/model_image_list_response.go +++ b/services/iaas/model_image_list_response.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_image_share.go b/services/iaas/model_image_share.go index 3689e2b55..eff499acf 100644 --- a/services/iaas/model_image_share.go +++ b/services/iaas/model_image_share.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_image_share_consumer.go b/services/iaas/model_image_share_consumer.go index ae4a0afa0..386b94131 100644 --- a/services/iaas/model_image_share_consumer.go +++ b/services/iaas/model_image_share_consumer.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_key_pair_list_response.go b/services/iaas/model_key_pair_list_response.go index 86f63c405..07671ab25 100644 --- a/services/iaas/model_key_pair_list_response.go +++ b/services/iaas/model_key_pair_list_response.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_keypair.go b/services/iaas/model_keypair.go index 69eeec2cb..2102024c3 100644 --- a/services/iaas/model_keypair.go +++ b/services/iaas/model_keypair.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_machine_type.go b/services/iaas/model_machine_type.go index fd11a832b..4f869d71b 100644 --- a/services/iaas/model_machine_type.go +++ b/services/iaas/model_machine_type.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -139,7 +139,7 @@ func setMachineTypeGetVcpusAttributeType(arg *MachineTypeGetVcpusAttributeType, *arg = &val } -// MachineType Machine Type. +// MachineType Machine Type. Filterable Fields: disk, extraSpecs, name, ram, vcpus. type MachineType struct { // Description Object. Allows string up to 127 Characters. Description MachineTypeGetDescriptionAttributeType `json:"description,omitempty"` diff --git a/services/iaas/model_machine_type_list_response.go b/services/iaas/model_machine_type_list_response.go index 162a09635..bdc546f61 100644 --- a/services/iaas/model_machine_type_list_response.go +++ b/services/iaas/model_machine_type_list_response.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_network.go b/services/iaas/model_network.go index cbd710359..46ca3b89d 100644 --- a/services/iaas/model_network.go +++ b/services/iaas/model_network.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_network_area.go b/services/iaas/model_network_area.go index f72299e4c..920431044 100644 --- a/services/iaas/model_network_area.go +++ b/services/iaas/model_network_area.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_network_area_ipv4.go b/services/iaas/model_network_area_ipv4.go index dfb5495b5..80f5e19bc 100644 --- a/services/iaas/model_network_area_ipv4.go +++ b/services/iaas/model_network_area_ipv4.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_network_area_list_response.go b/services/iaas/model_network_area_list_response.go index 040bd780c..f7f057c70 100644 --- a/services/iaas/model_network_area_list_response.go +++ b/services/iaas/model_network_area_list_response.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_network_list_response.go b/services/iaas/model_network_list_response.go index 3fade9994..e977db91e 100644 --- a/services/iaas/model_network_list_response.go +++ b/services/iaas/model_network_list_response.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_network_range.go b/services/iaas/model_network_range.go index f2575aed9..92b2b8609 100644 --- a/services/iaas/model_network_range.go +++ b/services/iaas/model_network_range.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_network_range_list_response.go b/services/iaas/model_network_range_list_response.go index 6504baa9f..6b9aa7058 100644 --- a/services/iaas/model_network_range_list_response.go +++ b/services/iaas/model_network_range_list_response.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_nic.go b/services/iaas/model_nic.go index 2b64aa2c6..49124a75d 100644 --- a/services/iaas/model_nic.go +++ b/services/iaas/model_nic.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_nic_list_response.go b/services/iaas/model_nic_list_response.go index 28e734428..6a64b3b18 100644 --- a/services/iaas/model_nic_list_response.go +++ b/services/iaas/model_nic_list_response.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_partial_update_network_area_payload.go b/services/iaas/model_partial_update_network_area_payload.go index 9dcfc3e31..3ab5262dd 100644 --- a/services/iaas/model_partial_update_network_area_payload.go +++ b/services/iaas/model_partial_update_network_area_payload.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_partial_update_network_payload.go b/services/iaas/model_partial_update_network_payload.go index 6ee79d719..7e81264fc 100644 --- a/services/iaas/model_partial_update_network_payload.go +++ b/services/iaas/model_partial_update_network_payload.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_port_range.go b/services/iaas/model_port_range.go index e32e8dd7a..c992b6607 100644 --- a/services/iaas/model_port_range.go +++ b/services/iaas/model_port_range.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_project_list_response.go b/services/iaas/model_project_list_response.go index d43beca0e..47ac1ce0d 100644 --- a/services/iaas/model_project_list_response.go +++ b/services/iaas/model_project_list_response.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_protocol.go b/services/iaas/model_protocol.go index 74f8a89db..fc448f247 100644 --- a/services/iaas/model_protocol.go +++ b/services/iaas/model_protocol.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_public_ip.go b/services/iaas/model_public_ip.go index 094040ec4..8773330cb 100644 --- a/services/iaas/model_public_ip.go +++ b/services/iaas/model_public_ip.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_public_ip_list_response.go b/services/iaas/model_public_ip_list_response.go index cec014ec7..4c22f5e12 100644 --- a/services/iaas/model_public_ip_list_response.go +++ b/services/iaas/model_public_ip_list_response.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_public_network.go b/services/iaas/model_public_network.go index 4109646a8..27341a1b6 100644 --- a/services/iaas/model_public_network.go +++ b/services/iaas/model_public_network.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_public_network_list_response.go b/services/iaas/model_public_network_list_response.go index 69b1088b7..d80ce508f 100644 --- a/services/iaas/model_public_network_list_response.go +++ b/services/iaas/model_public_network_list_response.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_quota.go b/services/iaas/model_quota.go index 8ba4da4ef..f61c0b758 100644 --- a/services/iaas/model_quota.go +++ b/services/iaas/model_quota.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_quota_list.go b/services/iaas/model_quota_list.go index 32b7f4d69..2d97f4ec2 100644 --- a/services/iaas/model_quota_list.go +++ b/services/iaas/model_quota_list.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_quota_list_backup_gigabytes.go b/services/iaas/model_quota_list_backup_gigabytes.go index af1c79430..5a23a6cae 100644 --- a/services/iaas/model_quota_list_backup_gigabytes.go +++ b/services/iaas/model_quota_list_backup_gigabytes.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_quota_list_backups.go b/services/iaas/model_quota_list_backups.go index 94d47a746..05b38009b 100644 --- a/services/iaas/model_quota_list_backups.go +++ b/services/iaas/model_quota_list_backups.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_quota_list_gigabytes.go b/services/iaas/model_quota_list_gigabytes.go index 1cc1cc3af..c25ecf2f2 100644 --- a/services/iaas/model_quota_list_gigabytes.go +++ b/services/iaas/model_quota_list_gigabytes.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_quota_list_networks.go b/services/iaas/model_quota_list_networks.go index 268d5a980..dea2ae69f 100644 --- a/services/iaas/model_quota_list_networks.go +++ b/services/iaas/model_quota_list_networks.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_quota_list_nics.go b/services/iaas/model_quota_list_nics.go index 20b966445..41f4e6e74 100644 --- a/services/iaas/model_quota_list_nics.go +++ b/services/iaas/model_quota_list_nics.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_quota_list_public_ips.go b/services/iaas/model_quota_list_public_ips.go index ea7448376..0c373da46 100644 --- a/services/iaas/model_quota_list_public_ips.go +++ b/services/iaas/model_quota_list_public_ips.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_quota_list_ram.go b/services/iaas/model_quota_list_ram.go index 349b3553d..512207916 100644 --- a/services/iaas/model_quota_list_ram.go +++ b/services/iaas/model_quota_list_ram.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_quota_list_response.go b/services/iaas/model_quota_list_response.go index 80bbd08a9..9b0efd41a 100644 --- a/services/iaas/model_quota_list_response.go +++ b/services/iaas/model_quota_list_response.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_quota_list_security_group_rules.go b/services/iaas/model_quota_list_security_group_rules.go index af34850e4..c29601ddd 100644 --- a/services/iaas/model_quota_list_security_group_rules.go +++ b/services/iaas/model_quota_list_security_group_rules.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_quota_list_security_groups.go b/services/iaas/model_quota_list_security_groups.go index 0db1f02b6..eac5303a8 100644 --- a/services/iaas/model_quota_list_security_groups.go +++ b/services/iaas/model_quota_list_security_groups.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_quota_list_snapshots.go b/services/iaas/model_quota_list_snapshots.go index ea9e523e0..8be547a65 100644 --- a/services/iaas/model_quota_list_snapshots.go +++ b/services/iaas/model_quota_list_snapshots.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_quota_list_vcpu.go b/services/iaas/model_quota_list_vcpu.go index 0a09b9921..27a1787e3 100644 --- a/services/iaas/model_quota_list_vcpu.go +++ b/services/iaas/model_quota_list_vcpu.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_quota_list_volumes.go b/services/iaas/model_quota_list_volumes.go index a5a384192..d22ae4c64 100644 --- a/services/iaas/model_quota_list_volumes.go +++ b/services/iaas/model_quota_list_volumes.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_request.go b/services/iaas/model_request.go index 021500fb0..4a9898931 100644 --- a/services/iaas/model_request.go +++ b/services/iaas/model_request.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_request_resource.go b/services/iaas/model_request_resource.go index 117854a5f..ab69eba29 100644 --- a/services/iaas/model_request_resource.go +++ b/services/iaas/model_request_resource.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_rescue_server_payload.go b/services/iaas/model_rescue_server_payload.go index 907af4415..7176d8db8 100644 --- a/services/iaas/model_rescue_server_payload.go +++ b/services/iaas/model_rescue_server_payload.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_resize_server_payload.go b/services/iaas/model_resize_server_payload.go index 3592a31f8..6906bc6cd 100644 --- a/services/iaas/model_resize_server_payload.go +++ b/services/iaas/model_resize_server_payload.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_resize_volume_payload.go b/services/iaas/model_resize_volume_payload.go index c6d4c1068..3479830b2 100644 --- a/services/iaas/model_resize_volume_payload.go +++ b/services/iaas/model_resize_volume_payload.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_route.go b/services/iaas/model_route.go index b34e8cb81..fd6382ddd 100644 --- a/services/iaas/model_route.go +++ b/services/iaas/model_route.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_route_list_response.go b/services/iaas/model_route_list_response.go index 619b41614..38c3fd994 100644 --- a/services/iaas/model_route_list_response.go +++ b/services/iaas/model_route_list_response.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_security_group.go b/services/iaas/model_security_group.go index 8a0ba7127..fc54855aa 100644 --- a/services/iaas/model_security_group.go +++ b/services/iaas/model_security_group.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_security_group_list_response.go b/services/iaas/model_security_group_list_response.go index a45766896..c8f804c2e 100644 --- a/services/iaas/model_security_group_list_response.go +++ b/services/iaas/model_security_group_list_response.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_security_group_rule.go b/services/iaas/model_security_group_rule.go index 86d7751a6..93c036ade 100644 --- a/services/iaas/model_security_group_rule.go +++ b/services/iaas/model_security_group_rule.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_security_group_rule_list_response.go b/services/iaas/model_security_group_rule_list_response.go index 634ae38b1..850de7efd 100644 --- a/services/iaas/model_security_group_rule_list_response.go +++ b/services/iaas/model_security_group_rule_list_response.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_security_group_rule_protocol.go b/services/iaas/model_security_group_rule_protocol.go index 1f8a0cbd5..585ef2dc4 100644 --- a/services/iaas/model_security_group_rule_protocol.go +++ b/services/iaas/model_security_group_rule_protocol.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_server.go b/services/iaas/model_server.go index 7b812a4b6..0e6390d1c 100644 --- a/services/iaas/model_server.go +++ b/services/iaas/model_server.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_server_console_url.go b/services/iaas/model_server_console_url.go index 46ac315be..1cad386f4 100644 --- a/services/iaas/model_server_console_url.go +++ b/services/iaas/model_server_console_url.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_server_list_response.go b/services/iaas/model_server_list_response.go index 71dcac947..0eca424ad 100644 --- a/services/iaas/model_server_list_response.go +++ b/services/iaas/model_server_list_response.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_server_maintenance.go b/services/iaas/model_server_maintenance.go index bee76a9ed..acce66f17 100644 --- a/services/iaas/model_server_maintenance.go +++ b/services/iaas/model_server_maintenance.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_server_network.go b/services/iaas/model_server_network.go index 36e54c957..3a598eafc 100644 --- a/services/iaas/model_server_network.go +++ b/services/iaas/model_server_network.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_service_account_mail_list_response.go b/services/iaas/model_service_account_mail_list_response.go index 1a7bc1ed7..8b1feb5be 100644 --- a/services/iaas/model_service_account_mail_list_response.go +++ b/services/iaas/model_service_account_mail_list_response.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_set_image_share_payload.go b/services/iaas/model_set_image_share_payload.go index 158f51949..f2ec6196a 100644 --- a/services/iaas/model_set_image_share_payload.go +++ b/services/iaas/model_set_image_share_payload.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_snapshot.go b/services/iaas/model_snapshot.go index 086cff6ee..2cbbd8f1b 100644 --- a/services/iaas/model_snapshot.go +++ b/services/iaas/model_snapshot.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_snapshot_list_response.go b/services/iaas/model_snapshot_list_response.go index 05281a542..0788b96c2 100644 --- a/services/iaas/model_snapshot_list_response.go +++ b/services/iaas/model_snapshot_list_response.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_update_area_address_family.go b/services/iaas/model_update_area_address_family.go index 30c26928d..70fe523b6 100644 --- a/services/iaas/model_update_area_address_family.go +++ b/services/iaas/model_update_area_address_family.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_update_area_ipv4.go b/services/iaas/model_update_area_ipv4.go index c458d2703..bc3d83e24 100644 --- a/services/iaas/model_update_area_ipv4.go +++ b/services/iaas/model_update_area_ipv4.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_update_attached_volume_payload.go b/services/iaas/model_update_attached_volume_payload.go index ca0117ae5..d30bf2583 100644 --- a/services/iaas/model_update_attached_volume_payload.go +++ b/services/iaas/model_update_attached_volume_payload.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_update_backup_payload.go b/services/iaas/model_update_backup_payload.go index cbd6266bf..0aaf522c8 100644 --- a/services/iaas/model_update_backup_payload.go +++ b/services/iaas/model_update_backup_payload.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_update_image_payload.go b/services/iaas/model_update_image_payload.go index c93be5686..20d5f8df4 100644 --- a/services/iaas/model_update_image_payload.go +++ b/services/iaas/model_update_image_payload.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_update_image_share_payload.go b/services/iaas/model_update_image_share_payload.go index 0cf90cf34..1df4019da 100644 --- a/services/iaas/model_update_image_share_payload.go +++ b/services/iaas/model_update_image_share_payload.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_update_key_pair_payload.go b/services/iaas/model_update_key_pair_payload.go index 60da42efb..6829553fe 100644 --- a/services/iaas/model_update_key_pair_payload.go +++ b/services/iaas/model_update_key_pair_payload.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_update_network_address_family.go b/services/iaas/model_update_network_address_family.go index aaefe91ae..bd5dc4812 100644 --- a/services/iaas/model_update_network_address_family.go +++ b/services/iaas/model_update_network_address_family.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_update_network_area_route_payload.go b/services/iaas/model_update_network_area_route_payload.go index a7f118373..774faf451 100644 --- a/services/iaas/model_update_network_area_route_payload.go +++ b/services/iaas/model_update_network_area_route_payload.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_update_network_ipv4_body.go b/services/iaas/model_update_network_ipv4_body.go index 80392f7d7..982807977 100644 --- a/services/iaas/model_update_network_ipv4_body.go +++ b/services/iaas/model_update_network_ipv4_body.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_update_network_ipv6_body.go b/services/iaas/model_update_network_ipv6_body.go index 8cd31adc5..618baa9b4 100644 --- a/services/iaas/model_update_network_ipv6_body.go +++ b/services/iaas/model_update_network_ipv6_body.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_update_nic_payload.go b/services/iaas/model_update_nic_payload.go index 0964b9201..bafcf3bf0 100644 --- a/services/iaas/model_update_nic_payload.go +++ b/services/iaas/model_update_nic_payload.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_update_public_ip_payload.go b/services/iaas/model_update_public_ip_payload.go index ce8bda862..c50f0e99e 100644 --- a/services/iaas/model_update_public_ip_payload.go +++ b/services/iaas/model_update_public_ip_payload.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_update_security_group_payload.go b/services/iaas/model_update_security_group_payload.go index 5d5266e56..6b3d9c259 100644 --- a/services/iaas/model_update_security_group_payload.go +++ b/services/iaas/model_update_security_group_payload.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_update_server_payload.go b/services/iaas/model_update_server_payload.go index e110c3e80..e61f9063d 100644 --- a/services/iaas/model_update_server_payload.go +++ b/services/iaas/model_update_server_payload.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_update_snapshot_payload.go b/services/iaas/model_update_snapshot_payload.go index b370f6ccb..3c63e0816 100644 --- a/services/iaas/model_update_snapshot_payload.go +++ b/services/iaas/model_update_snapshot_payload.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_update_volume_payload.go b/services/iaas/model_update_volume_payload.go index c26af8b0c..2f843428d 100644 --- a/services/iaas/model_update_volume_payload.go +++ b/services/iaas/model_update_volume_payload.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_volume.go b/services/iaas/model_volume.go index c451df5e2..47ed22637 100644 --- a/services/iaas/model_volume.go +++ b/services/iaas/model_volume.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_volume_attachment.go b/services/iaas/model_volume_attachment.go index 421c94b9e..b7fd4f4a1 100644 --- a/services/iaas/model_volume_attachment.go +++ b/services/iaas/model_volume_attachment.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_volume_attachment_list_response.go b/services/iaas/model_volume_attachment_list_response.go index df157b268..76afbc95c 100644 --- a/services/iaas/model_volume_attachment_list_response.go +++ b/services/iaas/model_volume_attachment_list_response.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_volume_list_response.go b/services/iaas/model_volume_list_response.go index 924c3af9d..6ad3d925a 100644 --- a/services/iaas/model_volume_list_response.go +++ b/services/iaas/model_volume_list_response.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_volume_performance_class.go b/services/iaas/model_volume_performance_class.go index 76a87ee62..bca0701c0 100644 --- a/services/iaas/model_volume_performance_class.go +++ b/services/iaas/model_volume_performance_class.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_volume_performance_class_list_response.go b/services/iaas/model_volume_performance_class_list_response.go index bab673ec9..80500cc75 100644 --- a/services/iaas/model_volume_performance_class_list_response.go +++ b/services/iaas/model_volume_performance_class_list_response.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/model_volume_source.go b/services/iaas/model_volume_source.go index bde3f185f..f73579b3a 100644 --- a/services/iaas/model_volume_source.go +++ b/services/iaas/model_volume_source.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/services/iaas/utils.go b/services/iaas/utils.go index 0f1833e15..48c60a651 100644 --- a/services/iaas/utils.go +++ b/services/iaas/utils.go @@ -3,7 +3,7 @@ IaaS-API This API allows you to create and modify IaaS resources. -API version: 1beta1 +API version: 1 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.