Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- type APIClient
- type APIKey
- type APIResponse
- type AclPolicyRule
- type AddressPairDto
- type AttachDetachWanIpRequest
- type AttachExternalNetworkInterfaceRequest
- type AttachNetworkInterfaceRequest
- type AttachNetworkInterfaceWithWanIpRequest
- type AttachToLoadBalancerBackendRequest
- type AttachVolumeRequest
- type AttachmentControllerApiService
- func (a *AttachmentControllerApiService) ListAttachmentByServerUsingGET(ctx context.Context, projectId string, serverUuid string) (AttachmentResponse, *http.Response, error)
- func (a *AttachmentControllerApiService) ListAttachmentUsingGET(ctx context.Context, projectId string, uuid string) (AttachmentResponse, *http.Response, error)
- type AttachmentEntity
- type AttachmentResponse
- type BandwidthControllerApiService
- func (a *BandwidthControllerApiService) ChangeTypeBandwidthUsingPUT(ctx context.Context, changeTypeBandwidthRequest ChangeTypeBandwidthRequest, ...) (BandwidthResponse, *http.Response, error)
- func (a *BandwidthControllerApiService) CreateBandwidthUsingPOST(ctx context.Context, createBandwidthRequest CreateBandwidthRequest, ...) (BandwidthResponse, *http.Response, error)
- func (a *BandwidthControllerApiService) DeleteBandwidthUsingDELETE(ctx context.Context, deleteBandwidthRequest DeleteBandwidthRequest, ...) (BaseResponse, *http.Response, error)
- func (a *BandwidthControllerApiService) GetBandwidthUsingGET(ctx context.Context, projectId string, uuid string) (BandwidthResponse, *http.Response, error)
- func (a *BandwidthControllerApiService) ListAllTrafficUsingGET(ctx context.Context, projectId string) (BandwidthTrafficResponse, *http.Response, error)
- func (a *BandwidthControllerApiService) ListBandwidthsUsingGET(ctx context.Context, projectId string) (BandwidthResponse, *http.Response, error)
- func (a *BandwidthControllerApiService) ListPackagesUsingGET(ctx context.Context, projectId string) (BandwidthPackageResponse, *http.Response, error)
- func (a *BandwidthControllerApiService) ListResourceIpsUsingGET(ctx context.Context, listResourceIpRequest ListResourceIpRequest, ...) (BandwidthResourceIpResponse, *http.Response, error)
- func (a *BandwidthControllerApiService) RecoverBandwidthUsingPUT(ctx context.Context, projectId string, ...) (BandwidthResponse, *http.Response, error)
- func (a *BandwidthControllerApiService) RenewBandwidthUsingPUT(ctx context.Context, projectId string, ...) (BaseResponse, *http.Response, error)
- type BandwidthModel
- type BandwidthPackageModel
- type BandwidthPackageResponse
- type BandwidthResourceIpResponse
- type BandwidthResponse
- type BandwidthTrafficHistoryModel
- type BandwidthTrafficResponse
- type BaseResponse
- type BasicAuth
- type CallbackResponse
- type ChangeRoutesRequest
- type ChangeSecGroupRequest
- type ChangeTypeBandwidthRequest
- type ClusterConfigResultDto
- type ClusterDto
- type ClusterNodeDto
- type ClusterNodeGroupDto
- type ClusterPoolDto
- type ClusterSecGroupDefaultDto
- type ClusterSecGroupDto
- type ClusterSecgroupDefault
- type ClusterVolumeDto
- type Code
- type Configuration
- type CreateAddressPairRequest
- type CreateBandwidthRequest
- type CreateClusterRequest
- type CreateNetworkAclRequest
- type CreateNetworkInterfaceRequest
- type CreateNetworkRequest
- type CreateNodeGroupBackendRequest
- type CreateRouteTableRequest
- type CreateSecurityGroupRequest
- type CreateSecurityGroupRuleRequest
- type CreateServerGroupRequest
- type CreateServerRequest
- type CreateSshKeyRequest
- type CreateSubnetRequest
- type CreateUserImageRequest
- type CreateVirtualIpAddressRequest
- type CreateVolumeRequest
- type DataDiskLimit
- type DataResponse
- type DataResponseAddressPairDto
- type DataResponseClusterDto
- type DataResponseClusterNodeGroupDto
- type DataResponseCreateAddressPairRequest
- type DataResponseInterfaceClusterNodeGroupEntity
- type DataResponseInterfaceK8sClusterEntity
- type DataResponseInterfaceNetworkInterface
- type DataResponseJsonObject
- type DataResponseListAddressPairDto
- type DataResponseListClusterSecGroupDto
- type DataResponseListInternalNetworkInterfaceDto
- type DataResponseListNetworkAclPolicyRuleDto
- type DataResponseListQuotaUsedDto
- type DataResponseListRegionDto
- type DataResponseListRoutesDto
- type DataResponseListSecgroupruleDto
- type DataResponseListSecurityGroupRulesSampleEntity
- type DataResponseListServerAction
- type DataResponseListServerGroupPolicy
- type DataResponseListServerOfSecgroupDto
- type DataResponseListstring
- type DataResponseNetworkAclDetailDto
- type DataResponseNetworkAclDto
- type DataResponseNetworkAclModel
- type DataResponseNetworkDto
- type DataResponseNetworkInterfaceElastic
- type DataResponseRouteTableDto
- type DataResponseSecgroupDto
- type DataResponseSecgroupEntity
- type DataResponseSecgroupRuleEntity
- type DataResponseSecgroupruleDto
- type DataResponseServer
- type DataResponseServerGroupDto
- type DataResponseServerNetworkInterfaceDetail
- type DataResponseServerSecGroupDetail
- type DataResponseSimpleServer
- type DataResponseSimpleServerTaskDto
- type DataResponseSshKeyDto
- type DataResponseSubnetDto
- type DataResponseVipDto
- type DataResponseVirtualIpAddressDto
- type DataResponseVirtualIpAddressNetworkEntity
- type DataResponseVolume
- type DataResponseboolean
- type DataResponsestring
- type DeleteBandwidthRequest
- type DeleteNetworkRequest
- type DeleteNodeGroupBackendRequest
- type DeleteSecurityGroupRequest
- type DeleteSecurityGroupRuleRequest
- type DeleteServerGroupRequest
- type DeleteServerRequest
- type DeleteSshKeyRequest
- type DeleteSubnetRequest
- type DeleteVolumeRequest
- type DetachExternalNetworkInterfaceRequest
- type DetachNetworkInterfaceRequest
- type DetachNetworkInterfaceWithWanIpRequest
- type DetachVolumeRequest
- type EditSecurityGroupRequest
- type ElasticIpDetail
- type ElasticIpEntity
- type ElasticIpRestControllerV2ApiListElasticIpUsingGETOpts
- type ElasticIpRestControllerV2ApiService
- type ElasticOfNetworkDto
- type EncryptionType
- type Family
- type FamilyCondition
- type Flavor
- type FlavorResponse
- type FlavorRestControllerApiService
- func (a *FlavorRestControllerApiService) GetFlavorUsingGET(ctx context.Context, flavorId string, projectId string) (FlavorResponse, *http.Response, error)
- func (a *FlavorRestControllerApiService) ListFlavorByFamilyAndPlatformUsingGET(ctx context.Context, familyKey string, platformKey string, projectId string) ([]Flavor, *http.Response, error)
- func (a *FlavorRestControllerApiService) ListFlavorCustomUsingGET(ctx context.Context, projectId string) ([]Flavor, *http.Response, error)
- func (a *FlavorRestControllerApiService) ListFlavorForSimpleServerUsingGET(ctx context.Context, projectId string) (FlavorResponse, *http.Response, error)
- func (a *FlavorRestControllerApiService) ListFlavorUsingGET(ctx context.Context, flavorZoneId string, projectId string) (FlavorResponse, *http.Response, error)
- type FlavorZone
- type FlavorZoneResponse
- type FlavorZoneRestControllerApiService
- func (a *FlavorZoneRestControllerApiService) GetFlavorZoneUsingGET(ctx context.Context, flavorZoneId string, projectId string) (FlavorZoneResponse, *http.Response, error)
- func (a *FlavorZoneRestControllerApiService) ListCodeUsingGET(ctx context.Context, projectId string) ([]Code, *http.Response, error)
- func (a *FlavorZoneRestControllerApiService) ListCustomUsingGET(ctx context.Context, projectId string) ([]FlavorZone, *http.Response, error)
- func (a *FlavorZoneRestControllerApiService) ListFamilyUsingGET(ctx context.Context, projectId string) ([]Family, *http.Response, error)
- func (a *FlavorZoneRestControllerApiService) ListFlavorZoneUsingGET(ctx context.Context, projectId string) (FlavorZoneResponse, *http.Response, error)
- func (a *FlavorZoneRestControllerApiService) ListFlavorZoneUsingGET1(ctx context.Context, product string, projectId string) (FlavorZoneResponse, *http.Response, error)
- type GenericSwaggerError
- type ImageRestControllerApiService
- func (a *ImageRestControllerApiService) ListGPUImageUsingGET(ctx context.Context, projectId string) (OsImageBaseResponse, *http.Response, error)
- func (a *ImageRestControllerApiService) ListOSImageDefaultUsingGET(ctx context.Context, projectId string) (string, *http.Response, error)
- func (a *ImageRestControllerApiService) ListOSImageUsingGET(ctx context.Context, projectId string) (OsImageBaseResponse, *http.Response, error)
- type ImportSshKeyRequest
- type InterfaceClusterNodeGroupEntity
- type InterfaceK8SClusterDetail
- type InterfaceK8SClusterDto
- type InterfaceK8sClusterEntity
- type InterfaceNetworkInterface
- type InterfaceNetworkInterfaceEntity
- type InterfaceProjectQuota
- type InterfaceProjectQuotaResponse
- type InterfacePublicIp
- type InterfacePublicIpEntity
- type InterfacePublicSubnet
- type InterfacePublicSubnetDto
- type InterfacePublicSubnetEntity
- type InternalNetworkInterfaceDto
- type JsonObject
- type K8SClusterRestControllerV2ApiListClusterUsingGETOpts
- type K8SClusterRestControllerV2ApiService
- func (a *K8SClusterRestControllerV2ApiService) AttachToLbUsingPOST(ctx context.Context, ...) (DataResponseSimpleServerTaskDto, *http.Response, error)
- func (a *K8SClusterRestControllerV2ApiService) CreateClusterNodeGroupUsingPOST(ctx context.Context, clusterId string, ...) (DataResponseClusterNodeGroupDto, *http.Response, error)
- func (a *K8SClusterRestControllerV2ApiService) CreateClusterUsingPOST(ctx context.Context, createClusterRequest CreateClusterRequest, ...) (DataResponseClusterDto, *http.Response, error)
- func (a *K8SClusterRestControllerV2ApiService) DeleteClusterNodeGroupUsingDELETE(ctx context.Context, nodeGroupId string, projectId string) (DataResponseClusterNodeGroupDto, *http.Response, error)
- func (a *K8SClusterRestControllerV2ApiService) DeleteClusterUsingDELETE(ctx context.Context, clusterId string, projectId string) (DataResponseClusterDto, *http.Response, error)
- func (a *K8SClusterRestControllerV2ApiService) GetClusterNodeGroupUsingGET(ctx context.Context, nodegroupId string, projectId string) (DataResponseClusterNodeGroupDto, *http.Response, error)
- func (a *K8SClusterRestControllerV2ApiService) GetClusterUsingGET(ctx context.Context, clusterId string, projectId string) (DataResponseClusterDto, *http.Response, error)
- func (a *K8SClusterRestControllerV2ApiService) GetConfigUsingGET(ctx context.Context, clusterId string, projectId string) (ClusterConfigResultDto, *http.Response, error)
- func (a *K8SClusterRestControllerV2ApiService) GetConsoleUsingGET(ctx context.Context, projectId string, serverId string) (NodeConsoleResultDto, *http.Response, error)
- func (a *K8SClusterRestControllerV2ApiService) GetEtcdPackageUsingGET(ctx context.Context, projectId string) ([]K8SEtcdPackageEntity, *http.Response, error)
- func (a *K8SClusterRestControllerV2ApiService) GetFlavorLimitUsingGET(ctx context.Context, projectId string) (string, *http.Response, error)
- func (a *K8SClusterRestControllerV2ApiService) GetK8sConfigUsingGET(ctx context.Context, projectId string) (string, *http.Response, error)
- func (a *K8SClusterRestControllerV2ApiService) GetK8sDefaultFlavorIdUsingGET(ctx context.Context, projectId string) (string, *http.Response, error)
- func (a *K8SClusterRestControllerV2ApiService) GetK8sVolumeConfigUsingGET(ctx context.Context, projectId string) (string, *http.Response, error)
- func (a *K8SClusterRestControllerV2ApiService) GetMaxNodeCountUsingGET(ctx context.Context, projectId string) (int32, *http.Response, error)
- func (a *K8SClusterRestControllerV2ApiService) GetNodeByIdUsingGET(ctx context.Context, clusterId string, nodeGroupId string, projectId string) ([]ClusterNodeDto, *http.Response, error)
- func (a *K8SClusterRestControllerV2ApiService) GetServerTaskStatusUsingGET(ctx context.Context, clusterId string, projectId string, serverTaskId string) (string, *http.Response, error)
- func (a *K8SClusterRestControllerV2ApiService) ListClusterNodeGroupUsingGET(ctx context.Context, clusterId string, projectId string) ([]SimpleClusterNodeGroupDto, *http.Response, error)
- func (a *K8SClusterRestControllerV2ApiService) ListClusterPoolByClusterUsingGET(ctx context.Context, clusterId string, projectId string) ([]ClusterPoolDto, *http.Response, error)
- func (a *K8SClusterRestControllerV2ApiService) ListClusterUsingGET(ctx context.Context, projectId string, ...) (PagingClusterDto, *http.Response, error)
- func (a *K8SClusterRestControllerV2ApiService) ListK8sNetworkTypeUsingGET(ctx context.Context, projectId string) ([]K8sNetworkTypeDto, *http.Response, error)
- func (a *K8SClusterRestControllerV2ApiService) ListK8sVersionUsingGET(ctx context.Context, projectId string) ([]K8sVersionDto, *http.Response, error)
- func (a *K8SClusterRestControllerV2ApiService) ListNodeUsingGET(ctx context.Context, clusterId string, projectId string) ([]ClusterNodeDto, *http.Response, error)
- func (a *K8SClusterRestControllerV2ApiService) ListSecGroupUsingGET(ctx context.Context, clusterId string, projectId string, type_ bool) ([]ClusterSecGroupDto, *http.Response, error)
- func (a *K8SClusterRestControllerV2ApiService) ListSecgroupDefaultUsingGET(ctx context.Context, clusterId string, projectId string) ([]ClusterSecgroupDefault, *http.Response, error)
- func (a *K8SClusterRestControllerV2ApiService) ListVolumeUsingGET3(ctx context.Context, clusterId string, projectId string) ([]ClusterVolumeDto, *http.Response, error)
- func (a *K8SClusterRestControllerV2ApiService) ScaleMinionUsingPOST(ctx context.Context, clusterId string, projectId string, nodeGroupId string, ...) (DataResponseSimpleServerTaskDto, *http.Response, error)
- func (a *K8SClusterRestControllerV2ApiService) UpdateClusterDescriptionUsingPut(ctx context.Context, projectId string, clusterId string, ...) (DataResponseClusterDto, *http.Response, error)
- func (a *K8SClusterRestControllerV2ApiService) UpdateSecGroupUsingPUT(ctx context.Context, projectId string, clusterId string, ...) (DataResponseListClusterSecGroupDto, *http.Response, error)
- type K8SEtcdPackageEntity
- type K8sNetworkTypeDto
- type K8sVersionDto
- type ListResourceIpRequest
- type ListRouteTablesResponse
- type LoadBalancerItem
- type Network
- type NetworkAclDetailDto
- type NetworkAclDto
- type NetworkAclListResponse
- type NetworkAclModel
- type NetworkAclPolicyRuleDto
- type NetworkAclResponse
- type NetworkAclRestControllerApiService
- func (a *NetworkAclRestControllerApiService) CreateNetworkAclUsingPOST(ctx context.Context, createNetworkAclRequest CreateNetworkAclRequest, ...) (NetworkAclResponse, *http.Response, error)
- func (a *NetworkAclRestControllerApiService) DeleteNetworkAclUsingDELETE(ctx context.Context, projectId string, uuid string) (BaseResponse, *http.Response, error)
- func (a *NetworkAclRestControllerApiService) GetNetworkAclUsingGET(ctx context.Context, projectId string, uuid string) (NetworkAclResponse, *http.Response, error)
- func (a *NetworkAclRestControllerApiService) ListNetworkAclUsingGET(ctx context.Context, projectId string) (NetworkAclListResponse, *http.Response, error)
- func (a *NetworkAclRestControllerApiService) UpdateAssociatedSubnetsUsingPUT(ctx context.Context, projectId string, ...) (NetworkAclResponse, *http.Response, error)
- func (a *NetworkAclRestControllerApiService) UpdateRulesUsingPUT(ctx context.Context, projectId string, ...) (NetworkAclResponse, *http.Response, error)
- type NetworkAclRestControllerV2ApiService
- func (a *NetworkAclRestControllerV2ApiService) CreateNetworkAclUsingPOST1(ctx context.Context, createNetworkAclRequest CreateNetworkAclRequest, ...) (DataResponseNetworkAclDto, *http.Response, error)
- func (a *NetworkAclRestControllerV2ApiService) DeleteNetworkAclUsingDELETE1(ctx context.Context, networkAclUuid string, projectId string) (*http.Response, error)
- func (a *NetworkAclRestControllerV2ApiService) GetNetworkAclPolicyRulesUsingGET(ctx context.Context, projectId string, uuid string) (DataResponseListNetworkAclPolicyRuleDto, *http.Response, error)
- func (a *NetworkAclRestControllerV2ApiService) GetNetworkAclUsingGET1(ctx context.Context, projectId string, uuid string) (DataResponseNetworkAclDetailDto, *http.Response, error)
- func (a *NetworkAclRestControllerV2ApiService) GetNetworkAclsUsingGET(ctx context.Context, name string, page string, projectId string, size string) (PagingNetworkAclDto, *http.Response, error)
- func (a *NetworkAclRestControllerV2ApiService) UpdateAssociatedSubnetsUsingPUT1(ctx context.Context, projectId string, ...) (DataResponseNetworkAclDto, *http.Response, error)
- func (a *NetworkAclRestControllerV2ApiService) UpdateRulesUsingPUT1(ctx context.Context, projectId string, ...) (DataResponseNetworkAclModel, *http.Response, error)
- type NetworkDto
- type NetworkInterfaceElastic
- type NetworkInterfaceElasticRestControllerV2ApiListNetworkInterfaceElasticUsingGETOpts
- type NetworkInterfaceElasticRestControllerV2ApiService
- func (a *NetworkInterfaceElasticRestControllerV2ApiService) CreateNetworkInterfaceElasticUsingPOST(ctx context.Context, ...) (DataResponseNetworkInterfaceElastic, *http.Response, error)
- func (a *NetworkInterfaceElasticRestControllerV2ApiService) DeleteNetworkInterfaceElasticUsingDELETE(ctx context.Context, networkInterfaceId string, projectId string) (*http.Response, error)
- func (a *NetworkInterfaceElasticRestControllerV2ApiService) GetNetworkInterfaceElasticUsingGET(ctx context.Context, networkInterfaceId string, projectId string) (DataResponseNetworkInterfaceElastic, *http.Response, error)
- func (a *NetworkInterfaceElasticRestControllerV2ApiService) ListNetworkInterfaceElasticUsingGET(ctx context.Context, projectId string, ...) (PagingNetworkInterfaceElastic, *http.Response, error)
- func (a *NetworkInterfaceElasticRestControllerV2ApiService) RenameNetworkInterfaceElasticUsingPUT(ctx context.Context, networkInterfaceId string, projectId string, ...) (DataResponseNetworkInterfaceElastic, *http.Response, error)
- type NetworkResponse
- type NetworkRestControllerApiService
- func (a *NetworkRestControllerApiService) CreateNetworkUsingPOST(ctx context.Context, createNetworkRequest CreateNetworkRequest, ...) (NetworkResponse, *http.Response, error)
- func (a *NetworkRestControllerApiService) DeleteNetworkUsingDELETE(ctx context.Context, deleteNetworkRequest DeleteNetworkRequest, ...) (BaseResponse, *http.Response, error)
- func (a *NetworkRestControllerApiService) EditNetworkUsingPUT(ctx context.Context, projectId string, ...) (NetworkResponse, *http.Response, error)
- func (a *NetworkRestControllerApiService) GetNetworkUsingGET(ctx context.Context, networkId string, projectId string) (NetworkResponse, *http.Response, error)
- func (a *NetworkRestControllerApiService) ListNetworkUsingGET(ctx context.Context, projectId string) (NetworkResponse, *http.Response, error)
- type NetworkRestControllerV2ApiListNetworkActiveUsingGETOpts
- type NetworkRestControllerV2ApiListNetworkUsingGET1Opts
- type NetworkRestControllerV2ApiService
- func (a *NetworkRestControllerV2ApiService) CreateNetworkUsingPOST1(ctx context.Context, createNetworkRequest CreateNetworkRequest, ...) (DataResponseNetworkDto, *http.Response, error)
- func (a *NetworkRestControllerV2ApiService) DeleteNetworkUsingDELETE1(ctx context.Context, networkId string, projectId string) (*http.Response, error)
- func (a *NetworkRestControllerV2ApiService) EditNetworkUsingPATCH(ctx context.Context, networkId string, projectId string, ...) (DataResponseNetworkDto, *http.Response, error)
- func (a *NetworkRestControllerV2ApiService) GetNetworkUsingGET1(ctx context.Context, networkId string, projectId string) (NetworkDto, *http.Response, error)
- func (a *NetworkRestControllerV2ApiService) ListNetworkActiveUsingGET(ctx context.Context, projectId string, ...) (PagingNetworkDto, *http.Response, error)
- func (a *NetworkRestControllerV2ApiService) ListNetworkUsingGET1(ctx context.Context, projectId string, ...) (PagingNetworkDto, *http.Response, error)
- type NodeConsoleResultDto
- type NodeGroupRequestModel
- type OsImage
- type OsImageBaseResponse
- type PackageLimit
- type PagingClusterDto
- type PagingElasticIpDetail
- type PagingInterfaceK8SClusterDetail
- type PagingInterfaceK8SClusterDto
- type PagingNetworkAclDto
- type PagingNetworkDto
- type PagingNetworkInterfaceElastic
- type PagingPersistentVolumeDto
- type PagingRouteTableDto
- type PagingSecgroupDto
- type PagingServer
- type PagingServerGroupDetail
- type PagingSimpleServer
- type PagingSimpleVolume
- type PagingSshKeyDto
- type PagingUserImage
- type PagingVipDto
- type PagingVirtualIpAddressDto
- type PagingVolume
- type PagingWanIpDto
- type PersistentVolumeDto
- type PersistentVolumeRestControllerV2ApiListPersistentVolumeUsingGETOpts
- type PersistentVolumeRestControllerV2ApiService
- func (a *PersistentVolumeRestControllerV2ApiService) DeletePersistentVolumeUsingDELETE(ctx context.Context, authorization string, portalUserId int32, ...) (DataResponse, *http.Response, error)
- func (a *PersistentVolumeRestControllerV2ApiService) ListPersistentVolumeUsingGET(ctx context.Context, authorization string, portalUserId int32, ...) (PagingPersistentVolumeDto, *http.Response, error)
- type PoolItem
- type ProjectInfo
- type ProjectResponse
- type ProjectRestControllerApiService
- func (a *ProjectRestControllerApiService) CreateProjectUsingPOST(ctx context.Context) (ProjectResponse, *http.Response, error)
- func (a *ProjectRestControllerApiService) GetProjectUsingGET(ctx context.Context, projectId string) (ProjectResponse, *http.Response, error)
- func (a *ProjectRestControllerApiService) ListProjectUsingGET(ctx context.Context) (ProjectResponse, *http.Response, error)
- type ProtocolRestControllerV2ApiService
- type Quota
- type QuotaResponse
- type QuotaRestControllerApiService
- func (a *QuotaRestControllerApiService) ListByUserUsingGET(ctx context.Context, projectId string, userId int32) (InterfaceProjectQuotaResponse, *http.Response, error)
- func (a *QuotaRestControllerApiService) ListQuotaUsedUsingGET(ctx context.Context, projectId string) (QuotaResponse, *http.Response, error)
- func (a *QuotaRestControllerApiService) ListUsingGET(ctx context.Context, projectId string) (InterfaceProjectQuotaResponse, *http.Response, error)
- type QuotaRestControllerV2ApiService
- type QuotaUsedDto
- type RecoverBandwidthRequest
- type RegionControllerV2ApiService
- func (a *RegionControllerV2ApiService) GetALlRegionUsingGET(ctx context.Context, projectId string) (DataResponseListRegionDto, *http.Response, error)
- func (a *RegionControllerV2ApiService) ListQuotaUsedUsingGET2(ctx context.Context, projectId string, regionId string) (DataResponseboolean, *http.Response, error)
- type RegionDto
- type RenameNetworkInterfaceRequest
- type RenameServerRequest
- type RenewBandwidthRequest
- type ResizeServerRequest
- type ResizeVolumeRequest
- type ResourceIp
- type RootDiskLimit
- type RouteModel
- type RouteRequest
- type RouteTableDto
- type RouteTableModel
- type RouteTableResponse
- type RouteTableRestControllerV2ApiService
- func (a *RouteTableRestControllerV2ApiService) CreateRouteTableUsingPOST1(ctx context.Context, createReq CreateRouteTableRequest, projectId string) (map[string]string, *http.Response, error)
- func (a *RouteTableRestControllerV2ApiService) DeleteRouteTableUsingDELETE1(ctx context.Context, projectId string, routeId string) (*http.Response, error)
- func (a *RouteTableRestControllerV2ApiService) GetRouteTableUsingGET1(ctx context.Context, projectId string, uuid string) (DataResponseRouteTableDto, *http.Response, error)
- func (a *RouteTableRestControllerV2ApiService) ListRouteFromRouteTableIdUsingGET(ctx context.Context, projectId string, routeTableId string) (DataResponseListRoutesDto, *http.Response, error)
- func (a *RouteTableRestControllerV2ApiService) ListRouteTableUsingGET(ctx context.Context, name string, page string, projectId string, size string) (PagingRouteTableDto, *http.Response, error)
- func (a *RouteTableRestControllerV2ApiService) UpdateRouteTableDetailUsingPUT(ctx context.Context, changeRoutesReq ChangeRoutesRequest, projectId string, ...) (*http.Response, error)
- type RouteTableUpdateRouteRequest
- type RouteTableUpdateSubnetRequest
- type RoutesDto
- type ScaleMinionBackendRequest
- type SdnSshKeyDeleteRequest
- type SecGroupDefault
- type SecGroupRuleDefault
- type SecGroupRuleDetail
- type Secgroup
- type SecgroupDto
- type SecgroupEntity
- type SecgroupResponse
- type SecgroupRestControllerApiService
- func (a *SecgroupRestControllerApiService) CreateSecgroupUsingPOST(ctx context.Context, createSecurityGroupRequest CreateSecurityGroupRequest, ...) (SecgroupResponse, *http.Response, error)
- func (a *SecgroupRestControllerApiService) DeleteSecgroupUsingDELETE(ctx context.Context, deleteSecurityGroupRequest DeleteSecurityGroupRequest, ...) (BaseResponse, *http.Response, error)
- func (a *SecgroupRestControllerApiService) GetForSimpleServerUsingGET(ctx context.Context, projectId string, serverId string) (SecgroupResponse, *http.Response, error)
- func (a *SecgroupRestControllerApiService) GetSecgroupUsingGET(ctx context.Context, projectId string, secgroupId string) (SecgroupResponse, *http.Response, error)
- func (a *SecgroupRestControllerApiService) ListSecgroupByInstanceUsingGET(ctx context.Context, projectId string, vmId string) (SecgroupResponse, *http.Response, error)
- func (a *SecgroupRestControllerApiService) ListSecgroupUsingGET(ctx context.Context, projectId string) (SecgroupResponse, *http.Response, error)
- func (a *SecgroupRestControllerApiService) UpdateSecgroupUsingPUT(ctx context.Context, editSecurityGroupRequest EditSecurityGroupRequest, ...) (SecgroupResponse, *http.Response, error)
- type SecgroupRestControllerV2ApiGetAlllistSecgroupUsingGETOpts
- type SecgroupRestControllerV2ApiService
- func (a *SecgroupRestControllerV2ApiService) CreateSecgroupUsingPOST1(ctx context.Context, createSecurityGroupRequest CreateSecurityGroupRequest, ...) (DataResponseSecgroupEntity, *http.Response, error)
- func (a *SecgroupRestControllerV2ApiService) DeleteSecgroupUsingDELETE1(ctx context.Context, projectId string, secgroupId string) (*http.Response, error)
- func (a *SecgroupRestControllerV2ApiService) GetAlllistSecgroupUsingGET(ctx context.Context, projectId string, ...) (PagingSecgroupDto, *http.Response, error)
- func (a *SecgroupRestControllerV2ApiService) GetListSecgroupRuleBySecgroupUsingGET(ctx context.Context, projectId string, secgroupId string) (DataResponseListSecgroupruleDto, *http.Response, error)
- func (a *SecgroupRestControllerV2ApiService) GetListServerBySecgroupUsingGET(ctx context.Context, projectId string, secgroupId string) (DataResponseListServerOfSecgroupDto, *http.Response, error)
- func (a *SecgroupRestControllerV2ApiService) GetSecgroupUsingGET1(ctx context.Context, projectId string, secgroupId string) (DataResponseSecgroupDto, *http.Response, error)
- func (a *SecgroupRestControllerV2ApiService) UpdateSecgroupUsingPUT1(ctx context.Context, editSecurityGroupRequest EditSecurityGroupRequest, ...) (DataResponseSecgroupDto, *http.Response, error)
- type SecgroupRule
- type SecgroupRuleEntity
- type SecgroupRuleResponse
- type SecgroupRuleRestControllerApiService
- func (a *SecgroupRuleRestControllerApiService) CreateSecgroupRuleUsingPOST(ctx context.Context, ...) (SecgroupRuleResponse, *http.Response, error)
- func (a *SecgroupRuleRestControllerApiService) DeleteSecgroupRuleUsingDELETE(ctx context.Context, ...) (BaseResponse, *http.Response, error)
- func (a *SecgroupRuleRestControllerApiService) GetSecgroupRuleUsingGET(ctx context.Context, projectId string, secgroupRuleId string) (SecgroupRuleResponse, *http.Response, error)
- func (a *SecgroupRuleRestControllerApiService) ListSecgroupRuleBySecgroupUsingGET(ctx context.Context, projectId string, secgroupId string) (SecgroupRuleResponse, *http.Response, error)
- func (a *SecgroupRuleRestControllerApiService) UpdateUsingPUT(ctx context.Context, projectId string, ...) (SecgroupRuleResponse, *http.Response, error)
- type SecgroupRuleRestControllerV2ApiService
- func (a *SecgroupRuleRestControllerV2ApiService) CreateSecgroupRuleUsingPOST1(ctx context.Context, ...) (DataResponseSecgroupRuleEntity, *http.Response, error)
- func (a *SecgroupRuleRestControllerV2ApiService) DeleteSecgroupRuleUsingDELETE1(ctx context.Context, projectId string, secgroupRuleId string, ...) (*http.Response, error)
- func (a *SecgroupRuleRestControllerV2ApiService) GetSecGroupRuleSamplesUsingGET(ctx context.Context, projectId string, secgroupId string) (DataResponseListSecurityGroupRulesSampleEntity, *http.Response, error)
- func (a *SecgroupRuleRestControllerV2ApiService) GetSecgroupRuleUsingGET1(ctx context.Context, projectId string, secgroupRuleId string, ...) (DataResponseListSecgroupruleDto, *http.Response, error)
- func (a *SecgroupRuleRestControllerV2ApiService) UpdateUsingPUT1(ctx context.Context, projectId string, secgroupRuleId string, ...) (DataResponseSecgroupruleDto, *http.Response, error)
- type SecgroupruleDto
- type SecurityGroupRulesSampleEntity
- type Server
- type ServerAction
- type ServerGroup
- type ServerGroupDetail
- type ServerGroupDto
- type ServerGroupPolicy
- type ServerGroupPolicyResponse
- type ServerGroupResponse
- type ServerGroupRestControllerApiService
- func (a *ServerGroupRestControllerApiService) CreateServerGroupUsingPOST(ctx context.Context, createServerGroupRequest CreateServerGroupRequest, ...) (ServerGroupResponse, *http.Response, error)
- func (a *ServerGroupRestControllerApiService) DeleteServerGroupUsingDELETE(ctx context.Context, deleteServerRequest DeleteServerGroupRequest, ...) (ServerGroupResponse, *http.Response, error)
- func (a *ServerGroupRestControllerApiService) GetServerGroupUsingGET(ctx context.Context, projectId string, serverGroupId string) (ServerGroupResponse, *http.Response, error)
- func (a *ServerGroupRestControllerApiService) ListServerGroupPolicyUsingGET(ctx context.Context, projectId string) (ServerGroupPolicyResponse, *http.Response, error)
- func (a *ServerGroupRestControllerApiService) ListServerGroupUsingGET(ctx context.Context, projectId string) (ServerGroupResponse, *http.Response, error)
- func (a *ServerGroupRestControllerApiService) UpdateServerGroupUsingPUT(ctx context.Context, projectId string, ...) (ServerGroupResponse, *http.Response, error)
- type ServerGroupRestControllerV2ApiService
- func (a *ServerGroupRestControllerV2ApiService) CreateServerGroupUsingPOST1(ctx context.Context, createServerGroupRequest CreateServerGroupRequest, ...) (DataResponseServerGroupDto, *http.Response, error)
- func (a *ServerGroupRestControllerV2ApiService) DeleteServerGroupUsingDELETE1(ctx context.Context, projectId string, serverGroupId string) (*http.Response, error)
- func (a *ServerGroupRestControllerV2ApiService) GetListServerGroupWithPagingUsingGET(ctx context.Context, name string, page string, projectId string, size string) (PagingServerGroupDetail, *http.Response, error)
- func (a *ServerGroupRestControllerV2ApiService) GetServerGroupUsingGET1(ctx context.Context, projectId string, serverGroupId string) (DataResponseServerGroupDto, *http.Response, error)
- func (a *ServerGroupRestControllerV2ApiService) ListServerGroupPolicyUsingGET1(ctx context.Context, projectId string) (DataResponseListServerGroupPolicy, *http.Response, error)
- func (a *ServerGroupRestControllerV2ApiService) UpdateServerGroupUsingPUT1(ctx context.Context, projectId string, serverGroupId string, ...) (DataResponseServerGroupDto, *http.Response, error)
- type ServerLimit
- type ServerNetworkInterfaceDetail
- type ServerOfSecgroupDto
- type ServerResponse
- type ServerRestControllerApiService
- func (a *ServerRestControllerApiService) CreateServerUsingPOST(ctx context.Context, createServerRequest CreateServerRequest, projectId string) (ServerResponse, *http.Response, error)
- func (a *ServerRestControllerApiService) DeleteServerUsingDELETE(ctx context.Context, deleteServerRequest DeleteServerRequest, projectId string) (ServerResponse, *http.Response, error)
- func (a *ServerRestControllerApiService) GetServerUsingGET(ctx context.Context, projectId string, serverId string) (ServerResponse, *http.Response, error)
- func (a *ServerRestControllerApiService) ListServerUsingGET(ctx context.Context, projectId string) (ServerResponse, *http.Response, error)
- func (a *ServerRestControllerApiService) RebootServerUsingPUT(ctx context.Context, projectId string, updateServerRequest UpdateServerRequest) (ServerResponse, *http.Response, error)
- func (a *ServerRestControllerApiService) ResizeServerUsingPUT(ctx context.Context, projectId string, resizeServerRequest ResizeServerRequest) (ServerResponse, *http.Response, error)
- func (a *ServerRestControllerApiService) ServerLimitUsingGET(ctx context.Context, projectId string) (ServerLimit, *http.Response, error)
- func (a *ServerRestControllerApiService) StartServerUsingPUT(ctx context.Context, projectId string, updateServerRequest UpdateServerRequest) (ServerResponse, *http.Response, error)
- func (a *ServerRestControllerApiService) StopServerUsingPUT(ctx context.Context, projectId string, updateServerRequest UpdateServerRequest) (ServerResponse, *http.Response, error)
- func (a *ServerRestControllerApiService) UpdateSecGroupServerUsingPUT(ctx context.Context, changeSecGroupRequest ChangeSecGroupRequest, ...) (ServerResponse, *http.Response, error)
- type ServerRestControllerV2ApiListServerUsingGET1Opts
- type ServerRestControllerV2ApiService
- func (a *ServerRestControllerV2ApiService) AttachExternalNetworkInterfaceUsingPOST(ctx context.Context, ...) (DataResponseInterfaceNetworkInterface, *http.Response, error)
- func (a *ServerRestControllerV2ApiService) AttachNetworkInterfaceUsingPOST(ctx context.Context, ...) (DataResponse, *http.Response, error)
- func (a *ServerRestControllerV2ApiService) AttachNetworkInterfaceWithWanIpUsingPOST(ctx context.Context, ...) (DataResponseInterfaceNetworkInterface, *http.Response, error)
- func (a *ServerRestControllerV2ApiService) AttachWanIPUsingPUT(ctx context.Context, attachDetachWanIPRequest AttachDetachWanIpRequest, ...) (*http.Response, error)
- func (a *ServerRestControllerV2ApiService) CreateServerUsingPOST1(ctx context.Context, createServerRequest CreateServerRequest, projectId string) (DataResponseServer, *http.Response, error)
- func (a *ServerRestControllerV2ApiService) DeleteServerUsingDELETE1(ctx context.Context, deleteServerRequest DeleteServerRequest, projectId string, ...) (DataResponse, *http.Response, error)
- func (a *ServerRestControllerV2ApiService) DetachExternalNetworkInterfaceUsingDELETE(ctx context.Context, ...) (*http.Response, error)
- func (a *ServerRestControllerV2ApiService) DetachNetworkInterfaceUsingDELETE(ctx context.Context, ...) (*http.Response, error)
- func (a *ServerRestControllerV2ApiService) DetachNetworkInterfaceWithWanIpUsingDELETE(ctx context.Context, ...) (*http.Response, error)
- func (a *ServerRestControllerV2ApiService) DetachWanIPUsingPUT(ctx context.Context, attachDetachWanIPRequest AttachDetachWanIpRequest, ...) (*http.Response, error)
- func (a *ServerRestControllerV2ApiService) GetConsoleLogUsingGET(ctx context.Context, projectId string, serverId string) (DataResponsestring, *http.Response, error)
- func (a *ServerRestControllerV2ApiService) GetConsoleUrlUsingGET(ctx context.Context, projectId string, serverId string) (DataResponsestring, *http.Response, error)
- func (a *ServerRestControllerV2ApiService) GetExternalNetworkInterfaceUsingGET(ctx context.Context, interfaceNetworkInterfaceId string, projectId string) (DataResponseInterfaceNetworkInterface, *http.Response, error)
- func (a *ServerRestControllerV2ApiService) GetServerUsingGET1(ctx context.Context, projectId string, serverId string) (DataResponseServer, *http.Response, error)
- func (a *ServerRestControllerV2ApiService) ListActionUsingGET(ctx context.Context, projectId string, serverId string) (DataResponseListServerAction, *http.Response, error)
- func (a *ServerRestControllerV2ApiService) ListNetworkInterfaceUsingGET(ctx context.Context, projectId string, serverId string) (DataResponseServerNetworkInterfaceDetail, *http.Response, error)
- func (a *ServerRestControllerV2ApiService) ListSecGroupUsingGET(ctx context.Context, projectId string, serverId string) (DataResponseServerSecGroupDetail, *http.Response, error)
- func (a *ServerRestControllerV2ApiService) ListServerUsingGET1(ctx context.Context, projectId string, ...) (PagingServer, *http.Response, error)
- func (a *ServerRestControllerV2ApiService) RebootServerUsingPUT1(ctx context.Context, projectId string, serverId string) (DataResponse, *http.Response, error)
- func (a *ServerRestControllerV2ApiService) RenameServerUsingPUT(ctx context.Context, projectId string, renameServerRequest RenameServerRequest, ...) (DataResponseServer, *http.Response, error)
- func (a *ServerRestControllerV2ApiService) ResizeServerUsingPUT1(ctx context.Context, projectId string, resizeServerRequest ResizeServerRequest, ...) (DataResponse, *http.Response, error)
- func (a *ServerRestControllerV2ApiService) StartServerUsingPUT1(ctx context.Context, projectId string, serverId string) (DataResponse, *http.Response, error)
- func (a *ServerRestControllerV2ApiService) StopServerUsingPUT1(ctx context.Context, projectId string, serverId string) (DataResponse, *http.Response, error)
- func (a *ServerRestControllerV2ApiService) UpdateSecGroupServerUsingPUT1(ctx context.Context, changeSecGroupRequest ChangeSecGroupRequest, ...) (DataResponse, *http.Response, error)
- type ServerSecGroup
- type ServerSecGroupDetail
- type SimpleClusterNodeGroupDto
- type SimpleServer
- type SimpleServerRestControllerApiListServerUsingGET2Opts
- type SimpleServerRestControllerApiService
- func (a *SimpleServerRestControllerApiService) DeleteServerUsingDELETE2(ctx context.Context, deleteServerRequest DeleteServerRequest, projectId string) (DataResponseSimpleServer, *http.Response, error)
- func (a *SimpleServerRestControllerApiService) GetConsoleServerUsingGET(ctx context.Context, projectId string, serverId string) (DataResponsestring, *http.Response, error)
- func (a *SimpleServerRestControllerApiService) GetServerUsingGET2(ctx context.Context, projectId string, serverId string) (DataResponseSimpleServer, *http.Response, error)
- func (a *SimpleServerRestControllerApiService) ListServerUsingGET2(ctx context.Context, projectId string, ...) (PagingSimpleServer, *http.Response, error)
- func (a *SimpleServerRestControllerApiService) RebootServerUsingPUT2(ctx context.Context, projectId string, updateServerRequest UpdateServerRequest) (DataResponseSimpleServer, *http.Response, error)
- func (a *SimpleServerRestControllerApiService) StartServerUsingPUT2(ctx context.Context, projectId string, updateServerRequest UpdateServerRequest) (DataResponseSimpleServer, *http.Response, error)
- func (a *SimpleServerRestControllerApiService) StopServerUsingPUT2(ctx context.Context, projectId string, updateServerRequest UpdateServerRequest) (DataResponseSimpleServer, *http.Response, error)
- type SimpleServerTaskDto
- type SimpleVolume
- type SimpleVolumeRestControllerApiListVolumeUsingGETOpts
- type SimpleVolumeRestControllerApiService
- func (a *SimpleVolumeRestControllerApiService) GetVolumeUsingGET(ctx context.Context, projectId string, volumeId string) (DataResponseSimpleServer, *http.Response, error)
- func (a *SimpleVolumeRestControllerApiService) ListVolumeUsingGET(ctx context.Context, projectId string, ...) (PagingSimpleVolume, *http.Response, error)
- type SshKey
- type SshKeyDto
- type SshKeyResponse
- type SshKeyRestControllerApiService
- func (a *SshKeyRestControllerApiService) CreateSSHKeyUsingPOST(ctx context.Context, createSSHKeyRequest CreateSshKeyRequest, projectId string) (SshKeyResponse, *http.Response, error)
- func (a *SshKeyRestControllerApiService) DeleteSSHKeyUsingDELETE(ctx context.Context, deleteSSHKeyRequest DeleteSshKeyRequest, projectId string) (BaseResponse, *http.Response, error)
- func (a *SshKeyRestControllerApiService) GetSSHKeyUsingGET(ctx context.Context, projectId string, sshKeyId string) (SshKeyResponse, *http.Response, error)
- func (a *SshKeyRestControllerApiService) ImportSSHKeyUsingPOST(ctx context.Context, importSSHKeyRequest ImportSshKeyRequest, projectId string) (SshKeyResponse, *http.Response, error)
- func (a *SshKeyRestControllerApiService) ListSSHKeyUsingGET(ctx context.Context, projectId string) (SshKeyResponse, *http.Response, error)
- type SshKeyRestControllerV2ApiService
- func (a *SshKeyRestControllerV2ApiService) CreateSSHKeyUsingPOST1(ctx context.Context, createSSHKeyRequest CreateSshKeyRequest, projectId string) (DataResponseSshKeyDto, *http.Response, error)
- func (a *SshKeyRestControllerV2ApiService) DeleteSSHKeyUsingDELETE1(ctx context.Context, projectId string, sshKeyId string) (*http.Response, error)
- func (a *SshKeyRestControllerV2ApiService) GetListSecgroupWithPagingUsingGET1(ctx context.Context, name string, page string, projectId string, size string) (PagingSshKeyDto, *http.Response, error)
- func (a *SshKeyRestControllerV2ApiService) GetSSHKeyUsingGET1(ctx context.Context, projectId string, sshKeyId string) (DataResponseSshKeyDto, *http.Response, error)
- func (a *SshKeyRestControllerV2ApiService) ImportSSHKeyUsingPOST1(ctx context.Context, importSSHKeyRequest ImportSshKeyRequest, projectId string) (DataResponseSshKeyDto, *http.Response, error)
- type Subnet
- type SubnetDto
- type SubnetResponse
- type SubnetRestControllerApiService
- func (a *SubnetRestControllerApiService) CreateSubnetUsingPOST(ctx context.Context, createSubnetRequest CreateSubnetRequest, projectId string) (SubnetResponse, *http.Response, error)
- func (a *SubnetRestControllerApiService) DeleteSubnetUsingDELETE(ctx context.Context, deleteSubnetRequest DeleteSubnetRequest, projectId string) (BaseResponse, *http.Response, error)
- func (a *SubnetRestControllerApiService) GetMpPublicInterfaceUsingGET(ctx context.Context, projectId string) (SubnetResponse, *http.Response, error)
- func (a *SubnetRestControllerApiService) GetSubnetUsingGET(ctx context.Context, projectId string, subnetId string) (SubnetResponse, *http.Response, error)
- func (a *SubnetRestControllerApiService) ListSubnetsByNetworkUsingGET(ctx context.Context, networkId string, projectId string) (SubnetResponse, *http.Response, error)
- type SubnetRestControllerV2ApiService
- func (a *SubnetRestControllerV2ApiService) CreateSubnetUsingPOST1(ctx context.Context, createSubnetRequest CreateSubnetRequest, networkId string, ...) (DataResponseSubnetDto, *http.Response, error)
- func (a *SubnetRestControllerV2ApiService) DeleteNetworkUsingDELETE2(ctx context.Context, projectId string, subnetId string, networkId string) (*http.Response, error)
- func (a *SubnetRestControllerV2ApiService) EditSubnetUsingPATCH(ctx context.Context, projectId string, subnetId string, ...) (DataResponseSubnetDto, *http.Response, error)
- func (a *SubnetRestControllerV2ApiService) GetSubnetByIdUsingGET(ctx context.Context, networkId string, projectId string, subnetId string) (SubnetDto, *http.Response, error)
- func (a *SubnetRestControllerV2ApiService) ListSubnetOfNetworkUsingGET(ctx context.Context, networkId string, projectId string) ([]SubnetDto, *http.Response, error)
- type TagRequest
- type Timestamp
- type TypeItemCondition
- type TypesItem
- type UpdateClusterDescriptionRequest
- type UpdateClusterSecGroupRequest
- type UpdateNetworkAclRulesRequest
- type UpdateNetworkAclSubnetsRequest
- type UpdateNetworkRequest
- type UpdateQuota
- type UpdateQuotaVsgRequest
- type UpdateSecurityGroupRuleRequest
- type UpdateServerGroupRequest
- type UpdateServerGroupRequestV2
- type UpdateServerRequest
- type UpdateSubnetRequest
- type UpdateTaskStatusRequest
- type UpdateVirtualIpAddressRequest
- type UpdatedAclPolicyRule
- type UpdatedRoute
- type UserImage
- type UserImageRestControllerV2ApiListImageUsingGETOpts
- type UserImageRestControllerV2ApiService
- func (a *UserImageRestControllerV2ApiService) CreateImageUsingPOST(ctx context.Context, createUserImageRequest CreateUserImageRequest, ...) (DataResponse, *http.Response, error)
- func (a *UserImageRestControllerV2ApiService) DeleteImageUsingDELETE(ctx context.Context, imageId string, projectId string) (*http.Response, error)
- func (a *UserImageRestControllerV2ApiService) ListImageByIdUsingGET(ctx context.Context, imageId string, projectId string) (UserImage, *http.Response, error)
- func (a *UserImageRestControllerV2ApiService) ListImageUsingGET(ctx context.Context, projectId string, ...) (PagingUserImage, *http.Response, error)
- type UserService
- type VipDto
- type VirtualIpAddressDto
- type VirtualIpAddressNetworkEntity
- type VirtualIpAddressRestControllerV2ApiService
- func (a *VirtualIpAddressRestControllerV2ApiService) AddAddressPairUsingPOST(ctx context.Context, createReq CreateAddressPairRequest, projectId string, ...) (DataResponseVirtualIpAddressNetworkEntity, *http.Response, error)
- func (a *VirtualIpAddressRestControllerV2ApiService) CreateVirtualIpAddressUsingPOST(ctx context.Context, createReq CreateVirtualIpAddressRequest, projectId string) (DataResponseVipDto, *http.Response, error)
- func (a *VirtualIpAddressRestControllerV2ApiService) DeleteVirtualIpAddressUsingDELETE(ctx context.Context, projectId string, virtualIpAddressId string) (*http.Response, error)
- func (a *VirtualIpAddressRestControllerV2ApiService) GetListAddressPairUsingGET(ctx context.Context, projectId string, virtualIpAddressId string) (DataResponseListAddressPairDto, *http.Response, error)
- func (a *VirtualIpAddressRestControllerV2ApiService) GetListVirtualIpAddressWithPagingUsingGET(ctx context.Context, name string, page string, projectId string, size string) (PagingVipDto, *http.Response, error)
- func (a *VirtualIpAddressRestControllerV2ApiService) GetSpecificAddressPairUsingGET(ctx context.Context, projectId string, virtualIpAddressId string, ...) (DataResponseAddressPairDto, *http.Response, error)
- func (a *VirtualIpAddressRestControllerV2ApiService) GetVirtualIpAddressUsingGET(ctx context.Context, projectId string, vipId string) (DataResponseVipDto, *http.Response, error)
- func (a *VirtualIpAddressRestControllerV2ApiService) ListInternalNetworkInterfaceUsingGET(ctx context.Context, projectId string) (DataResponseListInternalNetworkInterfaceDto, *http.Response, error)
- func (a *VirtualIpAddressRestControllerV2ApiService) RemoveAddressPairUsingDELETE(ctx context.Context, addressPairId string, projectId string) (*http.Response, error)
- func (a *VirtualIpAddressRestControllerV2ApiService) UpdateUsingPUT3(ctx context.Context, projectId string, updateReq UpdateVirtualIpAddressRequest, ...) (DataResponseVipDto, *http.Response, error)
- type Volume
- type VolumeAction
- type VolumeResponse
- type VolumeRestControllerApiService
- func (a *VolumeRestControllerApiService) AttachVolumeUsingPUT(ctx context.Context, attachVolumeRequest AttachVolumeRequest, projectId string) (VolumeResponse, *http.Response, error)
- func (a *VolumeRestControllerApiService) CreateVolumeUsingPOST(ctx context.Context, createVolumeRequest CreateVolumeRequest, projectId string) (VolumeResponse, *http.Response, error)
- func (a *VolumeRestControllerApiService) DeleteVolumeUsingDELETE(ctx context.Context, deleteVolumeRequest DeleteVolumeRequest, projectId string) (VolumeResponse, *http.Response, error)
- func (a *VolumeRestControllerApiService) DetachVolumeUsingPUT(ctx context.Context, detachVolumeRequest DetachVolumeRequest, projectId string) (VolumeResponse, *http.Response, error)
- func (a *VolumeRestControllerApiService) GetBootVolumeByInstanceIdUsingGET(ctx context.Context, projectId string, serverId string) (VolumeResponse, *http.Response, error)
- func (a *VolumeRestControllerApiService) GetVolumeByInstanceIdUsingGET(ctx context.Context, projectId string, serverId string) (VolumeResponse, *http.Response, error)
- func (a *VolumeRestControllerApiService) GetVolumeUsingGET1(ctx context.Context, projectId string, volumeId string) (VolumeResponse, *http.Response, error)
- func (a *VolumeRestControllerApiService) ListEncryptionUsingGET(ctx context.Context, projectId string) ([]EncryptionType, *http.Response, error)
- func (a *VolumeRestControllerApiService) ListVolumeUsingGET1(ctx context.Context, projectId string) (VolumeResponse, *http.Response, error)
- func (a *VolumeRestControllerApiService) ResizeVolumeUsingPUT(ctx context.Context, projectId string, resizeVolumeRequest ResizeVolumeRequest) (VolumeResponse, *http.Response, error)
- type VolumeRestControllerV2ApiListVolumeUsingGET2Opts
- type VolumeRestControllerV2ApiService
- func (a *VolumeRestControllerV2ApiService) AttachVolumeUsingPUT1(ctx context.Context, attachVolumeRequest AttachVolumeRequest, projectId string, ...) (DataResponseVolume, *http.Response, error)
- func (a *VolumeRestControllerV2ApiService) CreateVolumeUsingPOST1(ctx context.Context, createVolumeRequest CreateVolumeRequest, projectId string) (DataResponseVolume, *http.Response, error)
- func (a *VolumeRestControllerV2ApiService) DeleteVolumeUsingDELETE1(ctx context.Context, projectId string, volumeId string) (DataResponseVolume, *http.Response, error)
- func (a *VolumeRestControllerV2ApiService) DetachVolumeUsingPUT1(ctx context.Context, detachVolumeRequest DetachVolumeRequest, projectId string, ...) (DataResponseVolume, *http.Response, error)
- func (a *VolumeRestControllerV2ApiService) GetBootVolumeByInstanceIdUsingGET1(ctx context.Context, projectId string, serverId string) (VolumeResponse, *http.Response, error)
- func (a *VolumeRestControllerV2ApiService) GetVolumeByInstanceIdUsingGET1(ctx context.Context, projectId string, serverId string) (VolumeResponse, *http.Response, error)
- func (a *VolumeRestControllerV2ApiService) GetVolumeUsingGET2(ctx context.Context, projectId string, volumeId string) (DataResponseVolume, *http.Response, error)
- func (a *VolumeRestControllerV2ApiService) ListVolumeHistoryUsingGET(ctx context.Context, projectId string, volumeId string) ([]VolumeAction, *http.Response, error)
- func (a *VolumeRestControllerV2ApiService) ListVolumeUsingGET2(ctx context.Context, projectId string, ...) (PagingVolume, *http.Response, error)
- func (a *VolumeRestControllerV2ApiService) ResizeVolumeUsingPUT1(ctx context.Context, projectId string, resizeVolumeRequest ResizeVolumeRequest, ...) (DataResponseVolume, *http.Response, error)
- type VolumeType
- type VolumeTypeResponse
- type VolumeTypeRestControllerApiService
- func (a *VolumeTypeRestControllerApiService) GetVolumeTypeUsingGET(ctx context.Context, projectId string, volumeTypeId string) (VolumeTypeResponse, *http.Response, error)
- func (a *VolumeTypeRestControllerApiService) ListVolumeTypeUsingGET(ctx context.Context, projectId string, volumeTypeZoneId string) (VolumeTypeResponse, *http.Response, error)
- type VolumeTypeZone
- type VolumeTypeZoneResponse
- type VolumeTypeZoneRestControllerApiService
- func (a *VolumeTypeZoneRestControllerApiService) GetVolumeTypeZoneUsingGET(ctx context.Context, projectId string, volumeTypeZoneId string) (VolumeTypeZoneResponse, *http.Response, error)
- func (a *VolumeTypeZoneRestControllerApiService) ListVolumeTypeZoneUsingGET(ctx context.Context, projectId string) (VolumeTypeZoneResponse, *http.Response, error)
- type VpcExternalCallbackControllerApiService
- type VpcInfo
- type WanIpDto
- type WanIpRestControllerV2ApiListWanIpUsingGETOpts
- type WanIpRestControllerV2ApiService
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes a oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKey takes an APIKey as authentication for the request ContextAPIKey = contextKey("apikey") )
Functions ¶
Types ¶
type APIClient ¶
type APIClient struct { AttachmentControllerApi *AttachmentControllerApiService BandwidthControllerApi *BandwidthControllerApiService ElasticIpRestControllerV2Api *ElasticIpRestControllerV2ApiService FlavorRestControllerApi *FlavorRestControllerApiService FlavorZoneRestControllerApi *FlavorZoneRestControllerApiService ImageRestControllerApi *ImageRestControllerApiService K8SClusterRestControllerApi *K8SClusterRestControllerV2ApiService NetworkAclRestControllerApi *NetworkAclRestControllerV2ApiService NetworkInterfaceElasticRestControllerApi *NetworkInterfaceElasticRestControllerV2ApiService NetworkRestControllerApi *NetworkRestControllerV2ApiService PersistentVolumeRestControllerApi *PersistentVolumeRestControllerV2ApiService ProjectRestControllerApi *ProjectRestControllerApiService ProtocolRestControllerApi *ProtocolRestControllerV2ApiService QuotaRestControllerApi *QuotaRestControllerV2ApiService RouteTableControllerApi *RouteTableRestControllerV2ApiService SecgroupRestControllerApi *SecgroupRestControllerV2ApiService SecgroupRuleRestControllerApi *SecgroupRuleRestControllerV2ApiService ServerGroupRestControllerApi *ServerGroupRestControllerV2ApiService ServerRestControllerApi *ServerRestControllerV2ApiService SshKeyRestControllerApi *SshKeyRestControllerV2ApiService SubnetRestControllerApi *SubnetRestControllerV2ApiService UserImageRestControllerV2Api *UserImageRestControllerV2ApiService VirtualIpAddressRestControllerV2Api *VirtualIpAddressRestControllerV2ApiService VolumeRestControllerApi *VolumeRestControllerV2ApiService VolumeTypeRestControllerApi *VolumeTypeRestControllerApiService VolumeTypeZoneRestControllerApi *VolumeTypeZoneRestControllerApiService NetworkInterfaceRestControllerApi *NetworkInterfaceElasticRestControllerV2ApiService VpcExternalCallbackControllerApi *VpcExternalCallbackControllerApiService WanIpRestControllerApi *WanIpRestControllerV2ApiService // contains filtered or unexported fields }
APIClient manages communication with the Api Documentation API v1.0.5 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) ChangeBasePath ¶
Change base path to allow switching to mocks
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the swagger operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
type AclPolicyRule ¶ added in v0.0.9
type AclPolicyRule struct { Action string `json:"action,omitempty"` CreatedAt time.Time `json:"createdAt,omitempty"` InterfaceAclPolicyUuid string `json:"interfaceAclPolicyUuid,omitempty"` Port string `json:"port,omitempty"` Protocol string `json:"protocol,omitempty"` SeqNumber int32 `json:"seqNumber,omitempty"` Source string `json:"source,omitempty"` Type_ string `json:"type,omitempty"` Uuid string `json:"uuid,omitempty"` }
type AddressPairDto ¶ added in v0.0.15
type AttachDetachWanIpRequest ¶ added in v0.0.15
type AttachDetachWanIpRequest struct { // Id of network interface NetworkInterfaceId string `json:"networkInterfaceId,omitempty"` }
Attach Detach Wan IP Request
type AttachExternalNetworkInterfaceRequest ¶ added in v0.0.15
type AttachExternalNetworkInterfaceRequest struct { // External network interface id ExternalNetworkInterfaceId string `json:"externalNetworkInterfaceId,omitempty"` }
Attach External Network Interface Request
type AttachNetworkInterfaceRequest ¶ added in v0.0.15
type AttachNetworkInterfaceRequest struct { // List Id of subnet SubnetIds []string `json:"subnetIds,omitempty"` }
Attach Network Interface Request
type AttachNetworkInterfaceWithWanIpRequest ¶ added in v1.2.0
type AttachNetworkInterfaceWithWanIpRequest struct { // IP of subnet Ip string `json:"ip,omitempty"` // Id of server ServerId string `json:"serverId,omitempty"` // Id of subnet SubnetId string `json:"subnetId,omitempty"` // Tags of resource Tags []TagRequest `json:"tags,omitempty"` // Id of wan IP WanIpId string `json:"wanIpId,omitempty"` }
Attach Network Interface With Subnet And Floating Ip Request
type AttachToLoadBalancerBackendRequest ¶ added in v1.2.0
type AttachToLoadBalancerBackendRequest struct { // Id of cluster ClusterId string `json:"clusterId,omitempty"` LoadBalancers []LoadBalancerItem `json:"loadBalancers,omitempty"` RemovePoolWithAnotherMonitorPort bool `json:"removePoolWithAnotherMonitorPort,omitempty"` }
Attach To Load Balancer Request
type AttachmentControllerApiService ¶ added in v0.0.15
type AttachmentControllerApiService service
func (*AttachmentControllerApiService) ListAttachmentByServerUsingGET ¶ added in v0.0.15
func (a *AttachmentControllerApiService) ListAttachmentByServerUsingGET(ctx context.Context, projectId string, serverUuid string) (AttachmentResponse, *http.Response, error)
AttachmentControllerApiService Get list attached instance of server
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param serverUuid The server id
@return AttachmentResponse
func (*AttachmentControllerApiService) ListAttachmentUsingGET ¶ added in v0.0.15
func (a *AttachmentControllerApiService) ListAttachmentUsingGET(ctx context.Context, projectId string, uuid string) (AttachmentResponse, *http.Response, error)
AttachmentControllerApiService Get list attached instance of multi attach volume
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param uuid The volume id
@return AttachmentResponse
type AttachmentEntity ¶ added in v0.0.15
type AttachmentEntity struct { CreatedAt *Timestamp `json:"createdAt,omitempty"` DeletedAt *Timestamp `json:"deletedAt,omitempty"` Id int32 `json:"id,omitempty"` InterfaceInstanceUuid string `json:"interfaceInstanceUuid,omitempty"` InterfaceVolumeUuid string `json:"interfaceVolumeUuid,omitempty"` ProjectId string `json:"projectId,omitempty"` }
type AttachmentResponse ¶ added in v0.0.15
type AttachmentResponse struct { AttachmentList []AttachmentEntity `json:"attachmentList,omitempty"` ErrorCode int32 `json:"errorCode,omitempty"` ErrorMsg string `json:"errorMsg,omitempty"` Extra interface{} `json:"extra,omitempty"` Success bool `json:"success,omitempty"` }
type BandwidthControllerApiService ¶ added in v1.2.0
type BandwidthControllerApiService service
func (*BandwidthControllerApiService) ChangeTypeBandwidthUsingPUT ¶ added in v1.2.0
func (a *BandwidthControllerApiService) ChangeTypeBandwidthUsingPUT(ctx context.Context, changeTypeBandwidthRequest ChangeTypeBandwidthRequest, projectId string) (BandwidthResponse, *http.Response, error)
BandwidthControllerApiService Change type bandwidth
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param changeTypeBandwidthRequest changeTypeBandwidthRequest
- @param projectId The project id
@return BandwidthResponse
func (*BandwidthControllerApiService) CreateBandwidthUsingPOST ¶ added in v1.2.0
func (a *BandwidthControllerApiService) CreateBandwidthUsingPOST(ctx context.Context, createBandwidthRequest CreateBandwidthRequest, projectId string) (BandwidthResponse, *http.Response, error)
BandwidthControllerApiService Create bandwidth
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param createBandwidthRequest createBandwidthRequest
- @param projectId The project id
@return BandwidthResponse
func (*BandwidthControllerApiService) DeleteBandwidthUsingDELETE ¶ added in v1.2.0
func (a *BandwidthControllerApiService) DeleteBandwidthUsingDELETE(ctx context.Context, deleteBandwidthRequest DeleteBandwidthRequest, projectId string) (BaseResponse, *http.Response, error)
BandwidthControllerApiService Delete bandwidth
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param deleteBandwidthRequest deleteBandwidthRequest
- @param projectId The project id
@return BaseResponse
func (*BandwidthControllerApiService) GetBandwidthUsingGET ¶ added in v1.2.0
func (a *BandwidthControllerApiService) GetBandwidthUsingGET(ctx context.Context, projectId string, uuid string) (BandwidthResponse, *http.Response, error)
BandwidthControllerApiService Get Bandwidth
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param uuid The bandwidth id
@return BandwidthResponse
func (*BandwidthControllerApiService) ListAllTrafficUsingGET ¶ added in v1.2.0
func (a *BandwidthControllerApiService) ListAllTrafficUsingGET(ctx context.Context, projectId string) (BandwidthTrafficResponse, *http.Response, error)
BandwidthControllerApiService List all traffic
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
@return BandwidthTrafficResponse
func (*BandwidthControllerApiService) ListBandwidthsUsingGET ¶ added in v1.2.0
func (a *BandwidthControllerApiService) ListBandwidthsUsingGET(ctx context.Context, projectId string) (BandwidthResponse, *http.Response, error)
BandwidthControllerApiService List Bandwidths
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
@return BandwidthResponse
func (*BandwidthControllerApiService) ListPackagesUsingGET ¶ added in v1.2.0
func (a *BandwidthControllerApiService) ListPackagesUsingGET(ctx context.Context, projectId string) (BandwidthPackageResponse, *http.Response, error)
BandwidthControllerApiService List Bandwidth Packages
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
@return BandwidthPackageResponse
func (*BandwidthControllerApiService) ListResourceIpsUsingGET ¶ added in v1.2.0
func (a *BandwidthControllerApiService) ListResourceIpsUsingGET(ctx context.Context, listResourceIpRequest ListResourceIpRequest, projectId string) (BandwidthResourceIpResponse, *http.Response, error)
BandwidthControllerApiService List resource IPs
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param listResourceIpRequest listResourceIpRequest
- @param projectId The project id
@return BandwidthResourceIpResponse
func (*BandwidthControllerApiService) RecoverBandwidthUsingPUT ¶ added in v1.2.0
func (a *BandwidthControllerApiService) RecoverBandwidthUsingPUT(ctx context.Context, projectId string, recoverBandwidthRequest RecoverBandwidthRequest) (BandwidthResponse, *http.Response, error)
BandwidthControllerApiService Recover bandwidth
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param recoverBandwidthRequest recoverBandwidthRequest
@return BandwidthResponse
func (*BandwidthControllerApiService) RenewBandwidthUsingPUT ¶ added in v1.2.0
func (a *BandwidthControllerApiService) RenewBandwidthUsingPUT(ctx context.Context, projectId string, renewBandwidthRequest RenewBandwidthRequest) (BaseResponse, *http.Response, error)
BandwidthControllerApiService Renew bandwidth
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param renewBandwidthRequest renewBandwidthRequest
@return BaseResponse
type BandwidthModel ¶ added in v0.0.15
type BandwidthModel struct { Area string `json:"area,omitempty"` BackendEnable bool `json:"backendEnable,omitempty"` BackendType string `json:"backendType,omitempty"` CreatedAt time.Time `json:"createdAt,omitempty"` Description string `json:"description,omitempty"` Id int64 `json:"id,omitempty"` Ip string `json:"ip,omitempty"` OldSystemBandwidthVolume string `json:"oldSystemBandwidthVolume,omitempty"` OldSystemBandwidthVolumeUpdatedAt time.Time `json:"oldSystemBandwidthVolumeUpdatedAt,omitempty"` PackageDomDedi string `json:"packageDomDedi,omitempty"` PackageIntDedi string `json:"packageIntDedi,omitempty"` PackagePayg string `json:"packagePayg,omitempty"` PackageType string `json:"packageType,omitempty"` ProjectUuid string `json:"projectUuid,omitempty"` ResourceType string `json:"resourceType,omitempty"` Status string `json:"status,omitempty"` TotalVolume int64 `json:"totalVolume,omitempty"` Trash int64 `json:"trash,omitempty"` UpdatedAt time.Time `json:"updatedAt,omitempty"` UsedVolume int64 `json:"usedVolume,omitempty"` UserId int64 `json:"userId,omitempty"` Uuid string `json:"uuid,omitempty"` }
type BandwidthPackageModel ¶ added in v0.0.15
type BandwidthPackageModel struct { Area string `json:"area,omitempty"` DisplayArea string `json:"displayArea,omitempty"` DisplayName string `json:"displayName,omitempty"` Id int32 `json:"id,omitempty"` In int64 `json:"in,omitempty"` MonthlyCost float64 `json:"monthlyCost,omitempty"` Name string `json:"name,omitempty"` Out int64 `json:"out,omitempty"` PriceKey string `json:"priceKey,omitempty"` PriceValue int64 `json:"priceValue,omitempty"` Type_ string `json:"type,omitempty"` Unit string `json:"unit,omitempty"` UserType string `json:"userType,omitempty"` Volume int64 `json:"volume,omitempty"` }
type BandwidthPackageResponse ¶ added in v0.0.15
type BandwidthPackageResponse struct { BandwidthPackage *BandwidthPackageModel `json:"bandwidthPackage,omitempty"` BandwidthPackages []BandwidthPackageModel `json:"bandwidthPackages,omitempty"` ErrorCode int32 `json:"errorCode,omitempty"` ErrorMsg string `json:"errorMsg,omitempty"` Extra interface{} `json:"extra,omitempty"` Success bool `json:"success,omitempty"` }
type BandwidthResourceIpResponse ¶ added in v0.0.15
type BandwidthResourceIpResponse struct { ErrorCode int32 `json:"errorCode,omitempty"` ErrorMsg string `json:"errorMsg,omitempty"` Extra interface{} `json:"extra,omitempty"` ResourceIps []ResourceIp `json:"resourceIps,omitempty"` Success bool `json:"success,omitempty"` }
type BandwidthResponse ¶ added in v0.0.15
type BandwidthResponse struct { Bandwidth *BandwidthModel `json:"bandwidth,omitempty"` Bandwidths []BandwidthModel `json:"bandwidths,omitempty"` ErrorCode int32 `json:"errorCode,omitempty"` ErrorMsg string `json:"errorMsg,omitempty"` Extra interface{} `json:"extra,omitempty"` Success bool `json:"success,omitempty"` }
type BandwidthTrafficHistoryModel ¶ added in v0.0.15
type BandwidthTrafficHistoryModel struct { BandwidthUuid string `json:"bandwidthUuid,omitempty"` CreatedAt string `json:"createdAt,omitempty"` Id int32 `json:"id,omitempty"` RemainVolume int64 `json:"remainVolume,omitempty"` UpdatedAt time.Time `json:"updatedAt,omitempty"` UsedVolume int64 `json:"usedVolume,omitempty"` }
type BandwidthTrafficResponse ¶ added in v0.0.15
type BandwidthTrafficResponse struct { BandwidthTrafficHistories []BandwidthTrafficHistoryModel `json:"bandwidthTrafficHistories,omitempty"` BandwidthTrafficHistory *BandwidthTrafficHistoryModel `json:"bandwidthTrafficHistory,omitempty"` ErrorCode int32 `json:"errorCode,omitempty"` ErrorMsg string `json:"errorMsg,omitempty"` Extra interface{} `json:"extra,omitempty"` Success bool `json:"success,omitempty"` }
type BaseResponse ¶
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type CallbackResponse ¶ added in v0.0.15
type ChangeRoutesRequest ¶ added in v1.2.0
type ChangeRoutesRequest struct { // The updated routes list of route-table Routes []RouteRequest `json:"routes,omitempty"` }
type ChangeSecGroupRequest ¶
type ChangeSecGroupRequest struct { // Id of the SecGroups SecurityGroup []string `json:"securityGroup,omitempty"` // Id of server ServerId string `json:"serverId"` }
Update Server Request
type ChangeTypeBandwidthRequest ¶ added in v0.0.15
type ClusterConfigResultDto ¶ added in v1.2.0
type ClusterConfigResultDto struct {
Configuration string `json:"configuration,omitempty"`
}
type ClusterDto ¶ added in v1.2.0
type ClusterDto struct { AclId string `json:"aclId,omitempty"` AutoHealingEnabled bool `json:"autoHealingEnabled,omitempty"` AutoMonitoringEnabled bool `json:"autoMonitoringEnabled,omitempty"` AutoScalingEnabled bool `json:"autoScalingEnabled,omitempty"` BootVolumeSize int32 `json:"bootVolumeSize,omitempty"` BootVolumeTypeId string `json:"bootVolumeTypeId,omitempty"` CalicoCidr string `json:"calicoCidr,omitempty"` ClusterId int32 `json:"clusterId,omitempty"` CreatedAt time.Time `json:"createdAt,omitempty"` Description string `json:"description,omitempty"` DockerVolumeSize int32 `json:"dockerVolumeSize,omitempty"` DockerVolumeTypeId string `json:"dockerVolumeTypeId,omitempty"` EnabledLb bool `json:"enabledLb,omitempty"` Endpoint string `json:"endpoint,omitempty"` EtcdVolumeSize int32 `json:"etcdVolumeSize,omitempty"` EtcdVolumeTypeId string `json:"etcdVolumeTypeId,omitempty"` IngressControllerEnabled bool `json:"ingressControllerEnabled,omitempty"` K8sNetworkType string `json:"k8sNetworkType,omitempty"` K8sNetworkTypeId string `json:"k8sNetworkTypeId,omitempty"` K8sVersion string `json:"k8sVersion,omitempty"` K8sVersionId string `json:"k8sVersionId,omitempty"` MasterClusterSecGroupIdList []string `json:"masterClusterSecGroupIdList,omitempty"` MasterCount int32 `json:"masterCount,omitempty"` MasterFlavorId string `json:"masterFlavorId,omitempty"` MasterFlavorName string `json:"masterFlavorName,omitempty"` MasterInstanceTypeId string `json:"masterInstanceTypeId,omitempty"` MaxNodeCount int32 `json:"maxNodeCount,omitempty"` MinNodeCount int32 `json:"minNodeCount,omitempty"` MinionClusterSecGroupIdList []string `json:"minionClusterSecGroupIdList,omitempty"` Name string `json:"name,omitempty"` NetworkId string `json:"networkId,omitempty"` NodeCount int32 `json:"nodeCount,omitempty"` NodeFlavorId string `json:"nodeFlavorId,omitempty"` NodeFlavorName string `json:"nodeFlavorName,omitempty"` NodeInstanceTypeId string `json:"nodeInstanceTypeId,omitempty"` NodegroupDefaultId string `json:"nodegroupDefaultId,omitempty"` ProjectId string `json:"projectId,omitempty"` SshKeyId string `json:"sshKeyId,omitempty"` SshKeyName string `json:"sshKeyName,omitempty"` Status string `json:"status,omitempty"` SubnetId string `json:"subnetId,omitempty"` Uuid string `json:"uuid,omitempty"` }
type ClusterNodeDto ¶ added in v1.2.0
type ClusterNodeDto struct { ClusterId int64 `json:"clusterId,omitempty"` DateCreated string `json:"dateCreated,omitempty"` DateDeleted string `json:"dateDeleted,omitempty"` FixedIp string `json:"fixedIp,omitempty"` FloatingIp string `json:"floatingIp,omitempty"` IsMaster int64 `json:"isMaster,omitempty"` Name string `json:"name,omitempty"` NodeGroupId int32 `json:"nodeGroupId,omitempty"` ProjectId int64 `json:"projectId,omitempty"` Secgroup interface{} `json:"secgroup,omitempty"` Status string `json:"status,omitempty"` VmUuid string `json:"vmUuid,omitempty"` }
type ClusterNodeGroupDto ¶ added in v1.2.0
type ClusterNodeGroupDto struct { ClusterId string `json:"clusterId,omitempty"` ClusterNodeGroupId int32 `json:"clusterNodeGroupId,omitempty"` CreatedAt time.Time `json:"createdAt,omitempty"` FlavorId string `json:"flavorId,omitempty"` FlavorName string `json:"flavorName,omitempty"` Name string `json:"name,omitempty"` NodeCount int32 `json:"nodeCount,omitempty"` NodeGroupDefault bool `json:"nodeGroupDefault,omitempty"` ProjectId string `json:"projectId,omitempty"` Status string `json:"status,omitempty"` Uuid string `json:"uuid,omitempty"` }
type ClusterPoolDto ¶ added in v1.2.0
type ClusterPoolDto struct { ClusterId string `json:"clusterId,omitempty"` CreatedAt time.Time `json:"createdAt,omitempty"` Id int32 `json:"id,omitempty"` LoadBalancerId string `json:"loadBalancerId,omitempty"` MonitorPort int32 `json:"monitorPort,omitempty"` PoolId string `json:"poolId,omitempty"` PoolName string `json:"poolName,omitempty"` Port int32 `json:"port,omitempty"` ProjectId string `json:"projectId,omitempty"` UpdatedAt time.Time `json:"updatedAt,omitempty"` Uuid string `json:"uuid,omitempty"` }
type ClusterSecGroupDefaultDto ¶ added in v1.2.0
type ClusterSecGroupDefaultDto struct { Master *SecGroupDefault `json:"master,omitempty"` Minion *SecGroupDefault `json:"minion,omitempty"` }
type ClusterSecGroupDto ¶ added in v1.2.0
type ClusterSecGroupDto struct { ClusterId string `json:"clusterId,omitempty"` CreatedAt time.Time `json:"createdAt,omitempty"` Master bool `json:"master,omitempty"` ProjectId string `json:"projectId,omitempty"` SecGroupId string `json:"secGroupId,omitempty"` SecGroupName string `json:"secGroupName,omitempty"` UpdatedAt time.Time `json:"updatedAt,omitempty"` Uuid string `json:"uuid,omitempty"` }
type ClusterSecgroupDefault ¶ added in v1.2.0
type ClusterSecgroupDefault struct { Master *SecGroupDefault `json:"master,omitempty"` Minion *SecGroupDefault `json:"minion,omitempty"` }
type ClusterVolumeDto ¶ added in v1.2.0
type ClusterVolumeDto struct { ClusterId int64 `json:"clusterId,omitempty"` DateCreated string `json:"dateCreated,omitempty"` Iops int32 `json:"iops,omitempty"` Name string `json:"name,omitempty"` ProjectId int64 `json:"projectId,omitempty"` Size int64 `json:"size,omitempty"` Status string `json:"status,omitempty"` VmUuid string `json:"vmUuid,omitempty"` VolumeTypeId string `json:"volumeTypeId,omitempty"` VolumeTypeZoneName string `json:"volumeTypeZoneName,omitempty"` VolumeUuid string `json:"volumeUuid,omitempty"` }
type Configuration ¶
type Configuration struct { BasePath string `json:"basePath,omitempty"` Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` HTTPClient *http.Client }
func NewConfiguration ¶
func NewConfiguration(BasePath string, HTTPClient *http.Client) *Configuration
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
func NewConfiguration(BasePath string, HTTPClient *http.Client) *Configuration { cfg := &Configuration{ BasePath: BasePath, DefaultHeader: map[string]string{"portal-user-id": "11212"}, HTTPClient: HTTPClient, UserAgent: "terraform", } return cfg }
type CreateAddressPairRequest ¶ added in v0.0.15
type CreateAddressPairRequest struct { // Id of the network interface InternalNetworkInterfaceId string `json:"internalNetworkInterfaceId"` }
type CreateBandwidthRequest ¶ added in v0.0.15
type CreateBandwidthRequest struct { // Description of Bandwidth Description string `json:"description,omitempty"` // Ip of Bandwidth Ip string `json:"ip"` // Package Name Dom of Bandwidth PackageNameDom string `json:"packageNameDom"` // Package Name Int of Bandwidth PackageNameInt string `json:"packageNameInt"` // Package Name Pay Type of Bandwidth PackageNamePayG string `json:"packageNamePayG"` // Package Type of Bandwidth PackageType string `json:"packageType"` // Resource Type of Bandwidth ResourceType string `json:"resourceType"` }
Create Bandwidth Request
type CreateClusterRequest ¶ added in v1.2.0
type CreateClusterRequest struct { // Auto-healing feature is enable AutoHealingEnabled bool `json:"autoHealingEnabled,omitempty"` // Auto monitoring feature is enable AutoMonitoringEnabled bool `json:"autoMonitoringEnabled,omitempty"` // Auto scaling feature is enable AutoScalingEnabled bool `json:"autoScalingEnabled,omitempty"` // Size of boot volume BootVolumeSize int32 `json:"bootVolumeSize"` // Id of boot volume type BootVolumeTypeId string `json:"bootVolumeTypeId"` // Cidr of Calico CalicoCidr string `json:"calicoCidr"` // Description of the Cluster Description string `json:"description,omitempty"` // Size of docker volume DockerVolumeSize int32 `json:"dockerVolumeSize"` // Id of docker volume type DockerVolumeTypeId string `json:"dockerVolumeTypeId"` // Enable Load Balancer or Not EnabledLb bool `json:"enabledLb"` // Size of etcd volume EtcdVolumeSize int32 `json:"etcdVolumeSize"` // Id of etcd volume type EtcdVolumeTypeId string `json:"etcdVolumeTypeId"` // Ingress Controller feature is enable IngressControllerEnabled bool `json:"ingressControllerEnabled,omitempty"` // IpIp Mode IpipMode string `json:"ipipMode"` // Id of K8s Version of the Cluster K8sVersion string `json:"k8sVersion"` // Number of Master Node MasterCount int32 `json:"masterCount"` // Id of the flavor of master MasterFlavorId string `json:"masterFlavorId"` // Id of the image of master MasterInstanceTypeId string `json:"masterInstanceTypeId"` // Maximum number of node count MaxNodeCount int32 `json:"maxNodeCount"` // Minimum number of node Count MinNodeCount int32 `json:"minNodeCount"` // Name of the Cluster Name string `json:"name"` // Id of the network NetworkId string `json:"networkId"` // Type of the network NetworkType string `json:"networkType"` // Number of Minion node NodeCount int32 `json:"nodeCount"` // Id of the flavor of minion NodeFlavorId string `json:"nodeFlavorId"` // List of Node Group want to create NodeGroupRequestModelList []NodeGroupRequestModel `json:"nodeGroupRequestModelList,omitempty"` // Id of the image of minion NodeInstanceTypeId string `json:"nodeInstanceTypeId"` // List of Id of the secGroup SecGroupIds []string `json:"secGroupIds,omitempty"` // Id of the sshKey SshKeyId string `json:"sshKeyId,omitempty"` // Id of the subnet SubnetId string `json:"subnetId"` }
Create K8s Cluster Request
type CreateNetworkAclRequest ¶ added in v0.0.9
type CreateNetworkInterfaceRequest ¶ added in v0.0.15
type CreateNetworkInterfaceRequest struct { // Name of network interface Name string `json:"name"` }
Create Network Interface Request
type CreateNetworkRequest ¶
type CreateNetworkRequest struct { // Subnet of Network (/16). Cidr string `json:"cidr"` // Name of the Network Name string `json:"name"` }
Create Network Request
type CreateNodeGroupBackendRequest ¶ added in v1.2.0
type CreateRouteTableRequest ¶ added in v0.0.9
type CreateRouteTableRequest struct { // Name of The route table Name string `json:"name"` // UUID of The VPC NetworkId string `json:"networkId"` // List of routes for the Route Table Routes []RouteRequest `json:"routes,omitempty"` }
Request object for creating a Route Table
type CreateSecurityGroupRuleRequest ¶
type CreateSecurityGroupRuleRequest struct { // Description for security group rule. Description string `json:"description,omitempty"` // \"ingress\" or \"egress\" Direction string `json:"direction"` // \"IPv4\" or \"IPv6\" EtherType string `json:"etherType"` // Upper bound of range port. PortRangeMax int32 `json:"portRangeMax"` // Lower bound of range port. PortRangeMin int32 `json:"portRangeMin"` // \"TCP\", \"UDP\", \"ICMP\", ... Protocol string `json:"protocol"` // Ip Prefix of source/target. RemoteIpPrefix string `json:"remoteIpPrefix"` // Id of security group that rules are attached. SecurityGroupId string `json:"securityGroupId"` }
type CreateServerGroupRequest ¶
type CreateServerGroupRequest struct { // Description of server group Description string `json:"description,omitempty"` // Name of the server group Name string `json:"name"` // Policy id of server group PolicyId string `json:"policyId"` }
Create Server Group Request
type CreateServerRequest ¶
type CreateServerRequest struct { // Attach floating IP AttachFloating bool `json:"attachFloating,omitempty"` // Type encryption of data volume DataDiskEncryptionType string `json:"dataDiskEncryptionType,omitempty"` // Name of data volume DataDiskName string `json:"dataDiskName,omitempty"` DataDiskSize int32 `json:"dataDiskSize,omitempty"` // Id of data volume type DataDiskTypeId string `json:"dataDiskTypeId,omitempty"` // Encryption volume EncryptionVolume bool `json:"encryptionVolume"` // Skip change password: false, else: true ExpirePassword bool `json:"expirePassword,omitempty"` // Id of the flavor FlavorId string `json:"flavorId"` // Id of the image ImageId string `json:"imageId"` // Name of the server Name string `json:"name"` // Id of the network NetworkId string `json:"networkId"` // Licence of OS OsLicence bool `json:"osLicence,omitempty"` // Type encryption of boot volume RootDiskEncryptionType string `json:"rootDiskEncryptionType,omitempty"` // Size of boot volume RootDiskSize int32 `json:"rootDiskSize"` // Id of boot volume type RootDiskTypeId string `json:"rootDiskTypeId"` // Id of the SecGroups SecurityGroup []string `json:"securityGroup,omitempty"` // Server group id ServerGroupId string `json:"serverGroupId,omitempty"` // Id of SSH key SshKeyId string `json:"sshKeyId,omitempty"` // Id of the subnet SubnetId string `json:"subnetId"` // User data UserData string `json:"userData,omitempty"` // User data has already been base64 encoded UserDataBase64Encoded bool `json:"userDataBase64Encoded,omitempty"` // name of user UserName string `json:"userName,omitempty"` // password of user UserPassword string `json:"userPassword,omitempty"` // Zone of flavor. You can choose if having multiple zone HostGroupId string `json:"hostGroupId,omitempty"` // is POC IsPoc bool `json:"isPoc,omitempty"` }
Create Server Request
type CreateSshKeyRequest ¶
type CreateSshKeyRequest struct { // Name of the SSH key Name string `json:"name"` }
type CreateSubnetRequest ¶
type CreateUserImageRequest ¶ added in v0.0.15
type CreateUserImageRequest struct { // Name of image Name string `json:"name"` }
Create User Image Request
type CreateVirtualIpAddressRequest ¶ added in v0.0.15
type CreateVolumeRequest ¶
type CreateVolumeRequest struct { // Type encryption of volume EncryptionType string `json:"encryptionType,omitempty"` // Id of image ImageId string `json:"imageId,omitempty"` // Multi attach volume or not MultiAttach bool `json:"multiAttach,omitempty"` // Name of the volume Name string `json:"name"` // Size of volume Size int32 `json:"size"` // Id of volume type VolumeTypeId string `json:"volumeTypeId"` // is POC IsPoc bool `json:"isPoc,omitempty"` }
Create Volume Request
type DataDiskLimit ¶ added in v0.0.15
type DataResponse ¶ added in v0.0.15
type DataResponse struct {
Data interface{} `json:"data,omitempty"`
}
type DataResponseAddressPairDto ¶ added in v1.2.0
type DataResponseAddressPairDto struct {
Data *AddressPairDto `json:"data,omitempty"`
}
type DataResponseClusterDto ¶ added in v1.2.0
type DataResponseClusterDto struct {
Data *ClusterDto `json:"data,omitempty"`
}
type DataResponseClusterNodeGroupDto ¶ added in v1.2.0
type DataResponseClusterNodeGroupDto struct {
Data *ClusterNodeGroupDto `json:"data,omitempty"`
}
type DataResponseCreateAddressPairRequest ¶ added in v1.2.0
type DataResponseCreateAddressPairRequest struct {
Data *CreateAddressPairRequest `json:"data,omitempty"`
}
type DataResponseInterfaceClusterNodeGroupEntity ¶ added in v1.2.0
type DataResponseInterfaceClusterNodeGroupEntity struct {
Data *InterfaceClusterNodeGroupEntity `json:"data,omitempty"`
}
type DataResponseInterfaceK8sClusterEntity ¶ added in v1.2.0
type DataResponseInterfaceK8sClusterEntity struct {
Data *InterfaceK8sClusterEntity `json:"data,omitempty"`
}
type DataResponseInterfaceNetworkInterface ¶ added in v1.2.0
type DataResponseInterfaceNetworkInterface struct {
Data *InterfaceNetworkInterface `json:"data,omitempty"`
}
type DataResponseJsonObject ¶ added in v0.0.15
type DataResponseJsonObject struct {
Data map[string]interface{} `json:"data,omitempty"`
}
type DataResponseListAddressPairDto ¶ added in v0.0.15
type DataResponseListAddressPairDto struct {
Data []AddressPairDto `json:"data,omitempty"`
}
type DataResponseListClusterSecGroupDto ¶ added in v1.2.0
type DataResponseListClusterSecGroupDto struct {
Data []ClusterSecGroupDto `json:"data,omitempty"`
}
type DataResponseListInternalNetworkInterfaceDto ¶ added in v0.0.15
type DataResponseListInternalNetworkInterfaceDto struct {
Data []InternalNetworkInterfaceDto `json:"data,omitempty"`
}
type DataResponseListNetworkAclPolicyRuleDto ¶ added in v1.2.0
type DataResponseListNetworkAclPolicyRuleDto struct {
Data []NetworkAclPolicyRuleDto `json:"data,omitempty"`
}
type DataResponseListQuotaUsedDto ¶ added in v0.0.15
type DataResponseListQuotaUsedDto struct {
Data []QuotaUsedDto `json:"data,omitempty"`
}
type DataResponseListRegionDto ¶ added in v1.2.0
type DataResponseListRegionDto struct {
Data []RegionDto `json:"data,omitempty"`
}
type DataResponseListRoutesDto ¶ added in v1.2.0
type DataResponseListRoutesDto struct {
Data []RoutesDto `json:"data,omitempty"`
}
type DataResponseListSecgroupruleDto ¶ added in v0.0.15
type DataResponseListSecgroupruleDto struct {
Data []SecgroupruleDto `json:"data,omitempty"`
}
type DataResponseListSecurityGroupRulesSampleEntity ¶ added in v0.0.15
type DataResponseListSecurityGroupRulesSampleEntity struct {
Data []SecurityGroupRulesSampleEntity `json:"data,omitempty"`
}
type DataResponseListServerAction ¶ added in v0.0.15
type DataResponseListServerAction struct {
Data []ServerAction `json:"data,omitempty"`
}
type DataResponseListServerGroupPolicy ¶ added in v0.0.15
type DataResponseListServerGroupPolicy struct {
Data []ServerGroupPolicy `json:"data,omitempty"`
}
type DataResponseListServerOfSecgroupDto ¶ added in v0.0.15
type DataResponseListServerOfSecgroupDto struct {
Data []ServerOfSecgroupDto `json:"data,omitempty"`
}
type DataResponseListstring ¶ added in v0.0.15
type DataResponseListstring struct {
Data []string `json:"data,omitempty"`
}
type DataResponseNetworkAclDetailDto ¶ added in v1.2.0
type DataResponseNetworkAclDetailDto struct {
Data *NetworkAclDetailDto `json:"data,omitempty"`
}
type DataResponseNetworkAclDto ¶ added in v1.2.0
type DataResponseNetworkAclDto struct {
Data *NetworkAclDto `json:"data,omitempty"`
}
type DataResponseNetworkAclModel ¶ added in v1.2.0
type DataResponseNetworkAclModel struct {
Data *NetworkAclModel `json:"data,omitempty"`
}
type DataResponseNetworkDto ¶ added in v0.0.15
type DataResponseNetworkDto struct {
Data *NetworkDto `json:"data,omitempty"`
}
type DataResponseNetworkInterfaceElastic ¶ added in v1.2.0
type DataResponseNetworkInterfaceElastic struct {
Data *NetworkInterfaceElastic `json:"data,omitempty"`
}
type DataResponseRouteTableDto ¶ added in v1.2.0
type DataResponseRouteTableDto struct {
Data *RouteTableDto `json:"data,omitempty"`
}
type DataResponseSecgroupDto ¶ added in v0.0.15
type DataResponseSecgroupDto struct {
Data *SecgroupDto `json:"data,omitempty"`
}
type DataResponseSecgroupEntity ¶ added in v0.0.15
type DataResponseSecgroupEntity struct {
Data *SecgroupEntity `json:"data,omitempty"`
}
type DataResponseSecgroupRuleEntity ¶ added in v0.0.15
type DataResponseSecgroupRuleEntity struct {
Data *SecgroupRuleEntity `json:"data,omitempty"`
}
type DataResponseSecgroupruleDto ¶ added in v0.0.15
type DataResponseSecgroupruleDto struct {
Data *SecgroupruleDto `json:"data,omitempty"`
}
type DataResponseServer ¶ added in v0.0.15
type DataResponseServer struct {
Data *Server `json:"data,omitempty"`
}
type DataResponseServerGroupDto ¶ added in v0.0.15
type DataResponseServerGroupDto struct {
Data *ServerGroupDto `json:"data,omitempty"`
}
type DataResponseServerNetworkInterfaceDetail ¶ added in v0.0.15
type DataResponseServerNetworkInterfaceDetail struct {
Data *ServerNetworkInterfaceDetail `json:"data,omitempty"`
}
type DataResponseServerSecGroupDetail ¶ added in v0.0.15
type DataResponseServerSecGroupDetail struct {
Data *ServerSecGroupDetail `json:"data,omitempty"`
}
type DataResponseSimpleServer ¶ added in v0.0.15
type DataResponseSimpleServer struct {
Data *SimpleServer `json:"data,omitempty"`
}
type DataResponseSimpleServerTaskDto ¶ added in v1.2.0
type DataResponseSimpleServerTaskDto struct {
Data *SimpleServerTaskDto `json:"data,omitempty"`
}
type DataResponseSshKeyDto ¶ added in v0.0.15
type DataResponseSshKeyDto struct {
Data *SshKeyDto `json:"data,omitempty"`
}
type DataResponseSubnetDto ¶ added in v0.0.15
type DataResponseSubnetDto struct {
Data *SubnetDto `json:"data,omitempty"`
}
type DataResponseVipDto ¶ added in v1.2.0
type DataResponseVipDto struct {
Data *VipDto `json:"data,omitempty"`
}
type DataResponseVirtualIpAddressDto ¶ added in v0.0.15
type DataResponseVirtualIpAddressDto struct {
Data *VirtualIpAddressDto `json:"data,omitempty"`
}
type DataResponseVirtualIpAddressNetworkEntity ¶ added in v0.0.15
type DataResponseVirtualIpAddressNetworkEntity struct {
Data *VirtualIpAddressNetworkEntity `json:"data,omitempty"`
}
type DataResponseVolume ¶ added in v0.0.15
type DataResponseVolume struct {
Data *Volume `json:"data,omitempty"`
}
type DataResponseboolean ¶ added in v1.2.0
type DataResponseboolean struct {
Data bool `json:"data,omitempty"`
}
type DataResponsestring ¶ added in v0.0.15
type DataResponsestring struct {
Data string `json:"data,omitempty"`
}
type DeleteBandwidthRequest ¶ added in v0.0.15
type DeleteBandwidthRequest struct { // Id of Bandwidth Id string `json:"id"` // Ip of Bandwidth Ip string `json:"ip"` }
Delete Bandwidth Request
type DeleteNetworkRequest ¶
type DeleteNetworkRequest struct { // Id of Network to be deleted. NetworkId string `json:"networkId"` }
Delete Network Request
type DeleteNodeGroupBackendRequest ¶ added in v1.2.0
type DeleteSecurityGroupRequest ¶
type DeleteSecurityGroupRequest struct { // Id of Secgroup to be deleted. SecgroupId string `json:"secgroupId"` }
type DeleteSecurityGroupRuleRequest ¶
type DeleteSecurityGroupRuleRequest struct { // Id of Secgroup rule to be deleted. SecgroupRuleId string `json:"secgroupRuleId"` }
type DeleteServerGroupRequest ¶ added in v0.0.9
type DeleteServerGroupRequest struct { // Id of the server group ServerGroupId string `json:"serverGroupId"` }
Delete Server Group Request
type DeleteServerRequest ¶
type DeleteServerRequest struct { // Delete all volume are attached DeleteAllVolume bool `json:"deleteAllVolume,omitempty"` }
Delete Server Request
type DeleteSshKeyRequest ¶ added in v0.0.15
type DeleteSshKeyRequest struct {
Id string `json:"id,omitempty"`
}
type DeleteSubnetRequest ¶
type DetachExternalNetworkInterfaceRequest ¶ added in v0.0.15
type DetachExternalNetworkInterfaceRequest struct { // Network interface id NetworkInterfaceId string `json:"networkInterfaceId,omitempty"` }
Detach External Network Interface Request
type DetachNetworkInterfaceRequest ¶ added in v0.0.15
type DetachNetworkInterfaceRequest struct { // List Id of network interface NetworkInterfaceIds []string `json:"networkInterfaceIds,omitempty"` }
Detach Network Interface Request
type DetachNetworkInterfaceWithWanIpRequest ¶ added in v1.2.0
type DetachNetworkInterfaceWithWanIpRequest struct { // List Id of network interface NetworkInterfaceId string `json:"networkInterfaceId,omitempty"` // Id of server ServerId string `json:"serverId,omitempty"` // Tags of resource Tags []TagRequest `json:"tags,omitempty"` }
Detach Network Interface With Subnet And Floating Ip Request
type ElasticIpDetail ¶ added in v0.0.15
type ElasticIpDetail struct { AllocationType string `json:"allocationType,omitempty"` CreatedAt time.Time `json:"createdAt,omitempty"` ElasticIpPackage int32 `json:"elasticIpPackage,omitempty"` InterfaceNetworkInterface *InterfaceNetworkInterfaceEntity `json:"interfaceNetworkInterface,omitempty"` InterfacePublicIp *InterfacePublicIpEntity `json:"interfacePublicIp,omitempty"` InterfacePublicSubnet *InterfacePublicSubnetEntity `json:"interfacePublicSubnet,omitempty"` Name string `json:"name,omitempty"` ProjectId string `json:"projectId,omitempty"` PublicIpId string `json:"publicIpId,omitempty"` PublicSubnetId string `json:"publicSubnetId,omitempty"` Status string `json:"status,omitempty"` TargetId string `json:"targetId,omitempty"` UpdatedAt time.Time `json:"updatedAt,omitempty"` UsageType string `json:"usageType,omitempty"` Uuid string `json:"uuid,omitempty"` VpcId string `json:"vpcId,omitempty"` VpcName string `json:"vpcName,omitempty"` }
type ElasticIpEntity ¶
type ElasticIpEntity struct { AllocationType string `json:"allocationType,omitempty"` CreatedAt time.Time `json:"createdAt,omitempty"` DeletedAt time.Time `json:"deletedAt,omitempty"` DisplayCreatedAt string `json:"displayCreatedAt,omitempty"` ElasticIpPackage int32 `json:"elasticIpPackage,omitempty"` Id int32 `json:"id,omitempty"` InterfaceNetworkInterface *InterfaceNetworkInterface `json:"interfaceNetworkInterface,omitempty"` InterfacePublicIp *InterfacePublicIp `json:"interfacePublicIp,omitempty"` InterfacePublicSubnet *InterfacePublicSubnet `json:"interfacePublicSubnet,omitempty"` Name string `json:"name,omitempty"` ProjectId string `json:"projectId,omitempty"` Status string `json:"status,omitempty"` TargetId string `json:"targetId,omitempty"` UpdatedAt time.Time `json:"updatedAt,omitempty"` UsageType string `json:"usageType,omitempty"` UserService *UserService `json:"userService,omitempty"` Uuid string `json:"uuid,omitempty"` VpcId string `json:"vpcId,omitempty"` VpcName string `json:"vpcName,omitempty"` }
type ElasticIpRestControllerV2ApiListElasticIpUsingGETOpts ¶ added in v0.0.15
type ElasticIpRestControllerV2ApiService ¶ added in v0.0.15
type ElasticIpRestControllerV2ApiService service
func (*ElasticIpRestControllerV2ApiService) ListElasticIpUsingGET ¶ added in v0.0.15
func (a *ElasticIpRestControllerV2ApiService) ListElasticIpUsingGET(ctx context.Context, projectId string, localVarOptionals *ElasticIpRestControllerV2ApiListElasticIpUsingGETOpts) (PagingElasticIpDetail, *http.Response, error)
type ElasticOfNetworkDto ¶ added in v0.0.15
type ElasticOfNetworkDto struct { AllocationType string `json:"allocationType,omitempty"` CreatedAt time.Time `json:"createdAt,omitempty"` InterfacePublicSubnet *InterfacePublicSubnetDto `json:"interfacePublicSubnet,omitempty"` Name string `json:"name,omitempty"` UsageType string `json:"usageType,omitempty"` Uuid string `json:"uuid,omitempty"` }
type EncryptionType ¶ added in v0.0.15
type Family ¶ added in v0.0.15
type Family struct { Condition *FamilyCondition `json:"condition,omitempty"` Description string `json:"description,omitempty"` Key string `json:"key,omitempty"` Types []TypesItem `json:"types,omitempty"` Value string `json:"value,omitempty"` }
type FamilyCondition ¶ added in v0.0.15
type FamilyCondition struct {
Codes []string `json:"codes,omitempty"`
}
type Flavor ¶
type Flavor struct { Bandwidth int32 `json:"bandwidth,omitempty"` BandwidthUnit string `json:"bandwidthUnit,omitempty"` Cpu int32 `json:"cpu,omitempty"` CpuPlatformDescription string `json:"cpuPlatformDescription,omitempty"` FlavorId string `json:"flavorId,omitempty"` Gpu int32 `json:"gpu,omitempty"` Group string `json:"group,omitempty"` Memory int32 `json:"memory,omitempty"` Name string `json:"name,omitempty"` RemainingVms int32 `json:"remainingVms,omitempty"` ZoneId string `json:"zoneId,omitempty"` }
type FlavorResponse ¶
type FlavorRestControllerApiService ¶
type FlavorRestControllerApiService service
func (*FlavorRestControllerApiService) GetFlavorUsingGET ¶
func (a *FlavorRestControllerApiService) GetFlavorUsingGET(ctx context.Context, flavorId string, projectId string) (FlavorResponse, *http.Response, error)
FlavorRestControllerApiService getFlavor
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param flavorId flavor_id
- @param projectId project_id
@return FlavorResponse
func (*FlavorRestControllerApiService) ListFlavorByFamilyAndPlatformUsingGET ¶ added in v0.0.15
func (a *FlavorRestControllerApiService) ListFlavorByFamilyAndPlatformUsingGET(ctx context.Context, familyKey string, platformKey string, projectId string) ([]Flavor, *http.Response, error)
FlavorRestControllerApiService List flavor custom for project
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param familyKey The family key
- @param platformKey The platform key
- @param projectId The project id
@return []Flavor
func (*FlavorRestControllerApiService) ListFlavorCustomUsingGET ¶ added in v0.0.15
func (a *FlavorRestControllerApiService) ListFlavorCustomUsingGET(ctx context.Context, projectId string) ([]Flavor, *http.Response, error)
FlavorRestControllerApiService List flavor custom for project
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
@return []Flavor
func (*FlavorRestControllerApiService) ListFlavorForSimpleServerUsingGET ¶ added in v0.0.15
func (a *FlavorRestControllerApiService) ListFlavorForSimpleServerUsingGET(ctx context.Context, projectId string) (FlavorResponse, *http.Response, error)
FlavorRestControllerApiService List flavor for simple server
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
@return FlavorResponse
func (*FlavorRestControllerApiService) ListFlavorUsingGET ¶
func (a *FlavorRestControllerApiService) ListFlavorUsingGET(ctx context.Context, flavorZoneId string, projectId string) (FlavorResponse, *http.Response, error)
FlavorRestControllerApiService listFlavor
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param flavorZoneId flavor_zone_id
- @param projectId project_id
@return FlavorResponse
type FlavorZone ¶
type FlavorZoneResponse ¶
type FlavorZoneResponse struct { ErrorCode int32 `json:"errorCode,omitempty"` ErrorMsg string `json:"errorMsg,omitempty"` Extra interface{} `json:"extra,omitempty"` FlavorZones []FlavorZone `json:"flavorZones,omitempty"` Success bool `json:"success,omitempty"` }
type FlavorZoneRestControllerApiService ¶
type FlavorZoneRestControllerApiService service
func (*FlavorZoneRestControllerApiService) GetFlavorZoneUsingGET ¶
func (a *FlavorZoneRestControllerApiService) GetFlavorZoneUsingGET(ctx context.Context, flavorZoneId string, projectId string) (FlavorZoneResponse, *http.Response, error)
FlavorZoneRestControllerApiService getFlavorZone
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param flavorZoneId flavor_zone_id
- @param projectId project_id
@return FlavorZoneResponse
func (*FlavorZoneRestControllerApiService) ListCodeUsingGET ¶ added in v0.0.15
func (a *FlavorZoneRestControllerApiService) ListCodeUsingGET(ctx context.Context, projectId string) ([]Code, *http.Response, error)
FlavorZoneRestControllerApiService listCode
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId project_id
@return []Code
func (*FlavorZoneRestControllerApiService) ListCustomUsingGET ¶ added in v0.0.15
func (a *FlavorZoneRestControllerApiService) ListCustomUsingGET(ctx context.Context, projectId string) ([]FlavorZone, *http.Response, error)
FlavorZoneRestControllerApiService listCustom
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId project_id
@return []FlavorZone
func (*FlavorZoneRestControllerApiService) ListFamilyUsingGET ¶ added in v0.0.15
func (a *FlavorZoneRestControllerApiService) ListFamilyUsingGET(ctx context.Context, projectId string) ([]Family, *http.Response, error)
FlavorZoneRestControllerApiService listFamily
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId project_id
@return []Family
func (*FlavorZoneRestControllerApiService) ListFlavorZoneUsingGET ¶
func (a *FlavorZoneRestControllerApiService) ListFlavorZoneUsingGET(ctx context.Context, projectId string) (FlavorZoneResponse, *http.Response, error)
FlavorZoneRestControllerApiService listFlavorZone
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId project_id
@return FlavorZoneResponse
func (*FlavorZoneRestControllerApiService) ListFlavorZoneUsingGET1 ¶ added in v0.0.15
func (a *FlavorZoneRestControllerApiService) ListFlavorZoneUsingGET1(ctx context.Context, product string, projectId string) (FlavorZoneResponse, *http.Response, error)
FlavorZoneRestControllerApiService listFlavorZone
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param product product
- @param projectId project_id
@return FlavorZoneResponse
type GenericSwaggerError ¶
type GenericSwaggerError struct {
// contains filtered or unexported fields
}
GenericSwaggerError Provides access to the body, error and model on returned errors.
func (GenericSwaggerError) Body ¶
func (e GenericSwaggerError) Body() []byte
Body returns the raw bytes of the response
func (GenericSwaggerError) Error ¶
func (e GenericSwaggerError) Error() string
Error returns non-empty string if there was an error.
func (GenericSwaggerError) Model ¶
func (e GenericSwaggerError) Model() interface{}
Model returns the unpacked model of the error
type ImageRestControllerApiService ¶
type ImageRestControllerApiService service
func (*ImageRestControllerApiService) ListGPUImageUsingGET ¶ added in v0.0.15
func (a *ImageRestControllerApiService) ListGPUImageUsingGET(ctx context.Context, projectId string) (OsImageBaseResponse, *http.Response, error)
ImageRestControllerApiService listGPUImage
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId project_id
@return OsImageBaseResponse
func (*ImageRestControllerApiService) ListOSImageDefaultUsingGET ¶ added in v0.0.15
func (a *ImageRestControllerApiService) ListOSImageDefaultUsingGET(ctx context.Context, projectId string) (string, *http.Response, error)
ImageRestControllerApiService listOSImageDefault
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId project_id
@return string
func (*ImageRestControllerApiService) ListOSImageUsingGET ¶
func (a *ImageRestControllerApiService) ListOSImageUsingGET(ctx context.Context, projectId string) (OsImageBaseResponse, *http.Response, error)
ImageRestControllerApiService listOSImage
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId project_id
@return OsImageBaseResponse
type ImportSshKeyRequest ¶
type InterfaceClusterNodeGroupEntity ¶ added in v1.2.0
type InterfaceClusterNodeGroupEntity struct { BackendStatus string `json:"backendStatus,omitempty"` ClusterId string `json:"clusterId,omitempty"` ClusterNodeGroupId int32 `json:"clusterNodeGroupId,omitempty"` CreatedAt time.Time `json:"createdAt,omitempty"` DeletedAt time.Time `json:"deletedAt,omitempty"` FlavorId string `json:"flavorId,omitempty"` Id int32 `json:"id,omitempty"` Name string `json:"name,omitempty"` NodeCount int32 `json:"nodeCount,omitempty"` NodeGroupDefault bool `json:"nodeGroupDefault,omitempty"` ProjectId string `json:"projectId,omitempty"` Status string `json:"status,omitempty"` UpdatedAt time.Time `json:"updatedAt,omitempty"` Uuid string `json:"uuid,omitempty"` }
type InterfaceK8SClusterDetail ¶ added in v0.0.15
type InterfaceK8SClusterDetail struct { AclId string `json:"aclId,omitempty"` AutoHealingEnabled bool `json:"autoHealingEnabled,omitempty"` AutoMonitoringEnabled bool `json:"autoMonitoringEnabled,omitempty"` AutoScalingEnabled bool `json:"autoScalingEnabled,omitempty"` BackendStatus string `json:"backendStatus,omitempty"` BootVolumeSize int32 `json:"bootVolumeSize,omitempty"` BootVolumeTypeId string `json:"bootVolumeTypeId,omitempty"` CalicoCidr string `json:"calicoCidr,omitempty"` ClusterId int32 `json:"clusterId,omitempty"` CreatedAt time.Time `json:"createdAt,omitempty"` DeletedAt time.Time `json:"deletedAt,omitempty"` Description string `json:"description,omitempty"` DockerVolumeSize int32 `json:"dockerVolumeSize,omitempty"` DockerVolumeTypeId string `json:"dockerVolumeTypeId,omitempty"` EnabledLb bool `json:"enabledLb,omitempty"` Endpoint string `json:"endpoint,omitempty"` EtcdVolumeSize int32 `json:"etcdVolumeSize,omitempty"` EtcdVolumeTypeId string `json:"etcdVolumeTypeId,omitempty"` Id int32 `json:"id,omitempty"` IngressControllerEnabled bool `json:"ingressControllerEnabled,omitempty"` K8sNetworkType string `json:"k8sNetworkType,omitempty"` K8sNetworkTypeId string `json:"k8sNetworkTypeId,omitempty"` K8sVersion string `json:"k8sVersion,omitempty"` K8sVersionId string `json:"k8sVersionId,omitempty"` MasterCount int32 `json:"masterCount,omitempty"` MasterFlavorId string `json:"masterFlavorId,omitempty"` MasterFlavorName string `json:"masterFlavorName,omitempty"` MasterInstanceTypeId string `json:"masterInstanceTypeId,omitempty"` MaxNodeCount int32 `json:"maxNodeCount,omitempty"` MinNodeCount int32 `json:"minNodeCount,omitempty"` Name string `json:"name,omitempty"` NetworkId string `json:"networkId,omitempty"` NodeCount int32 `json:"nodeCount,omitempty"` NodeFlavorId string `json:"nodeFlavorId,omitempty"` NodeFlavorName string `json:"nodeFlavorName,omitempty"` NodeInstanceTypeId string `json:"nodeInstanceTypeId,omitempty"` ProjectId string `json:"projectId,omitempty"` SshKeyId string `json:"sshKeyId,omitempty"` SshKeyName string `json:"sshKeyName,omitempty"` Status string `json:"status,omitempty"` SubnetId string `json:"subnetId,omitempty"` UpdatedAt time.Time `json:"updatedAt,omitempty"` Uuid string `json:"uuid,omitempty"` }
type InterfaceK8SClusterDto ¶ added in v1.2.0
type InterfaceK8SClusterDto struct { AclId string `json:"aclId,omitempty"` AutoHealingEnabled bool `json:"autoHealingEnabled,omitempty"` AutoMonitoringEnabled bool `json:"autoMonitoringEnabled,omitempty"` AutoScalingEnabled bool `json:"autoScalingEnabled,omitempty"` BackendStatus string `json:"backendStatus,omitempty"` BootVolumeSize int32 `json:"bootVolumeSize,omitempty"` BootVolumeTypeId string `json:"bootVolumeTypeId,omitempty"` CalicoCidr string `json:"calicoCidr,omitempty"` ClusterId int32 `json:"clusterId,omitempty"` CreatedAt time.Time `json:"createdAt,omitempty"` Description string `json:"description,omitempty"` DockerVolumeSize int32 `json:"dockerVolumeSize,omitempty"` DockerVolumeTypeId string `json:"dockerVolumeTypeId,omitempty"` EnabledLb bool `json:"enabledLb,omitempty"` Endpoint string `json:"endpoint,omitempty"` EtcdVolumeSize int32 `json:"etcdVolumeSize,omitempty"` EtcdVolumeTypeId string `json:"etcdVolumeTypeId,omitempty"` Id int32 `json:"id,omitempty"` IngressControllerEnabled bool `json:"ingressControllerEnabled,omitempty"` K8sNetworkType string `json:"k8sNetworkType,omitempty"` K8sNetworkTypeId string `json:"k8sNetworkTypeId,omitempty"` K8sVersion string `json:"k8sVersion,omitempty"` K8sVersionId string `json:"k8sVersionId,omitempty"` MasterCount int32 `json:"masterCount,omitempty"` MasterFlavorId string `json:"masterFlavorId,omitempty"` MasterFlavorName string `json:"masterFlavorName,omitempty"` MasterInstanceTypeId string `json:"masterInstanceTypeId,omitempty"` MaxNodeCount int32 `json:"maxNodeCount,omitempty"` MinNodeCount int32 `json:"minNodeCount,omitempty"` Name string `json:"name,omitempty"` NetworkId string `json:"networkId,omitempty"` NodeCount int32 `json:"nodeCount,omitempty"` NodeFlavorId string `json:"nodeFlavorId,omitempty"` NodeFlavorName string `json:"nodeFlavorName,omitempty"` NodeInstanceTypeId string `json:"nodeInstanceTypeId,omitempty"` ProjectId string `json:"projectId,omitempty"` SshKeyId string `json:"sshKeyId,omitempty"` SshKeyName string `json:"sshKeyName,omitempty"` Status string `json:"status,omitempty"` SubnetId string `json:"subnetId,omitempty"` UpdatedAt time.Time `json:"updatedAt,omitempty"` Uuid string `json:"uuid,omitempty"` }
type InterfaceK8sClusterEntity ¶ added in v1.2.0
type InterfaceK8sClusterEntity struct { AclId string `json:"aclId,omitempty"` AutoHealingEnabled bool `json:"autoHealingEnabled,omitempty"` AutoMonitoringEnabled bool `json:"autoMonitoringEnabled,omitempty"` AutoScalingEnabled bool `json:"autoScalingEnabled,omitempty"` BackendStatus string `json:"backendStatus,omitempty"` BootVolumeSize int32 `json:"bootVolumeSize,omitempty"` BootVolumeTypeId string `json:"bootVolumeTypeId,omitempty"` CalicoCidr string `json:"calicoCidr,omitempty"` ClusterId int32 `json:"clusterId,omitempty"` CreatedAt time.Time `json:"createdAt,omitempty"` DeletedAt time.Time `json:"deletedAt,omitempty"` Description string `json:"description,omitempty"` DockerVolumeSize int32 `json:"dockerVolumeSize,omitempty"` DockerVolumeTypeId string `json:"dockerVolumeTypeId,omitempty"` EnabledLb bool `json:"enabledLb,omitempty"` Endpoint string `json:"endpoint,omitempty"` EtcdVolumeSize int32 `json:"etcdVolumeSize,omitempty"` EtcdVolumeTypeId string `json:"etcdVolumeTypeId,omitempty"` Id int32 `json:"id,omitempty"` IngressControllerEnabled bool `json:"ingressControllerEnabled,omitempty"` K8sNetworkTypeId string `json:"k8sNetworkTypeId,omitempty"` K8sVersionId string `json:"k8sVersionId,omitempty"` MasterCount int32 `json:"masterCount,omitempty"` MasterFlavorId string `json:"masterFlavorId,omitempty"` MasterInstanceTypeId string `json:"masterInstanceTypeId,omitempty"` MaxNodeCount int32 `json:"maxNodeCount,omitempty"` MinNodeCount int32 `json:"minNodeCount,omitempty"` Name string `json:"name,omitempty"` NetworkId string `json:"networkId,omitempty"` NodeCount int32 `json:"nodeCount,omitempty"` NodeFlavorId string `json:"nodeFlavorId,omitempty"` NodeInstanceTypeId string `json:"nodeInstanceTypeId,omitempty"` ProjectId string `json:"projectId,omitempty"` SshKeyId string `json:"sshKeyId,omitempty"` Status string `json:"status,omitempty"` SubnetId string `json:"subnetId,omitempty"` UpdatedAt time.Time `json:"updatedAt,omitempty"` Uuid string `json:"uuid,omitempty"` }
type InterfaceNetworkInterface ¶
type InterfaceNetworkInterface struct { CreatedAt time.Time `json:"createdAt,omitempty"` FixedIp string `json:"fixedIp,omitempty"` FloatingIp string `json:"floatingIp,omitempty"` FloatingIpId string `json:"floatingIpId,omitempty"` InterfaceType string `json:"interfaceType,omitempty"` Mac string `json:"mac,omitempty"` NetworkUuid string `json:"networkUuid,omitempty"` PortUuid string `json:"portUuid,omitempty"` Product string `json:"product,omitempty"` ServerUuid string `json:"serverUuid,omitempty"` Status string `json:"status,omitempty"` SubnetUuid string `json:"subnetUuid,omitempty"` Type_ string `json:"type,omitempty"` UpdatedAt time.Time `json:"updatedAt,omitempty"` Uuid string `json:"uuid,omitempty"` }
type InterfaceNetworkInterfaceEntity ¶ added in v0.0.15
type InterfaceNetworkInterfaceEntity struct { CreatedAt time.Time `json:"createdAt,omitempty"` DeletedAt time.Time `json:"deletedAt,omitempty"` FixedIp string `json:"fixedIp,omitempty"` FloatingIp string `json:"floatingIp,omitempty"` Id int32 `json:"id,omitempty"` InterfaceId int32 `json:"interfaceId,omitempty"` InterfaceType string `json:"interfaceType,omitempty"` Mac string `json:"mac,omitempty"` NetworkUuid string `json:"networkUuid,omitempty"` PortUuid string `json:"portUuid,omitempty"` Product string `json:"product,omitempty"` ServerUuid string `json:"serverUuid,omitempty"` Status string `json:"status,omitempty"` SubnetUuid string `json:"subnetUuid,omitempty"` Type_ string `json:"type,omitempty"` UpdatedAt time.Time `json:"updatedAt,omitempty"` Uuid string `json:"uuid,omitempty"` }
type InterfaceProjectQuota ¶ added in v0.0.9
type InterfaceProjectQuota struct { CreatedAt time.Time `json:"createdAt,omitempty"` DeletedAt time.Time `json:"deletedAt,omitempty"` Description string `json:"description,omitempty"` Id int32 `json:"id,omitempty"` ProjectId string `json:"projectId,omitempty"` Quota string `json:"quota,omitempty"` Type_ string `json:"type,omitempty"` UpdatedAt time.Time `json:"updatedAt,omitempty"` Used string `json:"used,omitempty"` Uuid string `json:"uuid,omitempty"` }
type InterfaceProjectQuotaResponse ¶ added in v0.0.9
type InterfaceProjectQuotaResponse struct { ErrorCode int32 `json:"errorCode,omitempty"` ErrorMsg string `json:"errorMsg,omitempty"` Extra interface{} `json:"extra,omitempty"` InterfaceProjectQuota *InterfaceProjectQuota `json:"interfaceProjectQuota,omitempty"` Success bool `json:"success,omitempty"` }
type InterfacePublicIp ¶
type InterfacePublicIp struct { BackendStatus string `json:"backendStatus,omitempty"` CreatedAt time.Time `json:"createdAt,omitempty"` DeletedAt time.Time `json:"deletedAt,omitempty"` GatewayIp string `json:"gatewayIp,omitempty"` Id int32 `json:"id,omitempty"` Ip string `json:"ip,omitempty"` ProjectId string `json:"projectId,omitempty"` Status string `json:"status,omitempty"` UpdatedAt time.Time `json:"updatedAt,omitempty"` Uuid string `json:"uuid,omitempty"` VpcBackendId int32 `json:"vpcBackendId,omitempty"` }
type InterfacePublicIpEntity ¶ added in v0.0.15
type InterfacePublicIpEntity struct { BackendStatus string `json:"backendStatus,omitempty"` CreatedAt time.Time `json:"createdAt,omitempty"` DeletedAt time.Time `json:"deletedAt,omitempty"` GatewayIp string `json:"gatewayIp,omitempty"` Id int32 `json:"id,omitempty"` Ip string `json:"ip,omitempty"` ProjectId string `json:"projectId,omitempty"` Status string `json:"status,omitempty"` UpdatedAt time.Time `json:"updatedAt,omitempty"` Uuid string `json:"uuid,omitempty"` VpcBackendId int32 `json:"vpcBackendId,omitempty"` }
type InterfacePublicSubnet ¶
type InterfacePublicSubnet struct { BackendStatus string `json:"backendStatus,omitempty"` Cidr string `json:"cidr,omitempty"` CreatedAt time.Time `json:"createdAt,omitempty"` DeletedAt time.Time `json:"deletedAt,omitempty"` GatewayIp string `json:"gatewayIp,omitempty"` Id int32 `json:"id,omitempty"` ProjectId string `json:"projectId,omitempty"` Status string `json:"status,omitempty"` SubnetBackendId int32 `json:"subnetBackendId,omitempty"` UpdatedAt time.Time `json:"updatedAt,omitempty"` Uuid string `json:"uuid,omitempty"` VpcBackendId int32 `json:"vpcBackendId,omitempty"` }
type InterfacePublicSubnetDto ¶ added in v0.0.15
type InterfacePublicSubnetDto struct { BackendStatus string `json:"backendStatus,omitempty"` Cidr string `json:"cidr,omitempty"` CreatedAt time.Time `json:"createdAt,omitempty"` DeletedAt time.Time `json:"deletedAt,omitempty"` GatewayIp string `json:"gatewayIp,omitempty"` Id int32 `json:"id,omitempty"` ProjectId string `json:"projectId,omitempty"` Status string `json:"status,omitempty"` SubnetBackendId int32 `json:"subnetBackendId,omitempty"` UpdatedAt time.Time `json:"updatedAt,omitempty"` Uuid string `json:"uuid,omitempty"` VpcBackendId int32 `json:"vpcBackendId,omitempty"` }
type InterfacePublicSubnetEntity ¶ added in v0.0.15
type InterfacePublicSubnetEntity struct { BackendStatus string `json:"backendStatus,omitempty"` Cidr string `json:"cidr,omitempty"` CreatedAt time.Time `json:"createdAt,omitempty"` DeletedAt time.Time `json:"deletedAt,omitempty"` GatewayIp string `json:"gatewayIp,omitempty"` Id int32 `json:"id,omitempty"` ProjectId string `json:"projectId,omitempty"` Status string `json:"status,omitempty"` SubnetBackendId int32 `json:"subnetBackendId,omitempty"` UpdatedAt time.Time `json:"updatedAt,omitempty"` Uuid string `json:"uuid,omitempty"` VpcBackendId int32 `json:"vpcBackendId,omitempty"` }
type InternalNetworkInterfaceDto ¶ added in v0.0.15
type JsonObject ¶ added in v0.0.15
type JsonObject struct { }
type K8SClusterRestControllerV2ApiListClusterUsingGETOpts ¶ added in v0.0.15
type K8SClusterRestControllerV2ApiService ¶ added in v0.0.15
type K8SClusterRestControllerV2ApiService service
func (*K8SClusterRestControllerV2ApiService) AttachToLbUsingPOST ¶ added in v1.2.0
func (a *K8SClusterRestControllerV2ApiService) AttachToLbUsingPOST(ctx context.Context, attachToLoadBalancerBackendRequest AttachToLoadBalancerBackendRequest, clusterId string, projectId string) (DataResponseSimpleServerTaskDto, *http.Response, error)
K8SClusterRestControllerV2ApiService Attach Load Balancer
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param attachToLoadBalancerBackendRequest attachToLoadBalancerBackendRequest
- @param clusterId The cluster id
- @param projectId The project id
@return DataResponseSimpleServerTaskDto
func (*K8SClusterRestControllerV2ApiService) CreateClusterNodeGroupUsingPOST ¶ added in v1.2.0
func (a *K8SClusterRestControllerV2ApiService) CreateClusterNodeGroupUsingPOST(ctx context.Context, clusterId string, createNodeGroupBackendRequest CreateNodeGroupBackendRequest, projectId string) (DataResponseClusterNodeGroupDto, *http.Response, error)
K8SClusterRestControllerV2ApiService Create Cluster Node Group
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param clusterId The cluster id
- @param createNodeGroupBackendRequest createNodeGroupBackendRequest
- @param projectId The project id
@return DataResponseClusterNodeGroupDto
func (*K8SClusterRestControllerV2ApiService) CreateClusterUsingPOST ¶ added in v1.2.0
func (a *K8SClusterRestControllerV2ApiService) CreateClusterUsingPOST(ctx context.Context, createClusterRequest CreateClusterRequest, projectId string) (DataResponseClusterDto, *http.Response, error)
K8SClusterRestControllerV2ApiService Create cluster
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param createClusterRequest createClusterRequest
- @param projectId The project Id
@return DataResponseClusterDto
func (*K8SClusterRestControllerV2ApiService) DeleteClusterNodeGroupUsingDELETE ¶ added in v1.2.0
func (a *K8SClusterRestControllerV2ApiService) DeleteClusterNodeGroupUsingDELETE(ctx context.Context, nodeGroupId string, projectId string) (DataResponseClusterNodeGroupDto, *http.Response, error)
K8SClusterRestControllerV2ApiService Delete Cluster Node Group
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param nodeGroupId The cluster node group id
- @param projectId The project id
@return DataResponseClusterNodeGroupDto
func (*K8SClusterRestControllerV2ApiService) DeleteClusterUsingDELETE ¶ added in v1.2.0
func (a *K8SClusterRestControllerV2ApiService) DeleteClusterUsingDELETE(ctx context.Context, clusterId string, projectId string) (DataResponseClusterDto, *http.Response, error)
K8SClusterRestControllerV2ApiService Delete Cluster
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param clusterId The cluster id
- @param projectId The project id
@return DataResponseClusterDto
func (*K8SClusterRestControllerV2ApiService) GetClusterNodeGroupUsingGET ¶ added in v1.2.0
func (a *K8SClusterRestControllerV2ApiService) GetClusterNodeGroupUsingGET(ctx context.Context, nodegroupId string, projectId string) (DataResponseClusterNodeGroupDto, *http.Response, error)
K8SClusterRestControllerV2ApiService Get Cluster Node Group
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param nodegroupId The node group id
- @param projectId The project id
@return ClusterNodeGroupDto
func (*K8SClusterRestControllerV2ApiService) GetClusterUsingGET ¶ added in v1.2.0
func (a *K8SClusterRestControllerV2ApiService) GetClusterUsingGET(ctx context.Context, clusterId string, projectId string) (DataResponseClusterDto, *http.Response, error)
K8SClusterRestControllerV2ApiService Get cluster
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param clusterId The cluster id
- @param projectId The project Id
@return DataResponseClusterDto
func (*K8SClusterRestControllerV2ApiService) GetConfigUsingGET ¶ added in v1.2.0
func (a *K8SClusterRestControllerV2ApiService) GetConfigUsingGET(ctx context.Context, clusterId string, projectId string) (ClusterConfigResultDto, *http.Response, error)
K8SClusterRestControllerV2ApiService Get Config
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param clusterId The cluster id
- @param projectId The project id
@return ClusterConfigResultDto
func (*K8SClusterRestControllerV2ApiService) GetConsoleUsingGET ¶ added in v1.2.0
func (a *K8SClusterRestControllerV2ApiService) GetConsoleUsingGET(ctx context.Context, projectId string, serverId string) (NodeConsoleResultDto, *http.Response, error)
K8SClusterRestControllerV2ApiService Get Console
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param serverId The server id
@return NodeConsoleResultDto
func (*K8SClusterRestControllerV2ApiService) GetEtcdPackageUsingGET ¶ added in v1.2.0
func (a *K8SClusterRestControllerV2ApiService) GetEtcdPackageUsingGET(ctx context.Context, projectId string) ([]K8SEtcdPackageEntity, *http.Response, error)
K8SClusterRestControllerV2ApiService List K8s ETCD Package
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
@return []K8SEtcdPackageEntity
func (*K8SClusterRestControllerV2ApiService) GetFlavorLimitUsingGET ¶ added in v1.2.0
func (a *K8SClusterRestControllerV2ApiService) GetFlavorLimitUsingGET(ctx context.Context, projectId string) (string, *http.Response, error)
K8SClusterRestControllerV2ApiService Get Flavor Limit
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
@return string
func (*K8SClusterRestControllerV2ApiService) GetK8sConfigUsingGET ¶ added in v1.2.0
func (a *K8SClusterRestControllerV2ApiService) GetK8sConfigUsingGET(ctx context.Context, projectId string) (string, *http.Response, error)
K8SClusterRestControllerV2ApiService Get K8s Config
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId the project id
@return string
func (*K8SClusterRestControllerV2ApiService) GetK8sDefaultFlavorIdUsingGET ¶ added in v1.2.0
func (a *K8SClusterRestControllerV2ApiService) GetK8sDefaultFlavorIdUsingGET(ctx context.Context, projectId string) (string, *http.Response, error)
K8SClusterRestControllerV2ApiService Get K8s Default Flavor Id
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId the project id
@return string
func (*K8SClusterRestControllerV2ApiService) GetK8sVolumeConfigUsingGET ¶ added in v1.2.0
func (a *K8SClusterRestControllerV2ApiService) GetK8sVolumeConfigUsingGET(ctx context.Context, projectId string) (string, *http.Response, error)
K8SClusterRestControllerV2ApiService Get K8s Volume Config
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId the project id
@return string
func (*K8SClusterRestControllerV2ApiService) GetMaxNodeCountUsingGET ¶ added in v1.2.0
func (a *K8SClusterRestControllerV2ApiService) GetMaxNodeCountUsingGET(ctx context.Context, projectId string) (int32, *http.Response, error)
K8SClusterRestControllerV2ApiService Get max node count
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project Id
@return int32
func (*K8SClusterRestControllerV2ApiService) GetNodeByIdUsingGET ¶ added in v1.2.0
func (a *K8SClusterRestControllerV2ApiService) GetNodeByIdUsingGET(ctx context.Context, clusterId string, nodeGroupId string, projectId string) ([]ClusterNodeDto, *http.Response, error)
K8SClusterRestControllerV2ApiService List node
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param clusterId The cluster id
- @param nodeGroupId The node group id
- @param projectId The project Ii
@return []ClusterNodeDto
func (*K8SClusterRestControllerV2ApiService) GetServerTaskStatusUsingGET ¶ added in v1.2.0
func (a *K8SClusterRestControllerV2ApiService) GetServerTaskStatusUsingGET(ctx context.Context, clusterId string, projectId string, serverTaskId string) (string, *http.Response, error)
K8SClusterRestControllerV2ApiService Get Server Task Status
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param clusterId the cluster id
- @param projectId the project id
- @param serverTaskId the server task id
@return string
func (*K8SClusterRestControllerV2ApiService) ListClusterNodeGroupUsingGET ¶ added in v1.2.0
func (a *K8SClusterRestControllerV2ApiService) ListClusterNodeGroupUsingGET(ctx context.Context, clusterId string, projectId string) ([]SimpleClusterNodeGroupDto, *http.Response, error)
K8SClusterRestControllerV2ApiService List Cluster Node Group
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param clusterId The cluster id
- @param projectId The project id
@return []SimpleClusterNodeGroupDto
func (*K8SClusterRestControllerV2ApiService) ListClusterPoolByClusterUsingGET ¶ added in v1.2.0
func (a *K8SClusterRestControllerV2ApiService) ListClusterPoolByClusterUsingGET(ctx context.Context, clusterId string, projectId string) ([]ClusterPoolDto, *http.Response, error)
K8SClusterRestControllerV2ApiService List cluster pools
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param clusterId The cluster id
- @param projectId The project id
@return []ClusterPoolDto
func (*K8SClusterRestControllerV2ApiService) ListClusterUsingGET ¶ added in v0.0.15
func (a *K8SClusterRestControllerV2ApiService) ListClusterUsingGET(ctx context.Context, projectId string, localVarOptionals *K8SClusterRestControllerV2ApiListClusterUsingGETOpts) (PagingClusterDto, *http.Response, error)
func (*K8SClusterRestControllerV2ApiService) ListK8sNetworkTypeUsingGET ¶ added in v1.2.0
func (a *K8SClusterRestControllerV2ApiService) ListK8sNetworkTypeUsingGET(ctx context.Context, projectId string) ([]K8sNetworkTypeDto, *http.Response, error)
K8SClusterRestControllerV2ApiService List K8s Networks Type
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project Id
@return []K8sNetworkTypeDto
func (*K8SClusterRestControllerV2ApiService) ListK8sVersionUsingGET ¶ added in v1.2.0
func (a *K8SClusterRestControllerV2ApiService) ListK8sVersionUsingGET(ctx context.Context, projectId string) ([]K8sVersionDto, *http.Response, error)
K8SClusterRestControllerV2ApiService List K8s Version
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project Id
@return []K8sVersionDto
func (*K8SClusterRestControllerV2ApiService) ListNodeUsingGET ¶ added in v1.2.0
func (a *K8SClusterRestControllerV2ApiService) ListNodeUsingGET(ctx context.Context, clusterId string, projectId string) ([]ClusterNodeDto, *http.Response, error)
K8SClusterRestControllerV2ApiService List node
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param clusterId The cluster id
- @param projectId The project Id
@return []ClusterNodeDto
func (*K8SClusterRestControllerV2ApiService) ListSecGroupUsingGET ¶ added in v1.2.0
func (a *K8SClusterRestControllerV2ApiService) ListSecGroupUsingGET(ctx context.Context, clusterId string, projectId string, type_ bool) ([]ClusterSecGroupDto, *http.Response, error)
K8SClusterRestControllerV2ApiService Get Cluster Sec Group Detail
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param clusterId The cluster id
- @param projectId The project id
- @param type_ The type
@return []ClusterSecGroupDto
func (*K8SClusterRestControllerV2ApiService) ListSecgroupDefaultUsingGET ¶ added in v1.2.0
func (a *K8SClusterRestControllerV2ApiService) ListSecgroupDefaultUsingGET(ctx context.Context, clusterId string, projectId string) ([]ClusterSecgroupDefault, *http.Response, error)
K8SClusterRestControllerV2ApiService List Secgroup Default
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param clusterId The cluster id
- @param projectId The project id
@return []ClusterSecgroupDefault
func (*K8SClusterRestControllerV2ApiService) ListVolumeUsingGET3 ¶ added in v1.2.0
func (a *K8SClusterRestControllerV2ApiService) ListVolumeUsingGET3(ctx context.Context, clusterId string, projectId string) ([]ClusterVolumeDto, *http.Response, error)
K8SClusterRestControllerV2ApiService List volume
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param clusterId The cluster id
- @param projectId The project id
@return []ClusterVolumeDto
func (*K8SClusterRestControllerV2ApiService) ScaleMinionUsingPOST ¶ added in v1.2.0
func (a *K8SClusterRestControllerV2ApiService) ScaleMinionUsingPOST(ctx context.Context, clusterId string, projectId string, nodeGroupId string, scaleMinionBackendRequest ScaleMinionBackendRequest) (DataResponseSimpleServerTaskDto, *http.Response, error)
K8SClusterRestControllerV2ApiService Scale Minion
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param clusterId The cluster id
- @param projectId The project id
- @param scaleMinionBackendRequest scaleMinionBackendRequest
@return DataResponseSimpleServerTaskDto
func (*K8SClusterRestControllerV2ApiService) UpdateClusterDescriptionUsingPut ¶ added in v1.2.0
func (a *K8SClusterRestControllerV2ApiService) UpdateClusterDescriptionUsingPut(ctx context.Context, projectId string, clusterId string, updateClusterDescriptionRequest UpdateClusterDescriptionRequest) (DataResponseClusterDto, *http.Response, error)
K8SClusterRestControllerV2ApiService Update Cluster Description
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param updateClusterDescriptionRequest updateClusterDescriptionRequest
@return DataResponseClusterDto
func (*K8SClusterRestControllerV2ApiService) UpdateSecGroupUsingPUT ¶ added in v1.2.0
func (a *K8SClusterRestControllerV2ApiService) UpdateSecGroupUsingPUT(ctx context.Context, projectId string, clusterId string, updateClusterSecGroupRequest UpdateClusterSecGroupRequest) (DataResponseListClusterSecGroupDto, *http.Response, error)
K8SClusterRestControllerV2ApiService Update sec group
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param updateClusterSecGroupRequest updateClusterSecGroupRequest
@return DataResponseListClusterSecGroupDto
type K8SEtcdPackageEntity ¶ added in v1.2.0
type K8SEtcdPackageEntity struct { Description string `json:"description,omitempty"` DescriptionVi string `json:"descriptionVi,omitempty"` Name string `json:"name,omitempty"` Size int32 `json:"size,omitempty"` Status string `json:"status,omitempty"` Uuid string `json:"uuid,omitempty"` VolumeTypeId string `json:"volumeTypeId,omitempty"` }
type K8sNetworkTypeDto ¶ added in v1.2.0
type K8sVersionDto ¶ added in v1.2.0
type ListResourceIpRequest ¶ added in v0.0.15
type ListResourceIpRequest struct { // Types of resources. (if you want to get ips of all resources, let it be null) TypeOfResources []string `json:"typeOfResources"` }
Get Resource Ips
type ListRouteTablesResponse ¶ added in v0.0.9
type ListRouteTablesResponse struct { ErrorCode int32 `json:"errorCode,omitempty"` ErrorMsg string `json:"errorMsg,omitempty"` Extra interface{} `json:"extra,omitempty"` RouteTables []RouteTableModel `json:"routeTables,omitempty"` Success bool `json:"success,omitempty"` }
type LoadBalancerItem ¶ added in v1.2.0
type Network ¶
type Network struct { Cidr string `json:"cidr,omitempty"` CreatedAt time.Time `json:"createdAt,omitempty"` DisplayCreatedAt string `json:"displayCreatedAt,omitempty"` ElasticIpEntities []ElasticIpEntity `json:"elasticIpEntities,omitempty"` Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` Status string `json:"status,omitempty"` Subnets []Subnet `json:"subnets,omitempty"` }
type NetworkAclDetailDto ¶ added in v1.2.0
type NetworkAclDetailDto struct { AclPolicyId string `json:"aclPolicyId,omitempty"` AclPolicyRules []AclPolicyRule `json:"aclPolicyRules,omitempty"` CreatedAt time.Time `json:"createdAt,omitempty"` DefaultAcl bool `json:"defaultAcl,omitempty"` InterfaceNetworkUuid string `json:"interfaceNetworkUuid,omitempty"` Name string `json:"name,omitempty"` ProjectUuid string `json:"projectUuid,omitempty"` Status string `json:"status,omitempty"` SubnetAssociationList []string `json:"subnetAssociationList,omitempty"` Uuid string `json:"uuid,omitempty"` }
type NetworkAclDto ¶ added in v1.2.0
type NetworkAclDto struct { CreatedAt time.Time `json:"createdAt,omitempty"` DefaultAcl bool `json:"defaultAcl,omitempty"` InterfaceNetworkUuid string `json:"interfaceNetworkUuid,omitempty"` Name string `json:"name,omitempty"` ProjectUuid string `json:"projectUuid,omitempty"` Status string `json:"status,omitempty"` Uuid string `json:"uuid,omitempty"` }
type NetworkAclListResponse ¶ added in v0.0.9
type NetworkAclListResponse struct { ErrorCode int32 `json:"errorCode,omitempty"` ErrorMsg string `json:"errorMsg,omitempty"` Extra interface{} `json:"extra,omitempty"` NetworkAcls []NetworkAclModel `json:"networkAcls,omitempty"` Success bool `json:"success,omitempty"` }
type NetworkAclModel ¶ added in v0.0.9
type NetworkAclModel struct { AclPolicyId string `json:"aclPolicyId,omitempty"` AclPolicyRules []AclPolicyRule `json:"aclPolicyRules,omitempty"` CreatedAt time.Time `json:"createdAt,omitempty"` DefaultAcl bool `json:"defaultAcl,omitempty"` InterfaceNetworkUuid string `json:"interfaceNetworkUuid,omitempty"` Name string `json:"name,omitempty"` ProjectUuid string `json:"projectUuid,omitempty"` Status string `json:"status,omitempty"` SubnetAssociationList []string `json:"subnetAssociationList,omitempty"` Uuid string `json:"uuid,omitempty"` }
type NetworkAclPolicyRuleDto ¶ added in v1.2.0
type NetworkAclPolicyRuleDto struct { Action string `json:"action,omitempty"` CreatedAt time.Time `json:"createdAt,omitempty"` InterfaceAclPolicyUuid string `json:"interfaceAclPolicyUuid,omitempty"` Port string `json:"port,omitempty"` Protocol string `json:"protocol,omitempty"` SeqNumber int32 `json:"seqNumber,omitempty"` Source string `json:"source,omitempty"` Type_ string `json:"type,omitempty"` Uuid string `json:"uuid,omitempty"` }
type NetworkAclResponse ¶ added in v0.0.9
type NetworkAclResponse struct { ErrorCode int32 `json:"errorCode,omitempty"` ErrorMsg string `json:"errorMsg,omitempty"` Extra interface{} `json:"extra,omitempty"` NetworkAcl *NetworkAclModel `json:"networkAcl,omitempty"` Success bool `json:"success,omitempty"` }
type NetworkAclRestControllerApiService ¶ added in v0.0.9
type NetworkAclRestControllerApiService service
func (*NetworkAclRestControllerApiService) CreateNetworkAclUsingPOST ¶ added in v0.0.9
func (a *NetworkAclRestControllerApiService) CreateNetworkAclUsingPOST(ctx context.Context, createNetworkAclRequest CreateNetworkAclRequest, projectId string) (NetworkAclResponse, *http.Response, error)
NetworkAclRestControllerApiService Create network-acl
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param createNetworkAclRequest createNetworkAclRequest
- @param projectId The project id
@return NetworkAclResponse
func (*NetworkAclRestControllerApiService) DeleteNetworkAclUsingDELETE ¶ added in v0.0.9
func (a *NetworkAclRestControllerApiService) DeleteNetworkAclUsingDELETE(ctx context.Context, projectId string, uuid string) (BaseResponse, *http.Response, error)
NetworkAclRestControllerApiService Delete Network-acl
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param uuid The network-acl uuid
@return BaseResponse
func (*NetworkAclRestControllerApiService) GetNetworkAclUsingGET ¶ added in v0.0.9
func (a *NetworkAclRestControllerApiService) GetNetworkAclUsingGET(ctx context.Context, projectId string, uuid string) (NetworkAclResponse, *http.Response, error)
NetworkAclRestControllerApiService Get network-acl by uuid
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param uuid The network-acl uuid
@return NetworkAclResponse
func (*NetworkAclRestControllerApiService) ListNetworkAclUsingGET ¶ added in v0.0.9
func (a *NetworkAclRestControllerApiService) ListNetworkAclUsingGET(ctx context.Context, projectId string) (NetworkAclListResponse, *http.Response, error)
NetworkAclRestControllerApiService List network-acl
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
@return NetworkAclListResponse
func (*NetworkAclRestControllerApiService) UpdateAssociatedSubnetsUsingPUT ¶ added in v0.0.9
func (a *NetworkAclRestControllerApiService) UpdateAssociatedSubnetsUsingPUT(ctx context.Context, projectId string, updateSubnetsRequest UpdateNetworkAclSubnetsRequest, uuid string) (NetworkAclResponse, *http.Response, error)
NetworkAclRestControllerApiService Update ACL Rule of Network-acl
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param updateSubnetsRequest updateSubnetsRequest
- @param uuid The network-acl uuid
@return NetworkAclResponse
func (*NetworkAclRestControllerApiService) UpdateRulesUsingPUT ¶ added in v0.0.9
func (a *NetworkAclRestControllerApiService) UpdateRulesUsingPUT(ctx context.Context, projectId string, updateAclRulesRequest UpdateNetworkAclRulesRequest, uuid string) (NetworkAclResponse, *http.Response, error)
NetworkAclRestControllerApiService Update Inbound/Outbound Rules of Network-acl
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param updateAclRulesRequest updateAclRulesRequest
- @param uuid The network-acl uuid
@return NetworkAclResponse
type NetworkAclRestControllerV2ApiService ¶ added in v1.2.0
type NetworkAclRestControllerV2ApiService service
func (*NetworkAclRestControllerV2ApiService) CreateNetworkAclUsingPOST1 ¶ added in v1.2.0
func (a *NetworkAclRestControllerV2ApiService) CreateNetworkAclUsingPOST1(ctx context.Context, createNetworkAclRequest CreateNetworkAclRequest, projectId string) (DataResponseNetworkAclDto, *http.Response, error)
NetworkAclRestControllerV2ApiService Create Network-acl
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param createNetworkAclRequest createNetworkAclRequest
- @param projectId The project id
@return DataResponseNetworkAclDto
func (*NetworkAclRestControllerV2ApiService) DeleteNetworkAclUsingDELETE1 ¶ added in v1.2.0
func (a *NetworkAclRestControllerV2ApiService) DeleteNetworkAclUsingDELETE1(ctx context.Context, networkAclUuid string, projectId string) (*http.Response, error)
NetworkAclRestControllerV2ApiService Delete Network-acl
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param networkAclUuid The network-acl Uuid
- @param projectId The project id
func (*NetworkAclRestControllerV2ApiService) GetNetworkAclPolicyRulesUsingGET ¶ added in v1.2.0
func (a *NetworkAclRestControllerV2ApiService) GetNetworkAclPolicyRulesUsingGET(ctx context.Context, projectId string, uuid string) (DataResponseListNetworkAclPolicyRuleDto, *http.Response, error)
NetworkAclRestControllerV2ApiService Get Network-Acl Policy rules (inbound/outbound) by uuid
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param uuid The network-acl uuid
@return DataResponseListNetworkAclPolicyRuleDto
func (*NetworkAclRestControllerV2ApiService) GetNetworkAclUsingGET1 ¶ added in v1.2.0
func (a *NetworkAclRestControllerV2ApiService) GetNetworkAclUsingGET1(ctx context.Context, projectId string, uuid string) (DataResponseNetworkAclDetailDto, *http.Response, error)
NetworkAclRestControllerV2ApiService Get Detail Network-Acl by uuid
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param uuid The network-acl uuid
@return DataResponseNetworkAclDetailDto
func (*NetworkAclRestControllerV2ApiService) GetNetworkAclsUsingGET ¶ added in v1.2.0
func (a *NetworkAclRestControllerV2ApiService) GetNetworkAclsUsingGET(ctx context.Context, name string, page string, projectId string, size string) (PagingNetworkAclDto, *http.Response, error)
NetworkAclRestControllerV2ApiService List network-acl by project id and network acl uuid
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param name name
- @param page page
- @param projectId The project id
- @param size size
@return PagingNetworkAclDto
func (*NetworkAclRestControllerV2ApiService) UpdateAssociatedSubnetsUsingPUT1 ¶ added in v1.2.0
func (a *NetworkAclRestControllerV2ApiService) UpdateAssociatedSubnetsUsingPUT1(ctx context.Context, projectId string, updateSubnetsRequest UpdateNetworkAclSubnetsRequest, uuid string) (DataResponseNetworkAclDto, *http.Response, error)
NetworkAclRestControllerV2ApiService Update associated Subnets ACL of Network-Acl
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param updateSubnetsRequest updateSubnetsRequest
- @param uuid The network-acl uuid
@return DataResponseNetworkAclDto
func (*NetworkAclRestControllerV2ApiService) UpdateRulesUsingPUT1 ¶ added in v1.2.0
func (a *NetworkAclRestControllerV2ApiService) UpdateRulesUsingPUT1(ctx context.Context, projectId string, updateAclRulesRequest UpdateNetworkAclRulesRequest, uuid string) (DataResponseNetworkAclModel, *http.Response, error)
NetworkAclRestControllerV2ApiService Update Inbound/Outbound Rules of Network-acl
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param updateAclRulesRequest updateAclRulesRequest
- @param uuid The network-acl uuid
@return DataResponseNetworkAclModel
type NetworkDto ¶ added in v0.0.15
type NetworkInterfaceElastic ¶ added in v0.0.15
type NetworkInterfaceElastic struct { CreatedAt time.Time `json:"createdAt,omitempty"` ElasticIpId string `json:"elasticIpId,omitempty"` Ip string `json:"ip,omitempty"` Name string `json:"name,omitempty"` ProjectId string `json:"projectId,omitempty"` ServerId string `json:"serverId,omitempty"` ServerName string `json:"serverName,omitempty"` Status string `json:"status,omitempty"` UpdatedAt time.Time `json:"updatedAt,omitempty"` Uuid string `json:"uuid,omitempty"` VpcId string `json:"vpcId,omitempty"` VpcName string `json:"vpcName,omitempty"` }
type NetworkInterfaceElasticRestControllerV2ApiListNetworkInterfaceElasticUsingGETOpts ¶ added in v0.0.15
type NetworkInterfaceElasticRestControllerV2ApiService ¶ added in v0.0.15
type NetworkInterfaceElasticRestControllerV2ApiService service
func (*NetworkInterfaceElasticRestControllerV2ApiService) CreateNetworkInterfaceElasticUsingPOST ¶ added in v0.0.15
func (a *NetworkInterfaceElasticRestControllerV2ApiService) CreateNetworkInterfaceElasticUsingPOST(ctx context.Context, createNetworkInterfaceRequest CreateNetworkInterfaceRequest, projectId string) (DataResponseNetworkInterfaceElastic, *http.Response, error)
NetworkInterfaceElasticRestControllerV2ApiService Create Network Interface Elastic
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param createNetworkInterfaceRequest createNetworkInterfaceRequest
- @param projectId The project id
@return DataResponseNetworkInterfaceElastic
func (*NetworkInterfaceElasticRestControllerV2ApiService) DeleteNetworkInterfaceElasticUsingDELETE ¶ added in v0.0.15
func (a *NetworkInterfaceElasticRestControllerV2ApiService) DeleteNetworkInterfaceElasticUsingDELETE(ctx context.Context, networkInterfaceId string, projectId string) (*http.Response, error)
NetworkInterfaceElasticRestControllerV2ApiService Delete Network Interface Elastic
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param networkInterfaceId The network interface id
- @param projectId The project id
func (*NetworkInterfaceElasticRestControllerV2ApiService) GetNetworkInterfaceElasticUsingGET ¶ added in v0.0.15
func (a *NetworkInterfaceElasticRestControllerV2ApiService) GetNetworkInterfaceElasticUsingGET(ctx context.Context, networkInterfaceId string, projectId string) (DataResponseNetworkInterfaceElastic, *http.Response, error)
NetworkInterfaceElasticRestControllerV2ApiService Get Network Interface Elastic
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param networkInterfaceId The network interface id
- @param projectId The project id
@return DataResponseNetworkInterfaceElastic
func (*NetworkInterfaceElasticRestControllerV2ApiService) ListNetworkInterfaceElasticUsingGET ¶ added in v0.0.15
func (a *NetworkInterfaceElasticRestControllerV2ApiService) ListNetworkInterfaceElasticUsingGET(ctx context.Context, projectId string, localVarOptionals *NetworkInterfaceElasticRestControllerV2ApiListNetworkInterfaceElasticUsingGETOpts) (PagingNetworkInterfaceElastic, *http.Response, error)
func (*NetworkInterfaceElasticRestControllerV2ApiService) RenameNetworkInterfaceElasticUsingPUT ¶ added in v0.0.15
func (a *NetworkInterfaceElasticRestControllerV2ApiService) RenameNetworkInterfaceElasticUsingPUT(ctx context.Context, networkInterfaceId string, projectId string, renameNetworkInterfaceRequest RenameNetworkInterfaceRequest) (DataResponseNetworkInterfaceElastic, *http.Response, error)
NetworkInterfaceElasticRestControllerV2ApiService Rename Network Interface Elastic
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param networkInterfaceId The network interface id
- @param projectId The project id
- @param renameNetworkInterfaceRequest renameNetworkInterfaceRequest
@return DataResponseNetworkInterfaceElastic
type NetworkResponse ¶
type NetworkRestControllerApiService ¶
type NetworkRestControllerApiService service
func (*NetworkRestControllerApiService) CreateNetworkUsingPOST ¶
func (a *NetworkRestControllerApiService) CreateNetworkUsingPOST(ctx context.Context, createNetworkRequest CreateNetworkRequest, projectId string) (NetworkResponse, *http.Response, error)
NetworkRestControllerApiService createNetwork
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param createNetworkRequest createNetworkRequest
- @param projectId project_id
@return NetworkResponse
func (*NetworkRestControllerApiService) DeleteNetworkUsingDELETE ¶
func (a *NetworkRestControllerApiService) DeleteNetworkUsingDELETE(ctx context.Context, deleteNetworkRequest DeleteNetworkRequest, projectId string) (BaseResponse, *http.Response, error)
NetworkRestControllerApiService deleteNetwork
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param deleteNetworkRequest deleteNetworkRequest
- @param projectId project_id
@return BaseResponse
func (*NetworkRestControllerApiService) EditNetworkUsingPUT ¶
func (a *NetworkRestControllerApiService) EditNetworkUsingPUT(ctx context.Context, projectId string, updateNetworkRequest UpdateNetworkRequest) (NetworkResponse, *http.Response, error)
NetworkRestControllerApiService editNetwork
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId project_id
- @param updateNetworkRequest updateNetworkRequest
@return NetworkResponse
func (*NetworkRestControllerApiService) GetNetworkUsingGET ¶
func (a *NetworkRestControllerApiService) GetNetworkUsingGET(ctx context.Context, networkId string, projectId string) (NetworkResponse, *http.Response, error)
NetworkRestControllerApiService getNetwork
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param networkId network_id
- @param projectId project_id
@return NetworkResponse
func (*NetworkRestControllerApiService) ListNetworkUsingGET ¶
func (a *NetworkRestControllerApiService) ListNetworkUsingGET(ctx context.Context, projectId string) (NetworkResponse, *http.Response, error)
NetworkRestControllerApiService listNetwork
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId project_id
@return NetworkResponse
type NetworkRestControllerV2ApiListNetworkActiveUsingGETOpts ¶ added in v0.0.15
type NetworkRestControllerV2ApiListNetworkUsingGET1Opts ¶ added in v0.0.15
type NetworkRestControllerV2ApiService ¶ added in v0.0.15
type NetworkRestControllerV2ApiService service
func (*NetworkRestControllerV2ApiService) CreateNetworkUsingPOST1 ¶ added in v0.0.15
func (a *NetworkRestControllerV2ApiService) CreateNetworkUsingPOST1(ctx context.Context, createNetworkRequest CreateNetworkRequest, projectId string) (DataResponseNetworkDto, *http.Response, error)
NetworkRestControllerV2ApiService Create network
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param createNetworkRequest createNetworkRequest
- @param projectId projectId
@return DataResponseNetworkDto
func (*NetworkRestControllerV2ApiService) DeleteNetworkUsingDELETE1 ¶ added in v0.0.15
func (a *NetworkRestControllerV2ApiService) DeleteNetworkUsingDELETE1(ctx context.Context, networkId string, projectId string) (*http.Response, error)
NetworkRestControllerV2ApiService Delete network
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param networkId networkId
- @param projectId projectId
func (*NetworkRestControllerV2ApiService) EditNetworkUsingPATCH ¶ added in v0.0.15
func (a *NetworkRestControllerV2ApiService) EditNetworkUsingPATCH(ctx context.Context, networkId string, projectId string, updateNetworkRequest UpdateNetworkRequest) (DataResponseNetworkDto, *http.Response, error)
NetworkRestControllerV2ApiService Edit network
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param networkId networkId
- @param projectId projectId
- @param updateNetworkRequest updateNetworkRequest
@return DataResponseNetworkDto
func (*NetworkRestControllerV2ApiService) GetNetworkUsingGET1 ¶ added in v0.0.15
func (a *NetworkRestControllerV2ApiService) GetNetworkUsingGET1(ctx context.Context, networkId string, projectId string) (NetworkDto, *http.Response, error)
NetworkRestControllerV2ApiService Get network
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param networkId networkId
- @param projectId projectId
@return NetworkDto
func (*NetworkRestControllerV2ApiService) ListNetworkActiveUsingGET ¶ added in v0.0.15
func (a *NetworkRestControllerV2ApiService) ListNetworkActiveUsingGET(ctx context.Context, projectId string, localVarOptionals *NetworkRestControllerV2ApiListNetworkActiveUsingGETOpts) (PagingNetworkDto, *http.Response, error)
func (*NetworkRestControllerV2ApiService) ListNetworkUsingGET1 ¶ added in v0.0.15
func (a *NetworkRestControllerV2ApiService) ListNetworkUsingGET1(ctx context.Context, projectId string, localVarOptionals *NetworkRestControllerV2ApiListNetworkUsingGET1Opts) (PagingNetworkDto, *http.Response, error)
type NodeConsoleResultDto ¶ added in v1.2.0
type NodeConsoleResultDto struct {
Url string `json:"url,omitempty"`
}
type NodeGroupRequestModel ¶ added in v1.2.0
type OsImage ¶
type OsImage struct { FlavorZoneIds []string `json:"flavorZoneIds,omitempty"` Id string `json:"id,omitempty"` ImageType string `json:"imageType,omitempty"` ImageVersion string `json:"imageVersion,omitempty"` Licence bool `json:"licence,omitempty"` PackageLimit *PackageLimit `json:"packageLimit,omitempty"` }
type OsImageBaseResponse ¶
type PackageLimit ¶ added in v0.0.15
type PagingClusterDto ¶ added in v1.2.0
type PagingClusterDto struct { ListData []ClusterDto `json:"listData,omitempty"` Page int32 `json:"page,omitempty"` PageSize int32 `json:"pageSize,omitempty"` TotalItem int64 `json:"totalItem,omitempty"` TotalPage int32 `json:"totalPage,omitempty"` }
type PagingElasticIpDetail ¶ added in v0.0.15
type PagingElasticIpDetail struct { ListData []ElasticIpDetail `json:"listData,omitempty"` Page int32 `json:"page,omitempty"` PageSize int32 `json:"pageSize,omitempty"` TotalItem int64 `json:"totalItem,omitempty"` TotalPage int32 `json:"totalPage,omitempty"` }
type PagingInterfaceK8SClusterDetail ¶ added in v0.0.15
type PagingInterfaceK8SClusterDetail struct { ListData []InterfaceK8SClusterDetail `json:"listData,omitempty"` Page int32 `json:"page,omitempty"` PageSize int32 `json:"pageSize,omitempty"` TotalItem int64 `json:"totalItem,omitempty"` TotalPage int32 `json:"totalPage,omitempty"` }
type PagingInterfaceK8SClusterDto ¶ added in v1.2.0
type PagingInterfaceK8SClusterDto struct { ListData []InterfaceK8SClusterDto `json:"listData,omitempty"` Page int32 `json:"page,omitempty"` PageSize int32 `json:"pageSize,omitempty"` TotalItem int64 `json:"totalItem,omitempty"` TotalPage int32 `json:"totalPage,omitempty"` }
type PagingNetworkAclDto ¶ added in v1.2.0
type PagingNetworkAclDto struct { ListData []NetworkAclDto `json:"listData,omitempty"` Page int32 `json:"page,omitempty"` PageSize int32 `json:"pageSize,omitempty"` TotalItem int64 `json:"totalItem,omitempty"` TotalPage int32 `json:"totalPage,omitempty"` }
type PagingNetworkDto ¶ added in v0.0.15
type PagingNetworkDto struct { ListData []NetworkDto `json:"listData,omitempty"` Page int32 `json:"page,omitempty"` PageSize int32 `json:"pageSize,omitempty"` TotalItem int64 `json:"totalItem,omitempty"` TotalPage int32 `json:"totalPage,omitempty"` }
type PagingNetworkInterfaceElastic ¶ added in v0.0.15
type PagingNetworkInterfaceElastic struct { ListData []NetworkInterfaceElastic `json:"listData,omitempty"` Page int32 `json:"page,omitempty"` PageSize int32 `json:"pageSize,omitempty"` TotalItem int64 `json:"totalItem,omitempty"` TotalPage int32 `json:"totalPage,omitempty"` }
type PagingPersistentVolumeDto ¶ added in v1.2.0
type PagingPersistentVolumeDto struct { ListData []PersistentVolumeDto `json:"listData,omitempty"` Page int32 `json:"page,omitempty"` PageSize int32 `json:"pageSize,omitempty"` TotalItem int64 `json:"totalItem,omitempty"` TotalPage int32 `json:"totalPage,omitempty"` }
type PagingRouteTableDto ¶ added in v1.2.0
type PagingRouteTableDto struct { ListData []RouteTableDto `json:"listData,omitempty"` Page int32 `json:"page,omitempty"` PageSize int32 `json:"pageSize,omitempty"` TotalItem int64 `json:"totalItem,omitempty"` TotalPage int32 `json:"totalPage,omitempty"` }
type PagingSecgroupDto ¶ added in v0.0.15
type PagingSecgroupDto struct { ListData []SecgroupDto `json:"listData,omitempty"` Page int32 `json:"page,omitempty"` PageSize int32 `json:"pageSize,omitempty"` TotalItem int64 `json:"totalItem,omitempty"` TotalPage int32 `json:"totalPage,omitempty"` }
type PagingServer ¶ added in v0.0.15
type PagingServerGroupDetail ¶ added in v0.0.15
type PagingServerGroupDetail struct { ListData []ServerGroupDetail `json:"listData,omitempty"` Page int32 `json:"page,omitempty"` PageSize int32 `json:"pageSize,omitempty"` TotalItem int64 `json:"totalItem,omitempty"` TotalPage int32 `json:"totalPage,omitempty"` }
type PagingSimpleServer ¶ added in v0.0.15
type PagingSimpleServer struct { ListData []SimpleServer `json:"listData,omitempty"` Page int32 `json:"page,omitempty"` PageSize int32 `json:"pageSize,omitempty"` TotalItem int64 `json:"totalItem,omitempty"` TotalPage int32 `json:"totalPage,omitempty"` }
type PagingSimpleVolume ¶ added in v0.0.15
type PagingSimpleVolume struct { ListData []SimpleVolume `json:"listData,omitempty"` Page int32 `json:"page,omitempty"` PageSize int32 `json:"pageSize,omitempty"` TotalItem int64 `json:"totalItem,omitempty"` TotalPage int32 `json:"totalPage,omitempty"` }
type PagingSshKeyDto ¶ added in v0.0.15
type PagingUserImage ¶ added in v0.0.15
type PagingVipDto ¶ added in v1.2.0
type PagingVirtualIpAddressDto ¶ added in v0.0.15
type PagingVirtualIpAddressDto struct { ListData []VirtualIpAddressDto `json:"listData,omitempty"` Page int32 `json:"page,omitempty"` PageSize int32 `json:"pageSize,omitempty"` TotalItem int64 `json:"totalItem,omitempty"` TotalPage int32 `json:"totalPage,omitempty"` }
type PagingVolume ¶ added in v0.0.15
type PagingWanIpDto ¶ added in v0.0.15
type PersistentVolumeDto ¶ added in v1.2.0
type PersistentVolumeDto struct { ClusterId string `json:"clusterId,omitempty"` CreatedAt string `json:"createdAt,omitempty"` DeletedAt string `json:"deletedAt,omitempty"` IopsId int64 `json:"iopsId,omitempty"` Name string `json:"name,omitempty"` Size int32 `json:"size,omitempty"` Status string `json:"status,omitempty"` UpdatedAt string `json:"updatedAt,omitempty"` VmId string `json:"vmId,omitempty"` VolumeId string `json:"volumeId,omitempty"` }
type PersistentVolumeRestControllerV2ApiListPersistentVolumeUsingGETOpts ¶ added in v1.2.0
type PersistentVolumeRestControllerV2ApiService ¶ added in v1.2.0
type PersistentVolumeRestControllerV2ApiService service
func (*PersistentVolumeRestControllerV2ApiService) DeletePersistentVolumeUsingDELETE ¶ added in v1.2.0
func (a *PersistentVolumeRestControllerV2ApiService) DeletePersistentVolumeUsingDELETE(ctx context.Context, authorization string, portalUserId int32, projectId string, pvId string) (DataResponse, *http.Response, error)
PersistentVolumeRestControllerV2ApiService Delete Persistent Volume
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param authorization Access Token
- @param portalUserId portal-user-id
- @param projectId The project id
- @param pvId The persistent volume id
@return DataResponse
func (*PersistentVolumeRestControllerV2ApiService) ListPersistentVolumeUsingGET ¶ added in v1.2.0
func (a *PersistentVolumeRestControllerV2ApiService) ListPersistentVolumeUsingGET(ctx context.Context, authorization string, portalUserId int32, projectId string, localVarOptionals *PersistentVolumeRestControllerV2ApiListPersistentVolumeUsingGETOpts) (PagingPersistentVolumeDto, *http.Response, error)
type ProjectInfo ¶ added in v0.0.9
type ProjectResponse ¶
type ProjectResponse struct { ErrorCode int32 `json:"errorCode,omitempty"` ErrorMsg string `json:"errorMsg,omitempty"` Extra interface{} `json:"extra,omitempty"` Projects []ProjectInfo `json:"projects,omitempty"` Success bool `json:"success,omitempty"` }
type ProjectRestControllerApiService ¶
type ProjectRestControllerApiService service
func (*ProjectRestControllerApiService) CreateProjectUsingPOST ¶ added in v0.0.15
func (a *ProjectRestControllerApiService) CreateProjectUsingPOST(ctx context.Context) (ProjectResponse, *http.Response, error)
ProjectRestControllerApiService createProject
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ProjectResponse
func (*ProjectRestControllerApiService) GetProjectUsingGET ¶ added in v0.0.9
func (a *ProjectRestControllerApiService) GetProjectUsingGET(ctx context.Context, projectId string) (ProjectResponse, *http.Response, error)
ProjectRestControllerApiService getProject
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
@return ProjectResponse
func (*ProjectRestControllerApiService) ListProjectUsingGET ¶
func (a *ProjectRestControllerApiService) ListProjectUsingGET(ctx context.Context) (ProjectResponse, *http.Response, error)
ProjectRestControllerApiService listProject
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ProjectResponse
type ProtocolRestControllerV2ApiService ¶ added in v0.0.15
type ProtocolRestControllerV2ApiService service
func (*ProtocolRestControllerV2ApiService) ListProtocolUsingGET ¶ added in v0.0.15
func (a *ProtocolRestControllerV2ApiService) ListProtocolUsingGET(ctx context.Context) (DataResponseJsonObject, *http.Response, error)
ProtocolRestControllerV2ApiService List Protocol Supported
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return DataResponseJsonObject
type QuotaResponse ¶ added in v0.0.9
type QuotaRestControllerApiService ¶ added in v0.0.9
type QuotaRestControllerApiService service
func (*QuotaRestControllerApiService) ListByUserUsingGET ¶ added in v0.0.9
func (a *QuotaRestControllerApiService) ListByUserUsingGET(ctx context.Context, projectId string, userId int32) (InterfaceProjectQuotaResponse, *http.Response, error)
QuotaRestControllerApiService listByUser
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId project_id
- @param userId user_id
@return InterfaceProjectQuotaResponse
func (*QuotaRestControllerApiService) ListQuotaUsedUsingGET ¶ added in v0.0.9
func (a *QuotaRestControllerApiService) ListQuotaUsedUsingGET(ctx context.Context, projectId string) (QuotaResponse, *http.Response, error)
QuotaRestControllerApiService listQuotaUsed
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId project_id
@return QuotaResponse
func (*QuotaRestControllerApiService) ListUsingGET ¶ added in v0.0.9
func (a *QuotaRestControllerApiService) ListUsingGET(ctx context.Context, projectId string) (InterfaceProjectQuotaResponse, *http.Response, error)
QuotaRestControllerApiService list
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId project_id
@return InterfaceProjectQuotaResponse
type QuotaRestControllerV2ApiService ¶ added in v0.0.15
type QuotaRestControllerV2ApiService service
func (*QuotaRestControllerV2ApiService) ListQuotaUsedUsingGET1 ¶ added in v0.0.15
func (a *QuotaRestControllerV2ApiService) ListQuotaUsedUsingGET1(ctx context.Context, projectId string) (DataResponseListQuotaUsedDto, *http.Response, error)
QuotaRestControllerV2ApiService List Quota-used
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId project id
@return DataResponseListQuotaUsedDto
type QuotaUsedDto ¶ added in v0.0.15
type RecoverBandwidthRequest ¶ added in v0.0.15
type RegionControllerV2ApiService ¶ added in v1.2.0
type RegionControllerV2ApiService service
func (*RegionControllerV2ApiService) GetALlRegionUsingGET ¶ added in v1.2.0
func (a *RegionControllerV2ApiService) GetALlRegionUsingGET(ctx context.Context, projectId string) (DataResponseListRegionDto, *http.Response, error)
RegionControllerV2ApiService Get All Region
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId projectId
@return DataResponseListRegionDto
func (*RegionControllerV2ApiService) ListQuotaUsedUsingGET2 ¶ added in v1.2.0
func (a *RegionControllerV2ApiService) ListQuotaUsedUsingGET2(ctx context.Context, projectId string, regionId string) (DataResponseboolean, *http.Response, error)
RegionControllerV2ApiService Check userId belong to Region
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId projectId
- @param regionId regionId
@return DataResponseboolean
type RenameNetworkInterfaceRequest ¶ added in v0.0.15
type RenameNetworkInterfaceRequest struct { // Name of network interface Name string `json:"name"` }
Rename Network Interface Request
type RenameServerRequest ¶ added in v0.0.15
type RenameServerRequest struct { // New name of server NewName string `json:"newName"` // Id of server ServerId string `json:"serverId"` }
Rename Server Request
type RenewBandwidthRequest ¶ added in v0.0.15
type ResizeServerRequest ¶
type ResizeServerRequest struct { // Id of flavor FlavorId string `json:"flavorId"` // Id of server ServerId string `json:"serverId"` // Zone of flavor. You can choose if having multiple zone HostGroupId string `json:"hostGroupId,omitempty"` }
Resize Server Request
type ResizeVolumeRequest ¶
type ResizeVolumeRequest struct { // New size of volume NewSize int32 `json:"newSize"` // Id of new volume type NewVolumeTypeId string `json:"newVolumeTypeId"` }
Resize Volume Request
type ResourceIp ¶ added in v0.0.15
type RootDiskLimit ¶ added in v0.0.15
type RouteModel ¶ added in v0.0.9
type RouteModel struct { CreatedAt time.Time `json:"createdAt,omitempty"` Destination string `json:"destination,omitempty"` RouteTableUuid string `json:"routeTableUuid,omitempty"` RoutingType string `json:"routingType,omitempty"` Status string `json:"status,omitempty"` TargetUuid string `json:"targetUuid,omitempty"` UpdatedAt time.Time `json:"updatedAt,omitempty"` Uuid string `json:"uuid,omitempty"` }
type RouteRequest ¶ added in v1.2.0
type RouteRequest struct { // Specifies the destination in CIDR notation for the route. This is used to match the destination IP addresses of network traffic. DestinationCidrBlock string `json:"destinationCidrBlock"` // Unique identifier for the target of the route, such as a virtual machine or a gateway. Target string `json:"target"` }
type RouteTableDto ¶ added in v1.2.0
type RouteTableModel ¶ added in v0.0.9
type RouteTableModel struct { CreatedAt time.Time `json:"createdAt,omitempty"` Name string `json:"name,omitempty"` Routes []RouteModel `json:"routes,omitempty"` Status string `json:"status,omitempty"` Subnets []Subnet `json:"subnets,omitempty"` System bool `json:"system,omitempty"` Uuid string `json:"uuid,omitempty"` VpcUuid string `json:"vpcUuid,omitempty"` }
type RouteTableResponse ¶ added in v0.0.9
type RouteTableResponse struct { ErrorCode int32 `json:"errorCode,omitempty"` ErrorMsg string `json:"errorMsg,omitempty"` Extra interface{} `json:"extra,omitempty"` RouteTable *RouteTableModel `json:"routeTable,omitempty"` Success bool `json:"success,omitempty"` }
type RouteTableRestControllerV2ApiService ¶ added in v1.2.0
type RouteTableRestControllerV2ApiService service
func (*RouteTableRestControllerV2ApiService) CreateRouteTableUsingPOST1 ¶ added in v1.2.0
func (a *RouteTableRestControllerV2ApiService) CreateRouteTableUsingPOST1(ctx context.Context, createReq CreateRouteTableRequest, projectId string) (map[string]string, *http.Response, error)
RouteTableRestControllerV2ApiService Create Route-table
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param createReq createReq
- @param projectId The project id
@return map[string]string
func (*RouteTableRestControllerV2ApiService) DeleteRouteTableUsingDELETE1 ¶ added in v1.2.0
func (a *RouteTableRestControllerV2ApiService) DeleteRouteTableUsingDELETE1(ctx context.Context, projectId string, routeId string) (*http.Response, error)
RouteTableRestControllerV2ApiService Delete Route Table
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId projectId
- @param routeId routeId
func (*RouteTableRestControllerV2ApiService) GetRouteTableUsingGET1 ¶ added in v1.2.0
func (a *RouteTableRestControllerV2ApiService) GetRouteTableUsingGET1(ctx context.Context, projectId string, uuid string) (DataResponseRouteTableDto, *http.Response, error)
RouteTableRestControllerV2ApiService Get Route table by uuid
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId project id
- @param uuid The route-table uuid
@return DataResponseRouteTableDto
func (*RouteTableRestControllerV2ApiService) ListRouteFromRouteTableIdUsingGET ¶ added in v1.2.0
func (a *RouteTableRestControllerV2ApiService) ListRouteFromRouteTableIdUsingGET(ctx context.Context, projectId string, routeTableId string) (DataResponseListRoutesDto, *http.Response, error)
RouteTableRestControllerV2ApiService List Route from Route-Table
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId projectId
- @param routeTableId routeTableId
@return DataResponseListRoutesDto
func (*RouteTableRestControllerV2ApiService) ListRouteTableUsingGET ¶ added in v1.2.0
func (a *RouteTableRestControllerV2ApiService) ListRouteTableUsingGET(ctx context.Context, name string, page string, projectId string, size string) (PagingRouteTableDto, *http.Response, error)
RouteTableRestControllerV2ApiService List Route Table V2
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param name name
- @param page page
- @param projectId project id
- @param size size
@return PagingRouteTableDto
func (*RouteTableRestControllerV2ApiService) UpdateRouteTableDetailUsingPUT ¶ added in v1.2.0
func (a *RouteTableRestControllerV2ApiService) UpdateRouteTableDetailUsingPUT(ctx context.Context, changeRoutesReq ChangeRoutesRequest, projectId string, uuid string) (*http.Response, error)
RouteTableRestControllerV2ApiService Add or remove Route to Route-Table
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param changeRoutesReq changeRoutesReq
- @param projectId The project id
- @param uuid The route-table uuid
type RouteTableUpdateRouteRequest ¶ added in v0.0.9
type RouteTableUpdateRouteRequest struct { // The updated routes list of route-table Routes []UpdatedRoute `json:"routes,omitempty"` }
type RouteTableUpdateSubnetRequest ¶ added in v0.0.9
type RouteTableUpdateSubnetRequest struct { // The updated subnet uuid list of route-table Subnets []string `json:"subnets,omitempty"` }
type RoutesDto ¶ added in v1.2.0
type RoutesDto struct { DestinationCidrBlock string `json:"destinationCidrBlock,omitempty"` RouteTableId string `json:"routeTableId,omitempty"` RoutingType string `json:"routingType,omitempty"` Status string `json:"status,omitempty"` Target string `json:"target,omitempty"` Uuid string `json:"uuid,omitempty"` }
type ScaleMinionBackendRequest ¶ added in v1.2.0
type SdnSshKeyDeleteRequest ¶
type SecGroupDefault ¶ added in v1.2.0
type SecGroupDefault struct { Rules []SecGroupRuleDefault `json:"rules,omitempty"` SecgroupName string `json:"secgroup_name,omitempty"` }
type SecGroupRuleDefault ¶ added in v1.2.0
type SecGroupRuleDefault struct { Direction string `json:"direction,omitempty"` Ethertype string `json:"ethertype,omitempty"` PortRangeMax int64 `json:"port_range_max,omitempty"` PortRangeMin int64 `json:"port_range_min,omitempty"` Protocol string `json:"protocol,omitempty"` RemoteGroupName string `json:"remote_group_name,omitempty"` RemoteIpPrefix string `json:"remote_ip_prefix,omitempty"` }
type SecGroupRuleDetail ¶ added in v0.0.15
type SecGroupRuleDetail struct { CreatedAt time.Time `json:"createdAt,omitempty"` Description string `json:"description,omitempty"` Direction string `json:"direction,omitempty"` EtherType string `json:"etherType,omitempty"` Id string `json:"id,omitempty"` PortRangeMax int32 `json:"portRangeMax,omitempty"` PortRangeMin int32 `json:"portRangeMin,omitempty"` Protocol string `json:"protocol,omitempty"` RemoteGroupId string `json:"remoteGroupId,omitempty"` RemoteIpPrefix string `json:"remoteIpPrefix,omitempty"` SecGroupName string `json:"secGroupName,omitempty"` Status string `json:"status,omitempty"` }
type SecgroupDto ¶ added in v0.0.15
type SecgroupEntity ¶ added in v0.0.15
type SecgroupEntity struct { CreatedAt time.Time `json:"createdAt,omitempty"` DeletedAt time.Time `json:"deletedAt,omitempty"` Description string `json:"description,omitempty"` Id int32 `json:"id,omitempty"` IsSystem bool `json:"isSystem,omitempty"` ProjectUuid string `json:"projectUuid,omitempty"` SecgroupId int32 `json:"secgroupId,omitempty"` SecgroupName string `json:"secgroupName,omitempty"` Status string `json:"status,omitempty"` Type_ string `json:"type,omitempty"` UpdatedAt time.Time `json:"updatedAt,omitempty"` Uuid string `json:"uuid,omitempty"` }
type SecgroupResponse ¶
type SecgroupRestControllerApiService ¶
type SecgroupRestControllerApiService service
func (*SecgroupRestControllerApiService) CreateSecgroupUsingPOST ¶
func (a *SecgroupRestControllerApiService) CreateSecgroupUsingPOST(ctx context.Context, createSecurityGroupRequest CreateSecurityGroupRequest, projectId string) (SecgroupResponse, *http.Response, error)
SecgroupRestControllerApiService Create security group
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param createSecurityGroupRequest createSecurityGroupRequest
- @param projectId The project id
@return SecgroupResponse
func (*SecgroupRestControllerApiService) DeleteSecgroupUsingDELETE ¶
func (a *SecgroupRestControllerApiService) DeleteSecgroupUsingDELETE(ctx context.Context, deleteSecurityGroupRequest DeleteSecurityGroupRequest, projectId string) (BaseResponse, *http.Response, error)
SecgroupRestControllerApiService Delete security group
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param deleteSecurityGroupRequest deleteSecurityGroupRequest
- @param projectId The project id
@return BaseResponse
func (*SecgroupRestControllerApiService) GetForSimpleServerUsingGET ¶ added in v0.0.15
func (a *SecgroupRestControllerApiService) GetForSimpleServerUsingGET(ctx context.Context, projectId string, serverId string) (SecgroupResponse, *http.Response, error)
SecgroupRestControllerApiService getForSimpleServer
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId project_id
- @param serverId server_id
@return SecgroupResponse
func (*SecgroupRestControllerApiService) GetSecgroupUsingGET ¶
func (a *SecgroupRestControllerApiService) GetSecgroupUsingGET(ctx context.Context, projectId string, secgroupId string) (SecgroupResponse, *http.Response, error)
SecgroupRestControllerApiService getSecgroup
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param secgroupId secgroup_id
@return SecgroupResponse
func (*SecgroupRestControllerApiService) ListSecgroupByInstanceUsingGET ¶
func (a *SecgroupRestControllerApiService) ListSecgroupByInstanceUsingGET(ctx context.Context, projectId string, vmId string) (SecgroupResponse, *http.Response, error)
SecgroupRestControllerApiService listSecgroupByInstance
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param vmId vm_id
@return SecgroupResponse
func (*SecgroupRestControllerApiService) ListSecgroupUsingGET ¶
func (a *SecgroupRestControllerApiService) ListSecgroupUsingGET(ctx context.Context, projectId string) (SecgroupResponse, *http.Response, error)
SecgroupRestControllerApiService listSecgroup
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
@return SecgroupResponse
func (*SecgroupRestControllerApiService) UpdateSecgroupUsingPUT ¶ added in v0.0.15
func (a *SecgroupRestControllerApiService) UpdateSecgroupUsingPUT(ctx context.Context, editSecurityGroupRequest EditSecurityGroupRequest, projectId string) (SecgroupResponse, *http.Response, error)
SecgroupRestControllerApiService Update security group
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param editSecurityGroupRequest editSecurityGroupRequest
- @param projectId The project id
@return SecgroupResponse
type SecgroupRestControllerV2ApiGetAlllistSecgroupUsingGETOpts ¶ added in v0.0.15
type SecgroupRestControllerV2ApiService ¶ added in v0.0.15
type SecgroupRestControllerV2ApiService service
func (*SecgroupRestControllerV2ApiService) CreateSecgroupUsingPOST1 ¶ added in v0.0.15
func (a *SecgroupRestControllerV2ApiService) CreateSecgroupUsingPOST1(ctx context.Context, createSecurityGroupRequest CreateSecurityGroupRequest, projectId string) (DataResponseSecgroupEntity, *http.Response, error)
SecgroupRestControllerV2ApiService Create security group
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param createSecurityGroupRequest createSecurityGroupRequest
- @param projectId The project id
@return DataResponseSecgroupEntity
func (*SecgroupRestControllerV2ApiService) DeleteSecgroupUsingDELETE1 ¶ added in v0.0.15
func (a *SecgroupRestControllerV2ApiService) DeleteSecgroupUsingDELETE1(ctx context.Context, projectId string, secgroupId string) (*http.Response, error)
SecgroupRestControllerV2ApiService Delete security group
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param secgroupId The secgroup id
func (*SecgroupRestControllerV2ApiService) GetAlllistSecgroupUsingGET ¶ added in v0.0.15
func (a *SecgroupRestControllerV2ApiService) GetAlllistSecgroupUsingGET(ctx context.Context, projectId string, localVarOptionals *SecgroupRestControllerV2ApiGetAlllistSecgroupUsingGETOpts) (PagingSecgroupDto, *http.Response, error)
func (*SecgroupRestControllerV2ApiService) GetListSecgroupRuleBySecgroupUsingGET ¶ added in v0.0.15
func (a *SecgroupRestControllerV2ApiService) GetListSecgroupRuleBySecgroupUsingGET(ctx context.Context, projectId string, secgroupId string) (DataResponseListSecgroupruleDto, *http.Response, error)
SecgroupRestControllerV2ApiService Security Group Rule By Security Group Id
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param secgroupId The secgroup id
@return DataResponseListSecgroupruleDto
func (*SecgroupRestControllerV2ApiService) GetListServerBySecgroupUsingGET ¶ added in v0.0.15
func (a *SecgroupRestControllerV2ApiService) GetListServerBySecgroupUsingGET(ctx context.Context, projectId string, secgroupId string) (DataResponseListServerOfSecgroupDto, *http.Response, error)
SecgroupRestControllerV2ApiService Infomation's Server of Security Group
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param secgroupId The secgroup id
@return DataResponseListServerOfSecgroupDto
func (*SecgroupRestControllerV2ApiService) GetSecgroupUsingGET1 ¶ added in v0.0.15
func (a *SecgroupRestControllerV2ApiService) GetSecgroupUsingGET1(ctx context.Context, projectId string, secgroupId string) (DataResponseSecgroupDto, *http.Response, error)
SecgroupRestControllerV2ApiService Security Group By Security Group Id
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param secgroupId The secgroup id
@return DataResponseSecgroupDto
func (*SecgroupRestControllerV2ApiService) UpdateSecgroupUsingPUT1 ¶ added in v0.0.15
func (a *SecgroupRestControllerV2ApiService) UpdateSecgroupUsingPUT1(ctx context.Context, editSecurityGroupRequest EditSecurityGroupRequest, projectId string, secgroupId string) (DataResponseSecgroupDto, *http.Response, error)
SecgroupRestControllerV2ApiService Update security group
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param editSecurityGroupRequest editSecurityGroupRequest
- @param projectId The project id
- @param secgroupId The secgroup id
@return DataResponseSecgroupDto
type SecgroupRule ¶
type SecgroupRule struct { CreatedAt time.Time `json:"createdAt,omitempty"` Description string `json:"description,omitempty"` Direction string `json:"direction,omitempty"` DisplayCreatedAt string `json:"displayCreatedAt,omitempty"` EtherType string `json:"etherType,omitempty"` Id string `json:"id,omitempty"` PortRangeMax int32 `json:"portRangeMax,omitempty"` PortRangeMin int32 `json:"portRangeMin,omitempty"` Protocol string `json:"protocol,omitempty"` RemoteGroupId string `json:"remoteGroupId,omitempty"` RemoteIpPrefix string `json:"remoteIpPrefix,omitempty"` Status string `json:"status,omitempty"` }
type SecgroupRuleEntity ¶ added in v0.0.15
type SecgroupRuleEntity struct { CreatedAt time.Time `json:"createdAt,omitempty"` DeletedAt time.Time `json:"deletedAt,omitempty"` Description string `json:"description,omitempty"` Direction string `json:"direction,omitempty"` EtherType string `json:"etherType,omitempty"` Id int32 `json:"id,omitempty"` IsSystem bool `json:"isSystem,omitempty"` PortRangeMax int32 `json:"portRangeMax,omitempty"` PortRangeMin int32 `json:"portRangeMin,omitempty"` Protocol string `json:"protocol,omitempty"` RemoteIpPrefix string `json:"remoteIpPrefix,omitempty"` RuleId int32 `json:"ruleId,omitempty"` SecgroupUuid string `json:"secgroupUuid,omitempty"` Status string `json:"status,omitempty"` UpdatedAt time.Time `json:"updatedAt,omitempty"` Uuid string `json:"uuid,omitempty"` }
type SecgroupRuleResponse ¶
type SecgroupRuleResponse struct { ErrorCode int32 `json:"errorCode,omitempty"` ErrorMsg string `json:"errorMsg,omitempty"` Extra interface{} `json:"extra,omitempty"` SecgroupRules []SecgroupRule `json:"secgroupRules,omitempty"` Success bool `json:"success,omitempty"` }
type SecgroupRuleRestControllerApiService ¶
type SecgroupRuleRestControllerApiService service
func (*SecgroupRuleRestControllerApiService) CreateSecgroupRuleUsingPOST ¶
func (a *SecgroupRuleRestControllerApiService) CreateSecgroupRuleUsingPOST(ctx context.Context, createSecurityGroupRuleRequest CreateSecurityGroupRuleRequest, projectId string) (SecgroupRuleResponse, *http.Response, error)
SecgroupRuleRestControllerApiService Create security group rule
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param createSecurityGroupRuleRequest createSecurityGroupRuleRequest
- @param projectId The project id
@return SecgroupRuleResponse
func (*SecgroupRuleRestControllerApiService) DeleteSecgroupRuleUsingDELETE ¶
func (a *SecgroupRuleRestControllerApiService) DeleteSecgroupRuleUsingDELETE(ctx context.Context, deleteSecurityGroupRuleRequest DeleteSecurityGroupRuleRequest, projectId string) (BaseResponse, *http.Response, error)
SecgroupRuleRestControllerApiService Delete security group rule
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param deleteSecurityGroupRuleRequest deleteSecurityGroupRuleRequest
- @param projectId The project id
@return BaseResponse
func (*SecgroupRuleRestControllerApiService) GetSecgroupRuleUsingGET ¶
func (a *SecgroupRuleRestControllerApiService) GetSecgroupRuleUsingGET(ctx context.Context, projectId string, secgroupRuleId string) (SecgroupRuleResponse, *http.Response, error)
SecgroupRuleRestControllerApiService getSecgroupRule
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param secgroupRuleId secgroup_rule_id
@return SecgroupRuleResponse
func (*SecgroupRuleRestControllerApiService) ListSecgroupRuleBySecgroupUsingGET ¶
func (a *SecgroupRuleRestControllerApiService) ListSecgroupRuleBySecgroupUsingGET(ctx context.Context, projectId string, secgroupId string) (SecgroupRuleResponse, *http.Response, error)
SecgroupRuleRestControllerApiService listSecgroupRuleBySecgroup
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param secgroupId secgroup_id
@return SecgroupRuleResponse
func (*SecgroupRuleRestControllerApiService) UpdateUsingPUT ¶ added in v0.0.15
func (a *SecgroupRuleRestControllerApiService) UpdateUsingPUT(ctx context.Context, projectId string, updateSecurityGroupRuleRequest UpdateSecurityGroupRuleRequest) (SecgroupRuleResponse, *http.Response, error)
SecgroupRuleRestControllerApiService Update security group rule
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param updateSecurityGroupRuleRequest updateSecurityGroupRuleRequest
@return SecgroupRuleResponse
type SecgroupRuleRestControllerV2ApiService ¶ added in v0.0.15
type SecgroupRuleRestControllerV2ApiService service
func (*SecgroupRuleRestControllerV2ApiService) CreateSecgroupRuleUsingPOST1 ¶ added in v0.0.15
func (a *SecgroupRuleRestControllerV2ApiService) CreateSecgroupRuleUsingPOST1(ctx context.Context, createSecurityGroupRuleRequest CreateSecurityGroupRuleRequest, secgroupId string, projectId string) (DataResponseSecgroupRuleEntity, *http.Response, error)
SecgroupRuleRestControllerV2ApiService Create security group rule
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param createSecurityGroupRuleRequest createSecurityGroupRuleRequest
- @param secgroupId The secgroup id
- @param projectId The project id
@return DataResponseSecgroupRuleEntity
func (*SecgroupRuleRestControllerV2ApiService) DeleteSecgroupRuleUsingDELETE1 ¶ added in v0.0.15
func (a *SecgroupRuleRestControllerV2ApiService) DeleteSecgroupRuleUsingDELETE1(ctx context.Context, projectId string, secgroupRuleId string, secgroupId string) (*http.Response, error)
SecgroupRuleRestControllerV2ApiService Delete security group rule
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param secgroupRuleId The secgroup rule id
- @param secgroupId The secgroup id
func (*SecgroupRuleRestControllerV2ApiService) GetSecGroupRuleSamplesUsingGET ¶ added in v0.0.15
func (a *SecgroupRuleRestControllerV2ApiService) GetSecGroupRuleSamplesUsingGET(ctx context.Context, projectId string, secgroupId string) (DataResponseListSecurityGroupRulesSampleEntity, *http.Response, error)
SecgroupRuleRestControllerV2ApiService List SecurityGroup Rule Sample
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId project id
- @param secgroupId The secgroup id
@return DataResponseListSecurityGroupRulesSampleEntity
func (*SecgroupRuleRestControllerV2ApiService) GetSecgroupRuleUsingGET1 ¶ added in v0.0.15
func (a *SecgroupRuleRestControllerV2ApiService) GetSecgroupRuleUsingGET1(ctx context.Context, projectId string, secgroupRuleId string, secgroupId string) (DataResponseListSecgroupruleDto, *http.Response, error)
SecgroupRuleRestControllerV2ApiService Security Group By Security Group Id
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param secgroupRuleId secgroupRuleId
- @param secgroupId The secgroup id
@return DataResponseListSecgroupruleDto
func (*SecgroupRuleRestControllerV2ApiService) UpdateUsingPUT1 ¶ added in v0.0.15
func (a *SecgroupRuleRestControllerV2ApiService) UpdateUsingPUT1(ctx context.Context, projectId string, secgroupRuleId string, updateSecurityGroupRuleRequest UpdateSecurityGroupRuleRequest, secgroupId string) (DataResponseSecgroupruleDto, *http.Response, error)
SecgroupRuleRestControllerV2ApiService Update security group rule
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param secgroupRuleId The secgroup rule id
- @param updateSecurityGroupRuleRequest updateSecurityGroupRuleRequest
- @param secgroupId The secgroup id
@return DataResponseSecgroupruleDto
type SecgroupruleDto ¶ added in v0.0.15
type SecgroupruleDto struct { CreatedAt time.Time `json:"createdAt,omitempty"` Description string `json:"description,omitempty"` Direction string `json:"direction,omitempty"` EtherType string `json:"etherType,omitempty"` Id string `json:"id,omitempty"` PortRangeMax int32 `json:"portRangeMax,omitempty"` PortRangeMin int32 `json:"portRangeMin,omitempty"` Protocol string `json:"protocol,omitempty"` RemoteGroupId string `json:"remoteGroupId,omitempty"` RemoteIpPrefix string `json:"remoteIpPrefix,omitempty"` Status string `json:"status,omitempty"` }
type SecurityGroupRulesSampleEntity ¶ added in v0.0.15
type Server ¶
type Server struct { BootVolumeId string `json:"bootVolumeId,omitempty"` CreatedAt time.Time `json:"createdAt,omitempty"` EncryptionVolume bool `json:"encryptionVolume,omitempty"` ExternalInterfaces []InterfaceNetworkInterface `json:"externalInterfaces,omitempty"` Flavor *Flavor `json:"flavor,omitempty"` Image *OsImage `json:"image,omitempty"` InternalInterfaces []InterfaceNetworkInterface `json:"internalInterfaces,omitempty"` Licence bool `json:"licence,omitempty"` Name string `json:"name,omitempty"` SecGroups []ServerSecGroup `json:"secGroups,omitempty"` ServerGroupId string `json:"serverGroupId,omitempty"` ServerGroupName string `json:"serverGroupName,omitempty"` SshKeyName string `json:"sshKeyName,omitempty"` Status string `json:"status,omitempty"` Uuid string `json:"uuid,omitempty"` HostGroupId string `json:"hostGroupId,omitempty"` }
type ServerAction ¶ added in v0.0.15
type ServerGroup ¶
type ServerGroup struct { CreatedAt time.Time `json:"createdAt,omitempty"` Description string `json:"description,omitempty"` Name string `json:"name,omitempty"` PolicyId string `json:"policyId,omitempty"` ProjectId string `json:"projectId,omitempty"` UpdatedAt time.Time `json:"updatedAt,omitempty"` Uuid string `json:"uuid,omitempty"` }
type ServerGroupDetail ¶ added in v0.0.15
type ServerGroupDetail struct { CreatedAt time.Time `json:"createdAt,omitempty"` Description string `json:"description,omitempty"` Name string `json:"name,omitempty"` PolicyId string `json:"policyId,omitempty"` PolicyName string `json:"policyName,omitempty"` ServerGroupId int32 `json:"serverGroupId,omitempty"` Servers []Server `json:"servers,omitempty"` Uuid string `json:"uuid,omitempty"` }
type ServerGroupDto ¶ added in v0.0.15
type ServerGroupPolicy ¶ added in v0.0.9
type ServerGroupPolicyResponse ¶ added in v0.0.9
type ServerGroupPolicyResponse struct { ErrorCode int32 `json:"errorCode,omitempty"` ErrorMsg string `json:"errorMsg,omitempty"` Extra interface{} `json:"extra,omitempty"` ServerGroupPolicies []ServerGroupPolicy `json:"serverGroupPolicies,omitempty"` Success bool `json:"success,omitempty"` }
type ServerGroupResponse ¶
type ServerGroupResponse struct { ErrorCode int32 `json:"errorCode,omitempty"` ErrorMsg string `json:"errorMsg,omitempty"` Extra interface{} `json:"extra,omitempty"` ServerGroups []ServerGroup `json:"serverGroups,omitempty"` Success bool `json:"success,omitempty"` }
type ServerGroupRestControllerApiService ¶
type ServerGroupRestControllerApiService service
func (*ServerGroupRestControllerApiService) CreateServerGroupUsingPOST ¶
func (a *ServerGroupRestControllerApiService) CreateServerGroupUsingPOST(ctx context.Context, createServerGroupRequest CreateServerGroupRequest, projectId string) (ServerGroupResponse, *http.Response, error)
ServerGroupRestControllerApiService Create server group
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param createServerGroupRequest createServerGroupRequest
- @param projectId The project id
@return ServerGroupResponse
func (*ServerGroupRestControllerApiService) DeleteServerGroupUsingDELETE ¶
func (a *ServerGroupRestControllerApiService) DeleteServerGroupUsingDELETE(ctx context.Context, deleteServerRequest DeleteServerGroupRequest, projectId string) (ServerGroupResponse, *http.Response, error)
ServerGroupRestControllerApiService Delete server group
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param deleteServerRequest deleteServerRequest
- @param projectId The project id
@return ServerGroupResponse
func (*ServerGroupRestControllerApiService) GetServerGroupUsingGET ¶ added in v0.0.9
func (a *ServerGroupRestControllerApiService) GetServerGroupUsingGET(ctx context.Context, projectId string, serverGroupId string) (ServerGroupResponse, *http.Response, error)
ServerGroupRestControllerApiService Get server group
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param serverGroupId The server group id
@return ServerGroupResponse
func (*ServerGroupRestControllerApiService) ListServerGroupPolicyUsingGET ¶ added in v0.0.9
func (a *ServerGroupRestControllerApiService) ListServerGroupPolicyUsingGET(ctx context.Context, projectId string) (ServerGroupPolicyResponse, *http.Response, error)
ServerGroupRestControllerApiService List server group policy
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
@return ServerGroupPolicyResponse
func (*ServerGroupRestControllerApiService) ListServerGroupUsingGET ¶
func (a *ServerGroupRestControllerApiService) ListServerGroupUsingGET(ctx context.Context, projectId string) (ServerGroupResponse, *http.Response, error)
ServerGroupRestControllerApiService List server group
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
@return ServerGroupResponse
func (*ServerGroupRestControllerApiService) UpdateServerGroupUsingPUT ¶ added in v0.0.9
func (a *ServerGroupRestControllerApiService) UpdateServerGroupUsingPUT(ctx context.Context, projectId string, updateServerGroupRequest UpdateServerGroupRequest) (ServerGroupResponse, *http.Response, error)
ServerGroupRestControllerApiService Update server group
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param updateServerGroupRequest updateServerGroupRequest
@return ServerGroupResponse
type ServerGroupRestControllerV2ApiService ¶ added in v0.0.15
type ServerGroupRestControllerV2ApiService service
func (*ServerGroupRestControllerV2ApiService) CreateServerGroupUsingPOST1 ¶ added in v0.0.15
func (a *ServerGroupRestControllerV2ApiService) CreateServerGroupUsingPOST1(ctx context.Context, createServerGroupRequest CreateServerGroupRequest, projectId string) (DataResponseServerGroupDto, *http.Response, error)
ServerGroupRestControllerV2ApiService Create server group
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param createServerGroupRequest createServerGroupRequest
- @param projectId The project id
@return DataResponseServerGroupDto
func (*ServerGroupRestControllerV2ApiService) DeleteServerGroupUsingDELETE1 ¶ added in v0.0.15
func (a *ServerGroupRestControllerV2ApiService) DeleteServerGroupUsingDELETE1(ctx context.Context, projectId string, serverGroupId string) (*http.Response, error)
ServerGroupRestControllerV2ApiService Delete server group
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param serverGroupId The server group id
func (*ServerGroupRestControllerV2ApiService) GetListServerGroupWithPagingUsingGET ¶ added in v0.0.15
func (a *ServerGroupRestControllerV2ApiService) GetListServerGroupWithPagingUsingGET(ctx context.Context, name string, page string, projectId string, size string) (PagingServerGroupDetail, *http.Response, error)
ServerGroupRestControllerV2ApiService List server group with Paging
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param name name
- @param page page
- @param projectId project id
- @param size size
@return PagingServerGroupDetail
func (*ServerGroupRestControllerV2ApiService) GetServerGroupUsingGET1 ¶ added in v0.0.15
func (a *ServerGroupRestControllerV2ApiService) GetServerGroupUsingGET1(ctx context.Context, projectId string, serverGroupId string) (DataResponseServerGroupDto, *http.Response, error)
ServerGroupRestControllerV2ApiService Get server group
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param serverGroupId The server group id
@return DataResponseServerGroupDto
func (*ServerGroupRestControllerV2ApiService) ListServerGroupPolicyUsingGET1 ¶ added in v0.0.15
func (a *ServerGroupRestControllerV2ApiService) ListServerGroupPolicyUsingGET1(ctx context.Context, projectId string) (DataResponseListServerGroupPolicy, *http.Response, error)
ServerGroupRestControllerV2ApiService List server group policy
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
@return DataResponseListServerGroupPolicy
func (*ServerGroupRestControllerV2ApiService) UpdateServerGroupUsingPUT1 ¶ added in v0.0.15
func (a *ServerGroupRestControllerV2ApiService) UpdateServerGroupUsingPUT1(ctx context.Context, projectId string, serverGroupId string, updateServerGroupRequest UpdateServerGroupRequestV2) (DataResponseServerGroupDto, *http.Response, error)
ServerGroupRestControllerV2ApiService Update server group
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param serverGroupId The server group id
- @param updateServerGroupRequest updateServerGroupRequest
@return DataResponseServerGroupDto
type ServerLimit ¶ added in v0.0.15
type ServerLimit struct { DataDisk *DataDiskLimit `json:"dataDisk,omitempty"` RootDisk *RootDiskLimit `json:"rootDisk,omitempty"` }
type ServerNetworkInterfaceDetail ¶ added in v0.0.15
type ServerNetworkInterfaceDetail struct { ExternalInterfaces []InterfaceNetworkInterface `json:"externalInterfaces,omitempty"` InternalInterfaces []InterfaceNetworkInterface `json:"internalInterfaces,omitempty"` }
type ServerOfSecgroupDto ¶ added in v0.0.15
type ServerResponse ¶
type ServerRestControllerApiService ¶
type ServerRestControllerApiService service
func (*ServerRestControllerApiService) CreateServerUsingPOST ¶
func (a *ServerRestControllerApiService) CreateServerUsingPOST(ctx context.Context, createServerRequest CreateServerRequest, projectId string) (ServerResponse, *http.Response, error)
ServerRestControllerApiService Create server
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param createServerRequest createServerRequest
- @param projectId The project id
@return ServerResponse
func (*ServerRestControllerApiService) DeleteServerUsingDELETE ¶
func (a *ServerRestControllerApiService) DeleteServerUsingDELETE(ctx context.Context, deleteServerRequest DeleteServerRequest, projectId string) (ServerResponse, *http.Response, error)
ServerRestControllerApiService Delete Server
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param deleteServerRequest deleteServerRequest
- @param projectId The project id
@return ServerResponse
func (*ServerRestControllerApiService) GetServerUsingGET ¶
func (a *ServerRestControllerApiService) GetServerUsingGET(ctx context.Context, projectId string, serverId string) (ServerResponse, *http.Response, error)
ServerRestControllerApiService Get server by id
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param serverId The server id
@return ServerResponse
func (*ServerRestControllerApiService) ListServerUsingGET ¶
func (a *ServerRestControllerApiService) ListServerUsingGET(ctx context.Context, projectId string) (ServerResponse, *http.Response, error)
ServerRestControllerApiService List server
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
@return ServerResponse
func (*ServerRestControllerApiService) RebootServerUsingPUT ¶
func (a *ServerRestControllerApiService) RebootServerUsingPUT(ctx context.Context, projectId string, updateServerRequest UpdateServerRequest) (ServerResponse, *http.Response, error)
ServerRestControllerApiService Reboot server
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param updateServerRequest updateServerRequest
@return ServerResponse
func (*ServerRestControllerApiService) ResizeServerUsingPUT ¶
func (a *ServerRestControllerApiService) ResizeServerUsingPUT(ctx context.Context, projectId string, resizeServerRequest ResizeServerRequest) (ServerResponse, *http.Response, error)
ServerRestControllerApiService Change flavor of server
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param resizeServerRequest resizeServerRequest
@return ServerResponse
func (*ServerRestControllerApiService) ServerLimitUsingGET ¶ added in v0.0.15
func (a *ServerRestControllerApiService) ServerLimitUsingGET(ctx context.Context, projectId string) (ServerLimit, *http.Response, error)
ServerRestControllerApiService Server limit
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
@return ServerLimit
func (*ServerRestControllerApiService) StartServerUsingPUT ¶
func (a *ServerRestControllerApiService) StartServerUsingPUT(ctx context.Context, projectId string, updateServerRequest UpdateServerRequest) (ServerResponse, *http.Response, error)
ServerRestControllerApiService Start server
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param updateServerRequest updateServerRequest
@return ServerResponse
func (*ServerRestControllerApiService) StopServerUsingPUT ¶
func (a *ServerRestControllerApiService) StopServerUsingPUT(ctx context.Context, projectId string, updateServerRequest UpdateServerRequest) (ServerResponse, *http.Response, error)
ServerRestControllerApiService Stop server
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param updateServerRequest updateServerRequest
@return ServerResponse
func (*ServerRestControllerApiService) UpdateSecGroupServerUsingPUT ¶
func (a *ServerRestControllerApiService) UpdateSecGroupServerUsingPUT(ctx context.Context, changeSecGroupRequest ChangeSecGroupRequest, projectId string) (ServerResponse, *http.Response, error)
ServerRestControllerApiService Update SecGroups of server
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param changeSecGroupRequest changeSecGroupRequest
- @param projectId The project id
@return ServerResponse
type ServerRestControllerV2ApiListServerUsingGET1Opts ¶ added in v0.0.15
type ServerRestControllerV2ApiService ¶ added in v0.0.15
type ServerRestControllerV2ApiService service
func (*ServerRestControllerV2ApiService) AttachExternalNetworkInterfaceUsingPOST ¶ added in v0.0.15
func (a *ServerRestControllerV2ApiService) AttachExternalNetworkInterfaceUsingPOST(ctx context.Context, attachExternalNetworkInterfaceRequest AttachExternalNetworkInterfaceRequest, projectId string, serverId string) (DataResponseInterfaceNetworkInterface, *http.Response, error)
ServerRestControllerV2ApiService Attach External Network Interface
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param attachExternalNetworkInterfaceRequest attachExternalNetworkInterfaceRequest
- @param projectId The project id
- @param serverId The server id
@return DataResponseInterfaceNetworkInterface
func (*ServerRestControllerV2ApiService) AttachNetworkInterfaceUsingPOST ¶ added in v0.0.15
func (a *ServerRestControllerV2ApiService) AttachNetworkInterfaceUsingPOST(ctx context.Context, attachNetworkInterfaceRequest AttachNetworkInterfaceRequest, projectId string, serverId string) (DataResponse, *http.Response, error)
ServerRestControllerV2ApiService Attach Internal Network Interface
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param attachNetworkInterfaceRequest attachNetworkInterfaceRequest
- @param projectId The project id
- @param serverId The server id
@return DataResponse
func (*ServerRestControllerV2ApiService) AttachNetworkInterfaceWithWanIpUsingPOST ¶ added in v1.2.0
func (a *ServerRestControllerV2ApiService) AttachNetworkInterfaceWithWanIpUsingPOST(ctx context.Context, attachNetworkInterfaceWithWanIpRequest AttachNetworkInterfaceWithWanIpRequest, serverId string, projectId string) (DataResponseInterfaceNetworkInterface, *http.Response, error)
ServerRestControllerV2ApiService Attach Internal Network Interface With Floating Ip
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param attachNetworkInterfaceWithWanIpRequest attachNetworkInterfaceWithWanIpRequest
- @param floatingIpId The floating ip id
- @param projectId The project id
- @param serverId The server id
- @param subnetId The subnet id
@return DataResponseInterfaceNetworkInterface
func (*ServerRestControllerV2ApiService) AttachWanIPUsingPUT ¶ added in v0.0.15
func (a *ServerRestControllerV2ApiService) AttachWanIPUsingPUT(ctx context.Context, attachDetachWanIPRequest AttachDetachWanIpRequest, projectId string, serverId string, wanIpId string) (*http.Response, error)
ServerRestControllerV2ApiService Attach Wan IP
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param attachDetachWanIPRequest attachDetachWanIPRequest
- @param projectId The project id
- @param serverId The server id
- @param wanIpId The wan ip id
func (*ServerRestControllerV2ApiService) CreateServerUsingPOST1 ¶ added in v0.0.15
func (a *ServerRestControllerV2ApiService) CreateServerUsingPOST1(ctx context.Context, createServerRequest CreateServerRequest, projectId string) (DataResponseServer, *http.Response, error)
ServerRestControllerV2ApiService Create server
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param createServerRequest createServerRequest
- @param projectId The project id
@return DataResponse
func (*ServerRestControllerV2ApiService) DeleteServerUsingDELETE1 ¶ added in v0.0.15
func (a *ServerRestControllerV2ApiService) DeleteServerUsingDELETE1(ctx context.Context, deleteServerRequest DeleteServerRequest, projectId string, serverId string) (DataResponse, *http.Response, error)
ServerRestControllerV2ApiService Delete Server
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param deleteServerRequest deleteServerRequest
- @param projectId The project id
- @param serverId The server id
@return DataResponse
func (*ServerRestControllerV2ApiService) DetachExternalNetworkInterfaceUsingDELETE ¶ added in v0.0.15
func (a *ServerRestControllerV2ApiService) DetachExternalNetworkInterfaceUsingDELETE(ctx context.Context, detachExternalNetworkInterfaceRequest DetachExternalNetworkInterfaceRequest, projectId string, serverId string) (*http.Response, error)
ServerRestControllerV2ApiService Detach External Network Interface
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param detachExternalNetworkInterfaceRequest detachExternalNetworkInterfaceRequest
- @param projectId The project id
- @param serverId The server id
func (*ServerRestControllerV2ApiService) DetachNetworkInterfaceUsingDELETE ¶ added in v0.0.15
func (a *ServerRestControllerV2ApiService) DetachNetworkInterfaceUsingDELETE(ctx context.Context, detachNetworkInterfaceRequest DetachNetworkInterfaceRequest, projectId string, serverId string) (*http.Response, error)
ServerRestControllerV2ApiService Detach Internal Network Interface
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param detachNetworkInterfaceRequest detachNetworkInterfaceRequest
- @param projectId The project id
- @param serverId The server id
func (*ServerRestControllerV2ApiService) DetachNetworkInterfaceWithWanIpUsingDELETE ¶ added in v1.2.0
func (a *ServerRestControllerV2ApiService) DetachNetworkInterfaceWithWanIpUsingDELETE(ctx context.Context, detachNetworkInterfaceWithWanIpRequest DetachNetworkInterfaceWithWanIpRequest, projectId string, serverId string) (*http.Response, error)
ServerRestControllerV2ApiService Detach Internal Network Interface With Floating Ip
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param detachNetworkInterfaceWithWanIpRequest detachNetworkInterfaceWithWanIpRequest
- @param projectId The project id
- @param serverId The server id
func (*ServerRestControllerV2ApiService) DetachWanIPUsingPUT ¶ added in v0.0.15
func (a *ServerRestControllerV2ApiService) DetachWanIPUsingPUT(ctx context.Context, attachDetachWanIPRequest AttachDetachWanIpRequest, projectId string, serverId string, wanIpId string) (*http.Response, error)
ServerRestControllerV2ApiService Detach Wan IP
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param attachDetachWanIPRequest attachDetachWanIPRequest
- @param projectId The project id
- @param serverId The server id
- @param wanIpId The wan ip id
func (*ServerRestControllerV2ApiService) GetConsoleLogUsingGET ¶ added in v0.0.15
func (a *ServerRestControllerV2ApiService) GetConsoleLogUsingGET(ctx context.Context, projectId string, serverId string) (DataResponsestring, *http.Response, error)
ServerRestControllerV2ApiService Get console log
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param serverId The server id
@return DataResponsestring
func (*ServerRestControllerV2ApiService) GetConsoleUrlUsingGET ¶ added in v0.0.15
func (a *ServerRestControllerV2ApiService) GetConsoleUrlUsingGET(ctx context.Context, projectId string, serverId string) (DataResponsestring, *http.Response, error)
ServerRestControllerV2ApiService Get console url
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param serverId The server id
@return DataResponsestring
func (*ServerRestControllerV2ApiService) GetExternalNetworkInterfaceUsingGET ¶ added in v1.2.0
func (a *ServerRestControllerV2ApiService) GetExternalNetworkInterfaceUsingGET(ctx context.Context, interfaceNetworkInterfaceId string, projectId string) (DataResponseInterfaceNetworkInterface, *http.Response, error)
ServerRestControllerV2ApiService Get Attached External network Interface
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param interfaceNetworkInterfaceId The interface network interface id
- @param projectId The project id
@return DataResponseInterfaceNetworkInterface
func (*ServerRestControllerV2ApiService) GetServerUsingGET1 ¶ added in v0.0.15
func (a *ServerRestControllerV2ApiService) GetServerUsingGET1(ctx context.Context, projectId string, serverId string) (DataResponseServer, *http.Response, error)
ServerRestControllerV2ApiService Get server by id
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param serverId The server id
@return DataResponseServer
func (*ServerRestControllerV2ApiService) ListActionUsingGET ¶ added in v0.0.15
func (a *ServerRestControllerV2ApiService) ListActionUsingGET(ctx context.Context, projectId string, serverId string) (DataResponseListServerAction, *http.Response, error)
ServerRestControllerV2ApiService List Action Of Server
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param serverId The server id
@return DataResponseListServerAction
func (*ServerRestControllerV2ApiService) ListNetworkInterfaceUsingGET ¶ added in v0.0.15
func (a *ServerRestControllerV2ApiService) ListNetworkInterfaceUsingGET(ctx context.Context, projectId string, serverId string) (DataResponseServerNetworkInterfaceDetail, *http.Response, error)
ServerRestControllerV2ApiService List Network Interface Of Server
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param serverId The server id
@return DataResponseServerNetworkInterfaceDetail
func (*ServerRestControllerV2ApiService) ListSecGroupUsingGET ¶ added in v0.0.15
func (a *ServerRestControllerV2ApiService) ListSecGroupUsingGET(ctx context.Context, projectId string, serverId string) (DataResponseServerSecGroupDetail, *http.Response, error)
ServerRestControllerV2ApiService List Sec Group Of Server
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param serverId The server id
@return DataResponseServerSecGroupDetail
func (*ServerRestControllerV2ApiService) ListServerUsingGET1 ¶ added in v0.0.15
func (a *ServerRestControllerV2ApiService) ListServerUsingGET1(ctx context.Context, projectId string, localVarOptionals *ServerRestControllerV2ApiListServerUsingGET1Opts) (PagingServer, *http.Response, error)
func (*ServerRestControllerV2ApiService) RebootServerUsingPUT1 ¶ added in v0.0.15
func (a *ServerRestControllerV2ApiService) RebootServerUsingPUT1(ctx context.Context, projectId string, serverId string) (DataResponse, *http.Response, error)
ServerRestControllerV2ApiService Reboot server
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param serverId The server id
@return DataResponse
func (*ServerRestControllerV2ApiService) RenameServerUsingPUT ¶ added in v0.0.15
func (a *ServerRestControllerV2ApiService) RenameServerUsingPUT(ctx context.Context, projectId string, renameServerRequest RenameServerRequest, serverId string) (DataResponseServer, *http.Response, error)
ServerRestControllerV2ApiService Rename Server
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param renameServerRequest renameServerRequest
- @param serverId The server id
@return DataResponseServer
func (*ServerRestControllerV2ApiService) ResizeServerUsingPUT1 ¶ added in v0.0.15
func (a *ServerRestControllerV2ApiService) ResizeServerUsingPUT1(ctx context.Context, projectId string, resizeServerRequest ResizeServerRequest, serverId string) (DataResponse, *http.Response, error)
ServerRestControllerV2ApiService Change flavor of server
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param resizeServerRequest resizeServerRequest
- @param serverId The server id
@return DataResponse
func (*ServerRestControllerV2ApiService) StartServerUsingPUT1 ¶ added in v0.0.15
func (a *ServerRestControllerV2ApiService) StartServerUsingPUT1(ctx context.Context, projectId string, serverId string) (DataResponse, *http.Response, error)
ServerRestControllerV2ApiService Start server
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param serverId The server id
@return DataResponse
func (*ServerRestControllerV2ApiService) StopServerUsingPUT1 ¶ added in v0.0.15
func (a *ServerRestControllerV2ApiService) StopServerUsingPUT1(ctx context.Context, projectId string, serverId string) (DataResponse, *http.Response, error)
ServerRestControllerV2ApiService Stop server
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param serverId The server id
@return DataResponse
func (*ServerRestControllerV2ApiService) UpdateSecGroupServerUsingPUT1 ¶ added in v0.0.15
func (a *ServerRestControllerV2ApiService) UpdateSecGroupServerUsingPUT1(ctx context.Context, changeSecGroupRequest ChangeSecGroupRequest, projectId string, serverId string) (DataResponse, *http.Response, error)
ServerRestControllerV2ApiService Update SecGroups of server
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param changeSecGroupRequest changeSecGroupRequest
- @param projectId The project id
- @param serverId The project id
@return DataResponse
type ServerSecGroup ¶ added in v0.0.15
type ServerSecGroupDetail ¶ added in v0.0.15
type ServerSecGroupDetail struct { Inbounds []SecGroupRuleDetail `json:"inbounds,omitempty"` Outbounds []SecGroupRuleDetail `json:"outbounds,omitempty"` }
type SimpleClusterNodeGroupDto ¶ added in v1.2.0
type SimpleServer ¶ added in v0.0.15
type SimpleServer struct { CreatedAt time.Time `json:"createdAt,omitempty"` Email string `json:"email,omitempty"` FlavorId string `json:"flavorId,omitempty"` ImageId string `json:"imageId,omitempty"` InternalInterfaces []InterfaceNetworkInterface `json:"internalInterfaces,omitempty"` Licence bool `json:"licence,omitempty"` Name string `json:"name,omitempty"` NetworkId string `json:"networkId,omitempty"` ProjectId string `json:"projectId,omitempty"` Status string `json:"status,omitempty"` UpdatedAt time.Time `json:"updatedAt,omitempty"` Uuid string `json:"uuid,omitempty"` }
type SimpleServerRestControllerApiListServerUsingGET2Opts ¶ added in v0.0.15
type SimpleServerRestControllerApiService ¶ added in v0.0.15
type SimpleServerRestControllerApiService service
func (*SimpleServerRestControllerApiService) DeleteServerUsingDELETE2 ¶ added in v0.0.15
func (a *SimpleServerRestControllerApiService) DeleteServerUsingDELETE2(ctx context.Context, deleteServerRequest DeleteServerRequest, projectId string) (DataResponseSimpleServer, *http.Response, error)
SimpleServerRestControllerApiService Delete simple server
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param deleteServerRequest deleteServerRequest
- @param projectId project id
@return DataResponseSimpleServer
func (*SimpleServerRestControllerApiService) GetConsoleServerUsingGET ¶ added in v0.0.15
func (a *SimpleServerRestControllerApiService) GetConsoleServerUsingGET(ctx context.Context, projectId string, serverId string) (DataResponsestring, *http.Response, error)
SimpleServerRestControllerApiService Get console simple server
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId project id
- @param serverId server id
@return DataResponsestring
func (*SimpleServerRestControllerApiService) GetServerUsingGET2 ¶ added in v0.0.15
func (a *SimpleServerRestControllerApiService) GetServerUsingGET2(ctx context.Context, projectId string, serverId string) (DataResponseSimpleServer, *http.Response, error)
SimpleServerRestControllerApiService Get simple server
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId project id
- @param serverId server id
@return DataResponseSimpleServer
func (*SimpleServerRestControllerApiService) ListServerUsingGET2 ¶ added in v0.0.15
func (a *SimpleServerRestControllerApiService) ListServerUsingGET2(ctx context.Context, projectId string, localVarOptionals *SimpleServerRestControllerApiListServerUsingGET2Opts) (PagingSimpleServer, *http.Response, error)
func (*SimpleServerRestControllerApiService) RebootServerUsingPUT2 ¶ added in v0.0.15
func (a *SimpleServerRestControllerApiService) RebootServerUsingPUT2(ctx context.Context, projectId string, updateServerRequest UpdateServerRequest) (DataResponseSimpleServer, *http.Response, error)
SimpleServerRestControllerApiService Reboot simple server
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId project id
- @param updateServerRequest updateServerRequest
@return DataResponseSimpleServer
func (*SimpleServerRestControllerApiService) StartServerUsingPUT2 ¶ added in v0.0.15
func (a *SimpleServerRestControllerApiService) StartServerUsingPUT2(ctx context.Context, projectId string, updateServerRequest UpdateServerRequest) (DataResponseSimpleServer, *http.Response, error)
SimpleServerRestControllerApiService Start simple server
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId project id
- @param updateServerRequest updateServerRequest
@return DataResponseSimpleServer
func (*SimpleServerRestControllerApiService) StopServerUsingPUT2 ¶ added in v0.0.15
func (a *SimpleServerRestControllerApiService) StopServerUsingPUT2(ctx context.Context, projectId string, updateServerRequest UpdateServerRequest) (DataResponseSimpleServer, *http.Response, error)
SimpleServerRestControllerApiService Stop simple server
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId project id
- @param updateServerRequest updateServerRequest
@return DataResponseSimpleServer
type SimpleServerTaskDto ¶ added in v1.2.0
type SimpleServerTaskDto struct {
Id string `json:"id,omitempty"`
}
type SimpleVolume ¶ added in v0.0.15
type SimpleVolume struct { BootIndex int32 `json:"bootIndex,omitempty"` Bootable bool `json:"bootable,omitempty"` CreatedAt time.Time `json:"createdAt,omitempty"` Name string `json:"name,omitempty"` ProjectId string `json:"projectId,omitempty"` ServerId string `json:"serverId,omitempty"` Size int32 `json:"size,omitempty"` Status string `json:"status,omitempty"` UpdatedAt time.Time `json:"updatedAt,omitempty"` Uuid string `json:"uuid,omitempty"` VolumeTypeId string `json:"volumeTypeId,omitempty"` }
type SimpleVolumeRestControllerApiListVolumeUsingGETOpts ¶ added in v0.0.15
type SimpleVolumeRestControllerApiService ¶ added in v0.0.15
type SimpleVolumeRestControllerApiService service
func (*SimpleVolumeRestControllerApiService) GetVolumeUsingGET ¶ added in v0.0.15
func (a *SimpleVolumeRestControllerApiService) GetVolumeUsingGET(ctx context.Context, projectId string, volumeId string) (DataResponseSimpleServer, *http.Response, error)
SimpleVolumeRestControllerApiService Get simple volume
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId project id
- @param volumeId volume id
@return DataResponseSimpleServer
func (*SimpleVolumeRestControllerApiService) ListVolumeUsingGET ¶ added in v0.0.15
func (a *SimpleVolumeRestControllerApiService) ListVolumeUsingGET(ctx context.Context, projectId string, localVarOptionals *SimpleVolumeRestControllerApiListVolumeUsingGETOpts) (PagingSimpleVolume, *http.Response, error)
type SshKeyResponse ¶
type SshKeyRestControllerApiService ¶
type SshKeyRestControllerApiService service
func (*SshKeyRestControllerApiService) CreateSSHKeyUsingPOST ¶
func (a *SshKeyRestControllerApiService) CreateSSHKeyUsingPOST(ctx context.Context, createSSHKeyRequest CreateSshKeyRequest, projectId string) (SshKeyResponse, *http.Response, error)
SshKeyRestControllerApiService Create SSH key
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param createSSHKeyRequest createSSHKeyRequest
- @param projectId The project id
@return SshKeyResponse
func (*SshKeyRestControllerApiService) DeleteSSHKeyUsingDELETE ¶
func (a *SshKeyRestControllerApiService) DeleteSSHKeyUsingDELETE(ctx context.Context, deleteSSHKeyRequest DeleteSshKeyRequest, projectId string) (BaseResponse, *http.Response, error)
SshKeyRestControllerApiService Delete SSH key
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param deleteSSHKeyRequest deleteSSHKeyRequest
- @param projectId The project id
@return BaseResponse
func (*SshKeyRestControllerApiService) GetSSHKeyUsingGET ¶
func (a *SshKeyRestControllerApiService) GetSSHKeyUsingGET(ctx context.Context, projectId string, sshKeyId string) (SshKeyResponse, *http.Response, error)
SshKeyRestControllerApiService Get SSH key
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param sshKeyId The ssh key id
@return SshKeyResponse
func (*SshKeyRestControllerApiService) ImportSSHKeyUsingPOST ¶
func (a *SshKeyRestControllerApiService) ImportSSHKeyUsingPOST(ctx context.Context, importSSHKeyRequest ImportSshKeyRequest, projectId string) (SshKeyResponse, *http.Response, error)
SshKeyRestControllerApiService Import SSH key
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param importSSHKeyRequest importSSHKeyRequest
- @param projectId The project id
@return SshKeyResponse
func (*SshKeyRestControllerApiService) ListSSHKeyUsingGET ¶
func (a *SshKeyRestControllerApiService) ListSSHKeyUsingGET(ctx context.Context, projectId string) (SshKeyResponse, *http.Response, error)
SshKeyRestControllerApiService List SSH key
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
@return SshKeyResponse
type SshKeyRestControllerV2ApiService ¶ added in v0.0.15
type SshKeyRestControllerV2ApiService service
func (*SshKeyRestControllerV2ApiService) CreateSSHKeyUsingPOST1 ¶ added in v0.0.15
func (a *SshKeyRestControllerV2ApiService) CreateSSHKeyUsingPOST1(ctx context.Context, createSSHKeyRequest CreateSshKeyRequest, projectId string) (DataResponseSshKeyDto, *http.Response, error)
SshKeyRestControllerV2ApiService Create SSH key
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param createSSHKeyRequest createSSHKeyRequest
- @param projectId The project id
@return DataResponseSshKeyDto
func (*SshKeyRestControllerV2ApiService) DeleteSSHKeyUsingDELETE1 ¶ added in v0.0.15
func (a *SshKeyRestControllerV2ApiService) DeleteSSHKeyUsingDELETE1(ctx context.Context, projectId string, sshKeyId string) (*http.Response, error)
SshKeyRestControllerV2ApiService Delete SSH key
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param sshKeyId The ssh-key id
func (*SshKeyRestControllerV2ApiService) GetListSecgroupWithPagingUsingGET1 ¶ added in v0.0.15
func (a *SshKeyRestControllerV2ApiService) GetListSecgroupWithPagingUsingGET1(ctx context.Context, name string, page string, projectId string, size string) (PagingSshKeyDto, *http.Response, error)
SshKeyRestControllerV2ApiService List SSH key Paging
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param name name
- @param page page
- @param projectId project id
- @param size size
@return PagingSshKeyDto
func (*SshKeyRestControllerV2ApiService) GetSSHKeyUsingGET1 ¶ added in v0.0.15
func (a *SshKeyRestControllerV2ApiService) GetSSHKeyUsingGET1(ctx context.Context, projectId string, sshKeyId string) (DataResponseSshKeyDto, *http.Response, error)
SshKeyRestControllerV2ApiService Get SSH key
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param sshKeyId The ssh key id
@return DataResponseSshKeyDto
func (*SshKeyRestControllerV2ApiService) ImportSSHKeyUsingPOST1 ¶ added in v0.0.15
func (a *SshKeyRestControllerV2ApiService) ImportSSHKeyUsingPOST1(ctx context.Context, importSSHKeyRequest ImportSshKeyRequest, projectId string) (DataResponseSshKeyDto, *http.Response, error)
SshKeyRestControllerV2ApiService Import SSH key
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param importSSHKeyRequest importSSHKeyRequest
- @param projectId The project id
@return DataResponseSshKeyDto
type Subnet ¶
type Subnet struct { Cidr string `json:"cidr,omitempty"` CreatedAt time.Time `json:"createdAt,omitempty"` DisplayCreatedAt string `json:"displayCreatedAt,omitempty"` InterfaceAclPolicyId string `json:"interfaceAclPolicyId,omitempty"` Name string `json:"name,omitempty"` NetworkId string `json:"networkId,omitempty"` RouteTableId string `json:"routeTableId,omitempty"` Status string `json:"status,omitempty"` SubnetId int32 `json:"subnetId,omitempty"` UpdatedAt time.Time `json:"updatedAt,omitempty"` Uuid string `json:"uuid,omitempty"` }
type SubnetDto ¶ added in v0.0.15
type SubnetDto struct { Cidr string `json:"cidr,omitempty"` CreatedAt time.Time `json:"createdAt,omitempty"` DeletedAt time.Time `json:"deletedAt,omitempty"` InterfaceAclPolicyUuid string `json:"interfaceAclPolicyUuid,omitempty"` Name string `json:"name,omitempty"` NetworkUuid string `json:"networkUuid,omitempty"` RouteTableUuid string `json:"routeTableUuid,omitempty"` Status string `json:"status,omitempty"` UpdatedAt time.Time `json:"updatedAt,omitempty"` Uuid string `json:"uuid,omitempty"` }
type SubnetResponse ¶
type SubnetRestControllerApiService ¶
type SubnetRestControllerApiService service
func (*SubnetRestControllerApiService) CreateSubnetUsingPOST ¶
func (a *SubnetRestControllerApiService) CreateSubnetUsingPOST(ctx context.Context, createSubnetRequest CreateSubnetRequest, projectId string) (SubnetResponse, *http.Response, error)
SubnetRestControllerApiService createSubnet
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param createSubnetRequest createSubnetRequest
- @param projectId project_id
@return SubnetResponse
func (*SubnetRestControllerApiService) DeleteSubnetUsingDELETE ¶
func (a *SubnetRestControllerApiService) DeleteSubnetUsingDELETE(ctx context.Context, deleteSubnetRequest DeleteSubnetRequest, projectId string) (BaseResponse, *http.Response, error)
SubnetRestControllerApiService deleteSubnet
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param deleteSubnetRequest deleteSubnetRequest
- @param projectId project_id
@return BaseResponse
func (*SubnetRestControllerApiService) GetMpPublicInterfaceUsingGET ¶
func (a *SubnetRestControllerApiService) GetMpPublicInterfaceUsingGET(ctx context.Context, projectId string) (SubnetResponse, *http.Response, error)
SubnetRestControllerApiService getMpPublicInterface
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId project_id
@return SubnetResponse
func (*SubnetRestControllerApiService) GetSubnetUsingGET ¶
func (a *SubnetRestControllerApiService) GetSubnetUsingGET(ctx context.Context, projectId string, subnetId string) (SubnetResponse, *http.Response, error)
SubnetRestControllerApiService getSubnet
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId project_id
- @param subnetId subnet_id
@return SubnetResponse
func (*SubnetRestControllerApiService) ListSubnetsByNetworkUsingGET ¶
func (a *SubnetRestControllerApiService) ListSubnetsByNetworkUsingGET(ctx context.Context, networkId string, projectId string) (SubnetResponse, *http.Response, error)
SubnetRestControllerApiService listSubnetsByNetwork
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param networkId network_id
- @param projectId project_id
@return SubnetResponse
type SubnetRestControllerV2ApiService ¶ added in v0.0.15
type SubnetRestControllerV2ApiService service
func (*SubnetRestControllerV2ApiService) CreateSubnetUsingPOST1 ¶ added in v0.0.15
func (a *SubnetRestControllerV2ApiService) CreateSubnetUsingPOST1(ctx context.Context, createSubnetRequest CreateSubnetRequest, networkId string, projectId string) (DataResponseSubnetDto, *http.Response, error)
SubnetRestControllerV2ApiService createSubnet
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param createSubnetRequest createSubnetRequest
- @param networkId networkId
- @param projectId projectId
@return DataResponseSubnetDto
func (*SubnetRestControllerV2ApiService) DeleteNetworkUsingDELETE2 ¶ added in v0.0.15
func (a *SubnetRestControllerV2ApiService) DeleteNetworkUsingDELETE2(ctx context.Context, projectId string, subnetId string, networkId string) (*http.Response, error)
SubnetRestControllerV2ApiService Delete subnet
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId projectId
- @param subnetId subnetId
- @param networkId networkId
func (*SubnetRestControllerV2ApiService) EditSubnetUsingPATCH ¶ added in v0.0.15
func (a *SubnetRestControllerV2ApiService) EditSubnetUsingPATCH(ctx context.Context, projectId string, subnetId string, updateSubnetRequest UpdateSubnetRequest, networkId string) (DataResponseSubnetDto, *http.Response, error)
SubnetRestControllerV2ApiService Edit subnet
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId projectId
- @param subnetId subnetId
- @param updateSubnetRequest updateSubnetRequest
- @param networkId networkId
@return DataResponseSubnetDto
func (*SubnetRestControllerV2ApiService) GetSubnetByIdUsingGET ¶ added in v0.0.15
func (a *SubnetRestControllerV2ApiService) GetSubnetByIdUsingGET(ctx context.Context, networkId string, projectId string, subnetId string) (SubnetDto, *http.Response, error)
SubnetRestControllerV2ApiService List subnet by id
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param networkId networkId
- @param projectId projectId
- @param subnetId subnetId
@return SubnetDto
func (*SubnetRestControllerV2ApiService) ListSubnetOfNetworkUsingGET ¶ added in v0.0.15
func (a *SubnetRestControllerV2ApiService) ListSubnetOfNetworkUsingGET(ctx context.Context, networkId string, projectId string) ([]SubnetDto, *http.Response, error)
SubnetRestControllerV2ApiService List subnet of network
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param networkId networkId
- @param projectId projectId
@return []SubnetDto
type TagRequest ¶ added in v1.2.0
Create Tag Request
type Timestamp ¶ added in v0.0.9
type Timestamp struct { Date int32 `json:"date,omitempty"` Day int32 `json:"day,omitempty"` Hours int32 `json:"hours,omitempty"` Minutes int32 `json:"minutes,omitempty"` Month int32 `json:"month,omitempty"` Nanos int32 `json:"nanos,omitempty"` Seconds int32 `json:"seconds,omitempty"` Time int64 `json:"time,omitempty"` TimezoneOffset int32 `json:"timezoneOffset,omitempty"` Year int32 `json:"year,omitempty"` }
type TypeItemCondition ¶ added in v0.0.15
type TypesItem ¶ added in v0.0.15
type TypesItem struct { Condition *TypeItemCondition `json:"condition,omitempty"` Key string `json:"key,omitempty"` Value string `json:"value,omitempty"` }
type UpdateClusterDescriptionRequest ¶ added in v1.2.0
type UpdateClusterDescriptionRequest struct { // Uuid of K8s Cluster ClusterId string `json:"clusterId"` // Description K8s Cluster Description string `json:"description"` }
Update Cluster Description Request
type UpdateClusterSecGroupRequest ¶ added in v1.2.0
type UpdateClusterSecGroupRequest struct { // Uuid of K8s Cluster ClusterId string `json:"clusterId"` // Is Master or not Master bool `json:"master"` // List of Sec Group Uuid SecGroupIds []string `json:"secGroupIds"` }
Update Cluster SecGroup Request
type UpdateNetworkAclRulesRequest ¶ added in v0.0.9
type UpdateNetworkAclRulesRequest struct {
DetailAclRuleList []UpdatedAclPolicyRule `json:"detailAclRuleList,omitempty"`
}
type UpdateNetworkAclSubnetsRequest ¶ added in v0.0.9
type UpdateNetworkAclSubnetsRequest struct { // The updated subnets uuid list of network-acl SubnetUuids []string `json:"subnetUuids,omitempty"` }
type UpdateNetworkRequest ¶
type UpdateNetworkRequest struct { // Name of the Network Name string `json:"name"` }
Update Network Request
type UpdateQuota ¶ added in v0.0.9
type UpdateQuotaVsgRequest ¶ added in v0.0.9
type UpdateQuotaVsgRequest struct { // Id of project ProjectId string `json:"projectId,omitempty"` UpdateQuota *UpdateQuota `json:"updateQuota,omitempty"` UpdateQuotaRequest *UpdateQuota `json:"updateQuotaRequest,omitempty"` // Id of user UserId int32 `json:"userId,omitempty"` }
type UpdateSecurityGroupRuleRequest ¶ added in v0.0.15
type UpdateSecurityGroupRuleRequest struct { // Description for security group rule. Description string `json:"description,omitempty"` }
type UpdateServerGroupRequest ¶ added in v0.0.9
type UpdateServerGroupRequestV2 ¶ added in v0.0.15
type UpdateServerRequest ¶
type UpdateServerRequest struct { // Id of server ServerId string `json:"serverId"` }
Update Server Request
type UpdateSubnetRequest ¶ added in v0.0.15
type UpdateSubnetRequest struct { // Name of the subnet Name string `json:"name"` }
Update Network Request
type UpdateTaskStatusRequest ¶ added in v0.0.15
type UpdateVirtualIpAddressRequest ¶ added in v0.0.15
type UpdatedAclPolicyRule ¶ added in v0.0.9
type UpdatedAclPolicyRule struct { Action string `json:"action,omitempty"` InterfaceAclPolicyUuid string `json:"interfaceAclPolicyUuid,omitempty"` Port string `json:"port,omitempty"` Protocol string `json:"protocol,omitempty"` SeqNumber int32 `json:"seqNumber,omitempty"` Source string `json:"source,omitempty"` System bool `json:"system,omitempty"` Type_ string `json:"type,omitempty"` }
type UpdatedRoute ¶ added in v0.0.9
type UserImage ¶ added in v0.0.15
type UserImage struct { CreatedAt time.Time `json:"createdAt,omitempty"` ImageSize float32 `json:"imageSize,omitempty"` MinDisk int32 `json:"minDisk,omitempty"` Name string `json:"name,omitempty"` ProjectId string `json:"projectId,omitempty"` Status string `json:"status,omitempty"` Uuid string `json:"uuid,omitempty"` }
type UserImageRestControllerV2ApiListImageUsingGETOpts ¶ added in v0.0.15
type UserImageRestControllerV2ApiService ¶ added in v0.0.15
type UserImageRestControllerV2ApiService service
func (*UserImageRestControllerV2ApiService) CreateImageUsingPOST ¶ added in v0.0.15
func (a *UserImageRestControllerV2ApiService) CreateImageUsingPOST(ctx context.Context, createUserImageRequest CreateUserImageRequest, projectId string, serverId string) (DataResponse, *http.Response, error)
UserImageRestControllerV2ApiService Start server
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param createUserImageRequest createUserImageRequest
- @param projectId The project id
- @param serverId The server id
@return DataResponse
func (*UserImageRestControllerV2ApiService) DeleteImageUsingDELETE ¶ added in v0.0.15
func (a *UserImageRestControllerV2ApiService) DeleteImageUsingDELETE(ctx context.Context, imageId string, projectId string) (*http.Response, error)
UserImageRestControllerV2ApiService Delete User Image
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param imageId The image id
- @param projectId The project id
func (*UserImageRestControllerV2ApiService) ListImageByIdUsingGET ¶ added in v0.0.15
func (a *UserImageRestControllerV2ApiService) ListImageByIdUsingGET(ctx context.Context, imageId string, projectId string) (UserImage, *http.Response, error)
UserImageRestControllerV2ApiService List User Image By ID
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param imageId The image id
- @param projectId The project id
@return UserImage
func (*UserImageRestControllerV2ApiService) ListImageUsingGET ¶ added in v0.0.15
func (a *UserImageRestControllerV2ApiService) ListImageUsingGET(ctx context.Context, projectId string, localVarOptionals *UserImageRestControllerV2ApiListImageUsingGETOpts) (PagingUserImage, *http.Response, error)
type UserService ¶
type UserService struct { ArtifactId string `json:"artifactId,omitempty"` ArtifactName string `json:"artifactName,omitempty"` ArtifactType string `json:"artifactType,omitempty"` CreatedTime int64 `json:"createdTime,omitempty"` CreatedTimeFmt string `json:"createdTimeFmt,omitempty"` EndBillingTime int64 `json:"endBillingTime,omitempty"` EndTimeFmt string `json:"endTimeFmt,omitempty"` IsPoc bool `json:"isPoc,omitempty"` MonthlyCost float64 `json:"monthlyCost,omitempty"` StartBillingTime int64 `json:"startBillingTime,omitempty"` StartTimeFmt string `json:"startTimeFmt,omitempty"` Trial bool `json:"trial,omitempty"` UserServiceId int32 `json:"userServiceId,omitempty"` }
type VipDto ¶ added in v1.2.0
type VipDto struct { AddressPairIps []string `json:"addressPairIps"` CreatedAt time.Time `json:"createdAt"` Description string `json:"description"` IpAddress string `json:"ipAddress"` Name string `json:"name"` NetworkCIDR string `json:"networkCIDR"` NetworkId string `json:"networkId"` NetworkName string `json:"networkName"` SubnetCIDR string `json:"subnetCIDR"` SubnetId string `json:"subnetId"` SubnetName string `json:"subnetName"` Uuid string `json:"uuid"` }
type VirtualIpAddressDto ¶ added in v0.0.15
type VirtualIpAddressDto struct { AddressPairIps []string `json:"addressPairIps,omitempty"` CreatedAt time.Time `json:"createdAt,omitempty"` Description string `json:"description,omitempty"` IpAddress string `json:"ipAddress,omitempty"` Name string `json:"name,omitempty"` NetworkCIDR string `json:"networkCIDR,omitempty"` NetworkName string `json:"networkName,omitempty"` NetworkUuid string `json:"networkUuid,omitempty"` SubnetCIDR string `json:"subnetCIDR,omitempty"` SubnetName string `json:"subnetName,omitempty"` SubnetUuid string `json:"subnetUuid,omitempty"` Uuid string `json:"uuid,omitempty"` }
type VirtualIpAddressNetworkEntity ¶ added in v0.0.15
type VirtualIpAddressNetworkEntity struct { CreatedAt time.Time `json:"createdAt,omitempty"` DeletedAt time.Time `json:"deletedAt,omitempty"` Id int64 `json:"id,omitempty"` NetInterfaceUuid string `json:"netInterfaceUuid,omitempty"` ProjectUuid string `json:"projectUuid,omitempty"` Uuid string `json:"uuid,omitempty"` VipUuid string `json:"vipUuid,omitempty"` }
type VirtualIpAddressRestControllerV2ApiService ¶ added in v0.0.15
type VirtualIpAddressRestControllerV2ApiService service
func (*VirtualIpAddressRestControllerV2ApiService) AddAddressPairUsingPOST ¶ added in v0.0.15
func (a *VirtualIpAddressRestControllerV2ApiService) AddAddressPairUsingPOST(ctx context.Context, createReq CreateAddressPairRequest, projectId string, virtualIpAddressId string) (DataResponseVirtualIpAddressNetworkEntity, *http.Response, error)
VirtualIpAddressRestControllerV2ApiService Create Address Pair
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param createAddressPairModelRequest createAddressPairModelRequest
- @param virtualIpAddressId The Virtual Ip Address id
@return DataResponseCreateAddressPairRequest
func (*VirtualIpAddressRestControllerV2ApiService) CreateVirtualIpAddressUsingPOST ¶ added in v0.0.15
func (a *VirtualIpAddressRestControllerV2ApiService) CreateVirtualIpAddressUsingPOST(ctx context.Context, createReq CreateVirtualIpAddressRequest, projectId string) (DataResponseVipDto, *http.Response, error)
VirtualIpAddressRestControllerV2ApiService Create Virtual Ip Address
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param createReq createReq
@return DataResponseVipDto
func (*VirtualIpAddressRestControllerV2ApiService) DeleteVirtualIpAddressUsingDELETE ¶ added in v0.0.15
func (a *VirtualIpAddressRestControllerV2ApiService) DeleteVirtualIpAddressUsingDELETE(ctx context.Context, projectId string, virtualIpAddressId string) (*http.Response, error)
VirtualIpAddressRestControllerV2ApiService Delete virtual ip address
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param virtualIpAddressId The ssh-key id
func (*VirtualIpAddressRestControllerV2ApiService) GetListAddressPairUsingGET ¶ added in v0.0.15
func (a *VirtualIpAddressRestControllerV2ApiService) GetListAddressPairUsingGET(ctx context.Context, projectId string, virtualIpAddressId string) (DataResponseListAddressPairDto, *http.Response, error)
VirtualIpAddressRestControllerV2ApiService List address pair interfaces
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param virtualIpAddressId The Virtual Ip Address id
@return DataResponseListAddressPairDto
func (*VirtualIpAddressRestControllerV2ApiService) GetListVirtualIpAddressWithPagingUsingGET ¶ added in v1.2.0
func (a *VirtualIpAddressRestControllerV2ApiService) GetListVirtualIpAddressWithPagingUsingGET(ctx context.Context, name string, page string, projectId string, size string) (PagingVipDto, *http.Response, error)
VirtualIpAddressRestControllerV2ApiService List Virtual Ip Address Paging
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param name name
- @param page page
- @param projectId project id
- @param size size
@return PagingVipDto
func (*VirtualIpAddressRestControllerV2ApiService) GetSpecificAddressPairUsingGET ¶ added in v1.2.0
func (a *VirtualIpAddressRestControllerV2ApiService) GetSpecificAddressPairUsingGET(ctx context.Context, projectId string, virtualIpAddressId string, addressPairId string) (DataResponseAddressPairDto, *http.Response, error)
VirtualIpAddressRestControllerV2ApiService List specific address pair interfaces
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param addressPairId The Address Pair id
- @param projectId The project id
- @param virtualIpAddressId The Virtual Ip Address id
@return DataResponseAddressPairDto
func (*VirtualIpAddressRestControllerV2ApiService) GetVirtualIpAddressUsingGET ¶ added in v1.2.0
func (a *VirtualIpAddressRestControllerV2ApiService) GetVirtualIpAddressUsingGET(ctx context.Context, projectId string, vipId string) (DataResponseVipDto, *http.Response, error)
VirtualIpAddressRestControllerV2ApiService Virtual Ip Address By virtual ip address Id
- @param ctx context.Context - for logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param vipId The virtual ip address id
@return DataResponseVipDto
func (*VirtualIpAddressRestControllerV2ApiService) ListInternalNetworkInterfaceUsingGET ¶ added in v0.0.15
func (a *VirtualIpAddressRestControllerV2ApiService) ListInternalNetworkInterfaceUsingGET(ctx context.Context, projectId string) (DataResponseListInternalNetworkInterfaceDto, *http.Response, error)
VirtualIpAddressRestControllerV2ApiService List of internal network interface for adding address pair
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId project id
@return DataResponseListInternalNetworkInterfaceDto
func (*VirtualIpAddressRestControllerV2ApiService) RemoveAddressPairUsingDELETE ¶ added in v0.0.15
func (a *VirtualIpAddressRestControllerV2ApiService) RemoveAddressPairUsingDELETE(ctx context.Context, addressPairId string, projectId string) (*http.Response, error)
VirtualIpAddressRestControllerV2ApiService Delete Address Pair
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param addressPairId The Address Pair id
func (*VirtualIpAddressRestControllerV2ApiService) UpdateUsingPUT3 ¶ added in v1.2.0
func (a *VirtualIpAddressRestControllerV2ApiService) UpdateUsingPUT3(ctx context.Context, projectId string, updateReq UpdateVirtualIpAddressRequest, virtualIpAddressId string) (DataResponseVipDto, *http.Response, error)
VirtualIpAddressRestControllerV2ApiService Update virtual ip address
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param updateReq updateReq
- @param virtualIpAddressId The virtual Ip AddressId id
@return DataResponseVipDto
type Volume ¶
type Volume struct { BootIndex int32 `json:"bootIndex,omitempty"` Bootable bool `json:"bootable,omitempty"` CreatedAt time.Time `json:"createdAt,omitempty"` EncryptionType string `json:"encryptionType,omitempty"` Iops string `json:"iops,omitempty"` MultiAttach bool `json:"multiAttach,omitempty"` Name string `json:"name,omitempty"` ProjectId string `json:"projectId,omitempty"` ServerId string `json:"serverId,omitempty"` ServerIdList []string `json:"serverIdList,omitempty"` Size int32 `json:"size,omitempty"` Status string `json:"status,omitempty"` UpdatedAt time.Time `json:"updatedAt,omitempty"` Uuid string `json:"uuid,omitempty"` VolumeTypeId string `json:"volumeTypeId,omitempty"` VolumeTypeZoneName string `json:"volumeTypeZoneName,omitempty"` }
type VolumeAction ¶ added in v0.0.15
type VolumeResponse ¶
type VolumeRestControllerApiService ¶
type VolumeRestControllerApiService service
func (*VolumeRestControllerApiService) AttachVolumeUsingPUT ¶
func (a *VolumeRestControllerApiService) AttachVolumeUsingPUT(ctx context.Context, attachVolumeRequest AttachVolumeRequest, projectId string) (VolumeResponse, *http.Response, error)
VolumeRestControllerApiService Attach volume into the server
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param attachVolumeRequest attachVolumeRequest
- @param projectId The project id
@return VolumeResponse
func (*VolumeRestControllerApiService) CreateVolumeUsingPOST ¶
func (a *VolumeRestControllerApiService) CreateVolumeUsingPOST(ctx context.Context, createVolumeRequest CreateVolumeRequest, projectId string) (VolumeResponse, *http.Response, error)
VolumeRestControllerApiService Create volume
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param createVolumeRequest createVolumeRequest
- @param projectId The project id
@return VolumeResponse
func (*VolumeRestControllerApiService) DeleteVolumeUsingDELETE ¶
func (a *VolumeRestControllerApiService) DeleteVolumeUsingDELETE(ctx context.Context, deleteVolumeRequest DeleteVolumeRequest, projectId string) (VolumeResponse, *http.Response, error)
VolumeRestControllerApiService Delete volume
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param deleteVolumeRequest deleteVolumeRequest
- @param projectId The project id
@return VolumeResponse
func (*VolumeRestControllerApiService) DetachVolumeUsingPUT ¶
func (a *VolumeRestControllerApiService) DetachVolumeUsingPUT(ctx context.Context, detachVolumeRequest DetachVolumeRequest, projectId string) (VolumeResponse, *http.Response, error)
VolumeRestControllerApiService Detach volume into the server
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param detachVolumeRequest detachVolumeRequest
- @param projectId The project id
@return VolumeResponse
func (*VolumeRestControllerApiService) GetBootVolumeByInstanceIdUsingGET ¶ added in v0.0.15
func (a *VolumeRestControllerApiService) GetBootVolumeByInstanceIdUsingGET(ctx context.Context, projectId string, serverId string) (VolumeResponse, *http.Response, error)
VolumeRestControllerApiService Get boot volume by server id
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param serverId The server id
@return VolumeResponse
func (*VolumeRestControllerApiService) GetVolumeByInstanceIdUsingGET ¶ added in v0.0.15
func (a *VolumeRestControllerApiService) GetVolumeByInstanceIdUsingGET(ctx context.Context, projectId string, serverId string) (VolumeResponse, *http.Response, error)
VolumeRestControllerApiService Get volume by server id
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param serverId The server id
@return VolumeResponse
func (*VolumeRestControllerApiService) GetVolumeUsingGET1 ¶ added in v0.0.15
func (a *VolumeRestControllerApiService) GetVolumeUsingGET1(ctx context.Context, projectId string, volumeId string) (VolumeResponse, *http.Response, error)
VolumeRestControllerApiService Get volume by id
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param volumeId The volume id
@return VolumeResponse
func (*VolumeRestControllerApiService) ListEncryptionUsingGET ¶ added in v0.0.15
func (a *VolumeRestControllerApiService) ListEncryptionUsingGET(ctx context.Context, projectId string) ([]EncryptionType, *http.Response, error)
VolumeRestControllerApiService Get list encryption type
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
@return []EncryptionType
func (*VolumeRestControllerApiService) ListVolumeUsingGET1 ¶ added in v0.0.15
func (a *VolumeRestControllerApiService) ListVolumeUsingGET1(ctx context.Context, projectId string) (VolumeResponse, *http.Response, error)
VolumeRestControllerApiService List volume
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
@return VolumeResponse
func (*VolumeRestControllerApiService) ResizeVolumeUsingPUT ¶
func (a *VolumeRestControllerApiService) ResizeVolumeUsingPUT(ctx context.Context, projectId string, resizeVolumeRequest ResizeVolumeRequest) (VolumeResponse, *http.Response, error)
VolumeRestControllerApiService Resize volume
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param resizeVolumeRequest resizeVolumeRequest
@return VolumeResponse
type VolumeRestControllerV2ApiListVolumeUsingGET2Opts ¶ added in v0.0.15
type VolumeRestControllerV2ApiService ¶ added in v0.0.15
type VolumeRestControllerV2ApiService service
func (*VolumeRestControllerV2ApiService) AttachVolumeUsingPUT1 ¶ added in v0.0.15
func (a *VolumeRestControllerV2ApiService) AttachVolumeUsingPUT1(ctx context.Context, attachVolumeRequest AttachVolumeRequest, projectId string, serverId string, volumeId string) (DataResponseVolume, *http.Response, error)
VolumeRestControllerV2ApiService Attach volume into the server
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param attachVolumeRequest attachVolumeRequest
- @param projectId The project id
- @param serverId The server id
- @param volumeId The volume id
@return DataResponseVolume
func (*VolumeRestControllerV2ApiService) CreateVolumeUsingPOST1 ¶ added in v0.0.15
func (a *VolumeRestControllerV2ApiService) CreateVolumeUsingPOST1(ctx context.Context, createVolumeRequest CreateVolumeRequest, projectId string) (DataResponseVolume, *http.Response, error)
VolumeRestControllerV2ApiService Create volume
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param createVolumeRequest createVolumeRequest
- @param projectId The project id
@return DataResponse
func (*VolumeRestControllerV2ApiService) DeleteVolumeUsingDELETE1 ¶ added in v0.0.15
func (a *VolumeRestControllerV2ApiService) DeleteVolumeUsingDELETE1(ctx context.Context, projectId string, volumeId string) (DataResponseVolume, *http.Response, error)
VolumeRestControllerV2ApiService Delete volume
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param volumeId The volume id
@return DataResponseVolume
func (*VolumeRestControllerV2ApiService) DetachVolumeUsingPUT1 ¶ added in v0.0.15
func (a *VolumeRestControllerV2ApiService) DetachVolumeUsingPUT1(ctx context.Context, detachVolumeRequest DetachVolumeRequest, projectId string, serverId string, volumeId string) (DataResponseVolume, *http.Response, error)
VolumeRestControllerV2ApiService Detach volume into the server
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param detachVolumeRequest detachVolumeRequest
- @param projectId The project id
- @param serverId The server id
- @param volumeId The volume id
@return DataResponseVolume
func (*VolumeRestControllerV2ApiService) GetBootVolumeByInstanceIdUsingGET1 ¶ added in v0.0.15
func (a *VolumeRestControllerV2ApiService) GetBootVolumeByInstanceIdUsingGET1(ctx context.Context, projectId string, serverId string) (VolumeResponse, *http.Response, error)
VolumeRestControllerV2ApiService Get boot volume by server id
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param serverId The volume id
@return VolumeResponse
func (*VolumeRestControllerV2ApiService) GetVolumeByInstanceIdUsingGET1 ¶ added in v0.0.15
func (a *VolumeRestControllerV2ApiService) GetVolumeByInstanceIdUsingGET1(ctx context.Context, projectId string, serverId string) (VolumeResponse, *http.Response, error)
VolumeRestControllerV2ApiService Get volume by server id
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param serverId The server id
@return VolumeResponse
func (*VolumeRestControllerV2ApiService) GetVolumeUsingGET2 ¶ added in v0.0.15
func (a *VolumeRestControllerV2ApiService) GetVolumeUsingGET2(ctx context.Context, projectId string, volumeId string) (DataResponseVolume, *http.Response, error)
VolumeRestControllerV2ApiService Get volume by id
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param volumeId The volume id
@return DataResponseVolume
func (*VolumeRestControllerV2ApiService) ListVolumeHistoryUsingGET ¶ added in v0.0.15
func (a *VolumeRestControllerV2ApiService) ListVolumeHistoryUsingGET(ctx context.Context, projectId string, volumeId string) ([]VolumeAction, *http.Response, error)
VolumeRestControllerV2ApiService List volume
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param volumeId The volume id
@return []VolumeAction
func (*VolumeRestControllerV2ApiService) ListVolumeUsingGET2 ¶ added in v0.0.15
func (a *VolumeRestControllerV2ApiService) ListVolumeUsingGET2(ctx context.Context, projectId string, localVarOptionals *VolumeRestControllerV2ApiListVolumeUsingGET2Opts) (PagingVolume, *http.Response, error)
func (*VolumeRestControllerV2ApiService) ResizeVolumeUsingPUT1 ¶ added in v0.0.15
func (a *VolumeRestControllerV2ApiService) ResizeVolumeUsingPUT1(ctx context.Context, projectId string, resizeVolumeRequest ResizeVolumeRequest, volumeId string) (DataResponseVolume, *http.Response, error)
VolumeRestControllerV2ApiService Resize volume
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param resizeVolumeRequest resizeVolumeRequest
- @param volumeId The volume id
@return DataResponseVolume
type VolumeType ¶
type VolumeTypeResponse ¶
type VolumeTypeResponse struct { ErrorCode int32 `json:"errorCode,omitempty"` ErrorMsg string `json:"errorMsg,omitempty"` Extra interface{} `json:"extra,omitempty"` Success bool `json:"success,omitempty"` VolumeTypes []VolumeType `json:"volumeTypes,omitempty"` }
type VolumeTypeRestControllerApiService ¶
type VolumeTypeRestControllerApiService service
func (*VolumeTypeRestControllerApiService) GetVolumeTypeUsingGET ¶
func (a *VolumeTypeRestControllerApiService) GetVolumeTypeUsingGET(ctx context.Context, projectId string, volumeTypeId string) (VolumeTypeResponse, *http.Response, error)
VolumeTypeRestControllerApiService getVolumeType
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId project_id
- @param volumeTypeId volume_type_id
@return VolumeTypeResponse
func (*VolumeTypeRestControllerApiService) ListVolumeTypeUsingGET ¶
func (a *VolumeTypeRestControllerApiService) ListVolumeTypeUsingGET(ctx context.Context, projectId string, volumeTypeZoneId string) (VolumeTypeResponse, *http.Response, error)
VolumeTypeRestControllerApiService listVolumeType
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId project_id
- @param volumeTypeZoneId volume_type_zone_id
@return VolumeTypeResponse
type VolumeTypeZone ¶
type VolumeTypeZoneResponse ¶
type VolumeTypeZoneResponse struct { ErrorCode int32 `json:"errorCode,omitempty"` ErrorMsg string `json:"errorMsg,omitempty"` Extra interface{} `json:"extra,omitempty"` Success bool `json:"success,omitempty"` VolumeTypeZones []VolumeTypeZone `json:"volumeTypeZones,omitempty"` }
type VolumeTypeZoneRestControllerApiService ¶
type VolumeTypeZoneRestControllerApiService service
func (*VolumeTypeZoneRestControllerApiService) GetVolumeTypeZoneUsingGET ¶
func (a *VolumeTypeZoneRestControllerApiService) GetVolumeTypeZoneUsingGET(ctx context.Context, projectId string, volumeTypeZoneId string) (VolumeTypeZoneResponse, *http.Response, error)
VolumeTypeZoneRestControllerApiService getVolumeTypeZone
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId project_id
- @param volumeTypeZoneId volume_type_zone_id
@return VolumeTypeZoneResponse
func (*VolumeTypeZoneRestControllerApiService) ListVolumeTypeZoneUsingGET ¶
func (a *VolumeTypeZoneRestControllerApiService) ListVolumeTypeZoneUsingGET(ctx context.Context, projectId string) (VolumeTypeZoneResponse, *http.Response, error)
VolumeTypeZoneRestControllerApiService listVolumeTypeZone
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId project_id
@return VolumeTypeZoneResponse
type VpcExternalCallbackControllerApiService ¶ added in v0.0.15
type VpcExternalCallbackControllerApiService service
func (*VpcExternalCallbackControllerApiService) UpdateStatusUsingPOST ¶ added in v0.0.15
func (a *VpcExternalCallbackControllerApiService) UpdateStatusUsingPOST(ctx context.Context, updateTaskStatusRequest UpdateTaskStatusRequest) (CallbackResponse, *http.Response, error)
VpcExternalCallbackControllerApiService Update status in task table
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param updateTaskStatusRequest updateTaskStatusRequest
@return CallbackResponse
type WanIpRestControllerV2ApiListWanIpUsingGETOpts ¶ added in v0.0.15
type WanIpRestControllerV2ApiService ¶ added in v0.0.15
type WanIpRestControllerV2ApiService service
func (*WanIpRestControllerV2ApiService) DeleteWanIpUsingDELETE ¶ added in v0.0.15
func (a *WanIpRestControllerV2ApiService) DeleteWanIpUsingDELETE(ctx context.Context, projectId string, wanIpId string) (*http.Response, error)
WanIpRestControllerV2ApiService Delete a WAN IP
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param projectId The project id
- @param wanIpId The WAN IP id
func (*WanIpRestControllerV2ApiService) ListWanIpUsingGET ¶ added in v0.0.15
func (a *WanIpRestControllerV2ApiService) ListWanIpUsingGET(ctx context.Context, projectId string, localVarOptionals *WanIpRestControllerV2ApiListWanIpUsingGETOpts) (PagingWanIpDto, *http.Response, error)
Source Files ¶
- api_attachment_controller.go
- api_bandwidth_controller.go
- api_elastic_ip_rest_controller_v2.go
- api_flavor_rest_controller.go
- api_flavor_zone_rest_controller.go
- api_image_rest_controller.go
- api_k8_s_cluster_rest_controller_v2.go
- api_network_acl_rest_controller.go
- api_network_acl_rest_controller_v2.go
- api_network_interface_elastic_rest_controller_v2.go
- api_network_rest_controller.go
- api_network_rest_controller_v2.go
- api_persistent_volume_rest_controller_v2.go
- api_project_rest_controller.go
- api_protocol_rest_controller_v2.go
- api_quota_rest_controller.go
- api_quota_rest_controller_v2.go
- api_region_controller_v2.go
- api_route_table_rest_controller_v2.go
- api_secgroup_rest_controller.go
- api_secgroup_rest_controller_v2.go
- api_secgroup_rule_rest_controller.go
- api_secgroup_rule_rest_controller_v2.go
- api_server_group_rest_controller.go
- api_server_group_rest_controller_v2.go
- api_server_rest_controller.go
- api_server_rest_controller_v2.go
- api_simple_server_rest_controller.go
- api_simple_volume_rest_controller.go
- api_ssh_key_rest_controller.go
- api_ssh_key_rest_controller_v2.go
- api_subnet_rest_controller.go
- api_subnet_rest_controller_v2.go
- api_user_image_rest_controller_v2.go
- api_virtual_ip_address_rest_controller_v2.go
- api_volume_rest_controller.go
- api_volume_rest_controller_v2.go
- api_volume_type_rest_controller.go
- api_volume_type_zone_rest_controller.go
- api_vpc_external_callback_controller.go
- api_wan_ip_rest_controller_v2.go
- client.go
- configuration.go
- model_acl_policy_rule.go
- model_address_pair_dto.go
- model_attach_detach_wan_ip_request.go
- model_attach_external_network_interface_request.go
- model_attach_network_interface_request.go
- model_attach_network_interface_with_wan_ip_request.go
- model_attach_to_load_balancer_backend_request.go
- model_attach_volume_request.go
- model_attachment_entity.go
- model_attachment_response.go
- model_bandwidth_model.go
- model_bandwidth_package_model.go
- model_bandwidth_package_response.go
- model_bandwidth_resource_ip_response.go
- model_bandwidth_response.go
- model_bandwidth_traffic_history_model.go
- model_bandwidth_traffic_response.go
- model_base_response.go
- model_callback_response.go
- model_change_routes_request.go
- model_change_sec_group_request.go
- model_change_type_bandwidth_request.go
- model_cluster_config_result_dto.go
- model_cluster_dto.go
- model_cluster_node_dto.go
- model_cluster_node_group_dto.go
- model_cluster_pool_dto.go
- model_cluster_sec_group_default.go
- model_cluster_sec_group_default_dto.go
- model_cluster_sec_group_dto.go
- model_cluster_volume_dto.go
- model_code.go
- model_create_address_pair_request.go
- model_create_bandwidth_request.go
- model_create_cluster_request.go
- model_create_network_acl_request.go
- model_create_network_interface_request.go
- model_create_network_request.go
- model_create_node_group_backend_request.go
- model_create_route_table_request.go
- model_create_security_group_request.go
- model_create_security_group_rule_request.go
- model_create_server_group_request.go
- model_create_server_request.go
- model_create_ssh_key_request.go
- model_create_subnet_request.go
- model_create_user_image_request.go
- model_create_virtual_ip_address_request.go
- model_create_volume_request.go
- model_data_disk_limit.go
- model_data_response.go
- model_data_response_address_pair_dto.go
- model_data_response_cluster_dto.go
- model_data_response_cluster_node_group_dto.go
- model_data_response_create_address_pair_request.go
- model_data_response_interface_cluster_node_group_entity.go
- model_data_response_interface_k8s_cluster_entity.go
- model_data_response_interface_network_interface.go
- model_data_response_json_object.go
- model_data_response_list_address_pair_dto.go
- model_data_response_list_cluster_sec_group_dto.go
- model_data_response_list_internal_network_interface_dto.go
- model_data_response_list_network_acl_policy_rule_dto.go
- model_data_response_list_quota_used_dto.go
- model_data_response_list_region_dto.go
- model_data_response_list_routes_dto.go
- model_data_response_list_secgrouprule_dto.go
- model_data_response_list_security_group_rules_sample_entity.go
- model_data_response_list_server_action.go
- model_data_response_list_server_group_policy.go
- model_data_response_list_server_of_secgroup_dto.go
- model_data_response_liststring.go
- model_data_response_network_acl_detail_dto.go
- model_data_response_network_acl_dto.go
- model_data_response_network_acl_model.go
- model_data_response_network_dto.go
- model_data_response_network_interface_elastic.go
- model_data_response_route_table_dto.go
- model_data_response_secgroup_dto.go
- model_data_response_secgroup_entity.go
- model_data_response_secgroup_rule_entity.go
- model_data_response_secgrouprule_dto.go
- model_data_response_server.go
- model_data_response_server_group_dto.go
- model_data_response_server_network_interface_detail.go
- model_data_response_server_sec_group_detail.go
- model_data_response_simple_server.go
- model_data_response_simple_server_task_dto.go
- model_data_response_ssh_key_dto.go
- model_data_response_subnet_dto.go
- model_data_response_vip_dto.go
- model_data_response_virtual_ip_address_dto.go
- model_data_response_virtual_ip_address_network_entity.go
- model_data_response_volume.go
- model_data_responseboolean.go
- model_data_responsestring.go
- model_delete_bandwidth_request.go
- model_delete_network_request.go
- model_delete_node_group_backend_request.go
- model_delete_security_group_request.go
- model_delete_security_group_rule_request.go
- model_delete_server_group_request.go
- model_delete_server_request.go
- model_delete_ssh_key_request.go
- model_delete_subnet_request.go
- model_delete_volume_request.go
- model_detach_external_network_interface_request.go
- model_detach_network_interface_request.go
- model_detach_network_interface_with_wan_ip_request.go
- model_detach_volume_request.go
- model_edit_security_group_request.go
- model_elastic_ip_detail.go
- model_elastic_ip_entity.go
- model_elastic_of_network_dto.go
- model_encryption_type.go
- model_family.go
- model_family_condition.go
- model_flavor.go
- model_flavor_response.go
- model_flavor_zone.go
- model_flavor_zone_response.go
- model_import_ssh_key_request.go
- model_interface_cluster_node_group_entity.go
- model_interface_k8_s_cluster_detail.go
- model_interface_k8_s_cluster_dto.go
- model_interface_k8s_cluster_entity.go
- model_interface_network_interface.go
- model_interface_network_interface_entity.go
- model_interface_project_quota.go
- model_interface_project_quota_response.go
- model_interface_public_ip.go
- model_interface_public_ip_entity.go
- model_interface_public_subnet.go
- model_interface_public_subnet_dto.go
- model_interface_public_subnet_entity.go
- model_internal_network_interface_dto.go
- model_json_object.go
- model_k8_s_etcd_package_entity.go
- model_k8s_network_type_dto.go
- model_k8s_version_dto.go
- model_list_resource_ip_request.go
- model_list_route_tables_response.go
- model_load_balancer_item.go
- model_network.go
- model_network_acl_detail_dto.go
- model_network_acl_dto.go
- model_network_acl_list_response.go
- model_network_acl_model.go
- model_network_acl_policy_rule_dto.go
- model_network_acl_response.go
- model_network_dto.go
- model_network_interface_elastic.go
- model_network_response.go
- model_node_console_result_dto.go
- model_node_group_request_model.go
- model_os_image.go
- model_os_image_base_response.go
- model_package_limit.go
- model_paging_cluster_dto.go
- model_paging_elastic_ip_detail.go
- model_paging_interface_k8_s_cluster_detail.go
- model_paging_interface_k8_s_cluster_dto.go
- model_paging_network_acl_dto.go
- model_paging_network_dto.go
- model_paging_network_interface_elastic.go
- model_paging_persistent_volume_dto.go
- model_paging_route_table_dto.go
- model_paging_secgroup_dto.go
- model_paging_server.go
- model_paging_server_group_detail.go
- model_paging_simple_server.go
- model_paging_simple_volume.go
- model_paging_ssh_key_dto.go
- model_paging_user_image.go
- model_paging_vip_dto.go
- model_paging_virtual_ip_address_dto.go
- model_paging_volume.go
- model_paging_wan_ip_dto.go
- model_persistent_volume_dto.go
- model_pool_item.go
- model_project_info.go
- model_project_response.go
- model_quota.go
- model_quota_response.go
- model_quota_used_dto.go
- model_recover_bandwidth_request.go
- model_region_dto.go
- model_rename_network_interface_request.go
- model_rename_server_request.go
- model_renew_bandwidth_request.go
- model_resize_server_request.go
- model_resize_volume_request.go
- model_resource_ip.go
- model_root_disk_limit.go
- model_route_model.go
- model_route_request.go
- model_route_table_dto.go
- model_route_table_model.go
- model_route_table_response.go
- model_route_table_update_route_request.go
- model_route_table_update_subnet_request.go
- model_routes_dto.go
- model_scale_minion_backend_request.go
- model_sdn_ssh_key_delete_request.go
- model_sec_group_default.go
- model_sec_group_rule_default.go
- model_sec_group_rule_detail.go
- model_secgroup.go
- model_secgroup_dto.go
- model_secgroup_entity.go
- model_secgroup_response.go
- model_secgroup_rule.go
- model_secgroup_rule_entity.go
- model_secgroup_rule_response.go
- model_secgrouprule_dto.go
- model_security_group_rules_sample_entity.go
- model_server.go
- model_server_action.go
- model_server_group.go
- model_server_group_detail.go
- model_server_group_dto.go
- model_server_group_policy.go
- model_server_group_policy_response.go
- model_server_group_response.go
- model_server_limit.go
- model_server_network_interface_detail.go
- model_server_of_secgroup_dto.go
- model_server_response.go
- model_server_sec_group.go
- model_server_sec_group_detail.go
- model_simple_cluster_node_group_dto.go
- model_simple_server.go
- model_simple_server_task_dto.go
- model_simple_volume.go
- model_ssh_key.go
- model_ssh_key_dto.go
- model_ssh_key_response.go
- model_subnet.go
- model_subnet_dto.go
- model_subnet_response.go
- model_tag_request.go
- model_timestamp.go
- model_type_item_condition.go
- model_types_item.go
- model_update_cluster_description_request.go
- model_update_cluster_sec_group_request.go
- model_update_network_acl_rules_request.go
- model_update_network_acl_subnets_request.go
- model_update_network_request.go
- model_update_quota.go
- model_update_quota_vsg_request.go
- model_update_security_group_rule_request.go
- model_update_server_group_request.go
- model_update_server_group_request_v2.go
- model_update_server_request.go
- model_update_subnet_request.go
- model_update_task_status_request.go
- model_update_virtual_ip_address_request.go
- model_updated_acl_policy_rule.go
- model_updated_route.go
- model_user_image.go
- model_user_service.go
- model_vip_dto.go
- model_virtual_ip_address_dto.go
- model_virtual_ip_address_network_entity.go
- model_volume.go
- model_volume_action.go
- model_volume_response.go
- model_volume_type.go
- model_volume_type_response.go
- model_volume_type_zone.go
- model_volume_type_zone_response.go
- model_vpc_info.go
- model_wan_ip_dto.go
- response.go