ionoscloud 6.0.0.beta.1 → 6.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +190 -0
- data/README.md +57 -0
- data/docs/README.md +64 -0
- data/docs/api/BackupUnitsApi.md +594 -0
- data/docs/{ContractResourcesApi.md → api/ContractResourcesApi.md} +12 -12
- data/docs/api/DataCentersApi.md +516 -0
- data/docs/api/DefaultApi.md +78 -0
- data/docs/{FirewallRulesApi.md → api/FirewallRulesApi.md} +131 -132
- data/docs/{FlowLogsApi.md → api/FlowLogsApi.md} +115 -116
- data/docs/api/IPBlocksApi.md +516 -0
- data/docs/api/ImagesApi.md +428 -0
- data/docs/{KubernetesApi.md → api/KubernetesApi.md} +266 -270
- data/docs/api/LANsApi.md +794 -0
- data/docs/api/LabelsApi.md +2338 -0
- data/docs/{LoadBalancersApi.md → api/LoadBalancersApi.md} +178 -188
- data/docs/api/LocationsApi.md +259 -0
- data/docs/{NATGatewaysApi.md → api/NATGatewaysApi.md} +317 -324
- data/docs/api/NetworkInterfacesApi.md +540 -0
- data/docs/{NetworkLoadBalancersApi.md → api/NetworkLoadBalancersApi.md} +333 -340
- data/docs/api/PrivateCrossConnectsApi.md +426 -0
- data/docs/api/RequestsApi.md +283 -0
- data/docs/api/ServersApi.md +1908 -0
- data/docs/api/SnapshotsApi.md +428 -0
- data/docs/{TemplatesApi.md → api/TemplatesApi.md} +18 -18
- data/docs/api/UserManagementApi.md +2039 -0
- data/docs/api/UserS3KeysApi.md +516 -0
- data/docs/api/VolumesApi.md +709 -0
- data/docs/{AttachedVolumes.md → models/AttachedVolumes.md} +6 -6
- data/docs/{BackupUnit.md → models/BackupUnit.md} +3 -3
- data/docs/{BackupUnitProperties.md → models/BackupUnitProperties.md} +2 -2
- data/docs/{BackupUnitSSO.md → models/BackupUnitSSO.md} +0 -0
- data/docs/{BackupUnits.md → models/BackupUnits.md} +4 -4
- data/docs/{BalancedNics.md → models/BalancedNics.md} +6 -6
- data/docs/{Cdroms.md → models/Cdroms.md} +6 -6
- data/docs/{ConnectableDatacenter.md → models/ConnectableDatacenter.md} +0 -0
- data/docs/{Contract.md → models/Contract.md} +1 -1
- data/docs/{ContractProperties.md → models/ContractProperties.md} +4 -4
- data/docs/{Contracts.md → models/Contracts.md} +3 -3
- data/docs/{CpuArchitectureProperties.md → models/CpuArchitectureProperties.md} +1 -1
- data/docs/{DataCenterEntities.md → models/DataCenterEntities.md} +0 -0
- data/docs/{Datacenter.md → models/Datacenter.md} +3 -3
- data/docs/{DatacenterElementMetadata.md → models/DatacenterElementMetadata.md} +6 -6
- data/docs/{DatacenterProperties.md → models/DatacenterProperties.md} +6 -6
- data/docs/{Datacenters.md → models/Datacenters.md} +6 -6
- data/docs/{Error.md → models/Error.md} +1 -1
- data/docs/{ErrorMessage.md → models/ErrorMessage.md} +3 -3
- data/docs/{FirewallRule.md → models/FirewallRule.md} +3 -3
- data/docs/{FirewallRules.md → models/FirewallRules.md} +6 -6
- data/docs/{FirewallruleProperties.md → models/FirewallruleProperties.md} +10 -10
- data/docs/{FlowLog.md → models/FlowLog.md} +3 -3
- data/docs/{FlowLogProperties.md → models/FlowLogProperties.md} +1 -1
- data/docs/{FlowLogPut.md → models/FlowLogPut.md} +3 -3
- data/docs/{FlowLogs.md → models/FlowLogs.md} +6 -6
- data/docs/{Group.md → models/Group.md} +3 -3
- data/docs/{GroupEntities.md → models/GroupEntities.md} +0 -0
- data/docs/{GroupMembers.md → models/GroupMembers.md} +4 -4
- data/docs/models/GroupProperties.md +42 -0
- data/docs/{GroupShare.md → models/GroupShare.md} +2 -2
- data/docs/{GroupShareProperties.md → models/GroupShareProperties.md} +0 -0
- data/docs/{GroupShares.md → models/GroupShares.md} +3 -3
- data/docs/{GroupUsers.md → models/GroupUsers.md} +4 -4
- data/docs/{Groups.md → models/Groups.md} +4 -4
- data/docs/{IPFailover.md → models/IPFailover.md} +0 -0
- data/docs/{Image.md → models/Image.md} +3 -3
- data/docs/models/ImageProperties.md +54 -0
- data/docs/{Images.md → models/Images.md} +4 -4
- data/docs/{Info.md → models/Info.md} +0 -0
- data/docs/{IpBlock.md → models/IpBlock.md} +3 -3
- data/docs/models/IpBlockProperties.md +26 -0
- data/docs/models/IpBlocks.md +30 -0
- data/docs/{IpConsumer.md → models/IpConsumer.md} +5 -1
- data/docs/{KubernetesAutoScaling.md → models/KubernetesAutoScaling.md} +0 -0
- data/docs/{KubernetesCluster.md → models/KubernetesCluster.md} +2 -2
- data/docs/{KubernetesClusterEntities.md → models/KubernetesClusterEntities.md} +0 -0
- data/docs/{KubernetesClusterForPost.md → models/KubernetesClusterForPost.md} +2 -2
- data/docs/{KubernetesClusterForPut.md → models/KubernetesClusterForPut.md} +2 -2
- data/docs/models/KubernetesClusterProperties.md +30 -0
- data/docs/models/KubernetesClusterPropertiesForPost.md +26 -0
- data/docs/models/KubernetesClusterPropertiesForPut.md +26 -0
- data/docs/{KubernetesClusters.md → models/KubernetesClusters.md} +4 -4
- data/docs/{KubernetesMaintenanceWindow.md → models/KubernetesMaintenanceWindow.md} +0 -0
- data/docs/{KubernetesNode.md → models/KubernetesNode.md} +2 -2
- data/docs/{KubernetesNodeMetadata.md → models/KubernetesNodeMetadata.md} +4 -4
- data/docs/{KubernetesNodePool.md → models/KubernetesNodePool.md} +2 -2
- data/docs/{KubernetesNodePoolForPost.md → models/KubernetesNodePoolForPost.md} +2 -2
- data/docs/{KubernetesNodePoolForPut.md → models/KubernetesNodePoolForPut.md} +2 -2
- data/docs/{KubernetesNodePoolLan.md → models/KubernetesNodePoolLan.md} +2 -2
- data/docs/{KubernetesNodePoolLanRoutes.md → models/KubernetesNodePoolLanRoutes.md} +0 -0
- data/docs/{KubernetesNodePoolProperties.md → models/KubernetesNodePoolProperties.md} +13 -14
- data/docs/{KubernetesNodePoolPropertiesForPost.md → models/KubernetesNodePoolPropertiesForPost.md} +12 -13
- data/docs/{KubernetesNodePoolPropertiesForPut.md → models/KubernetesNodePoolPropertiesForPut.md} +5 -5
- data/docs/{KubernetesNodePools.md → models/KubernetesNodePools.md} +4 -4
- data/docs/{KubernetesNodeProperties.md → models/KubernetesNodeProperties.md} +2 -2
- data/docs/{KubernetesNodes.md → models/KubernetesNodes.md} +4 -4
- data/docs/{Label.md → models/Label.md} +2 -2
- data/docs/{LabelProperties.md → models/LabelProperties.md} +3 -3
- data/docs/{LabelResource.md → models/LabelResource.md} +2 -2
- data/docs/{LabelResourceProperties.md → models/LabelResourceProperties.md} +2 -2
- data/docs/{LabelResources.md → models/LabelResources.md} +6 -6
- data/docs/{Labels.md → models/Labels.md} +4 -4
- data/docs/{Lan.md → models/Lan.md} +3 -3
- data/docs/{LanEntities.md → models/LanEntities.md} +0 -0
- data/docs/{LanNics.md → models/LanNics.md} +6 -6
- data/docs/{LanPost.md → models/LanPost.md} +3 -3
- data/docs/{LanProperties.md → models/LanProperties.md} +3 -3
- data/docs/{LanPropertiesPost.md → models/LanPropertiesPost.md} +3 -3
- data/docs/{Lans.md → models/Lans.md} +6 -6
- data/docs/{Loadbalancer.md → models/Loadbalancer.md} +3 -3
- data/docs/{LoadbalancerEntities.md → models/LoadbalancerEntities.md} +0 -0
- data/docs/{LoadbalancerProperties.md → models/LoadbalancerProperties.md} +3 -3
- data/docs/{Loadbalancers.md → models/Loadbalancers.md} +6 -6
- data/docs/{Location.md → models/Location.md} +3 -3
- data/docs/{LocationProperties.md → models/LocationProperties.md} +1 -1
- data/docs/{Locations.md → models/Locations.md} +4 -4
- data/docs/{NatGateway.md → models/NatGateway.md} +3 -3
- data/docs/{NatGatewayEntities.md → models/NatGatewayEntities.md} +0 -0
- data/docs/{NatGatewayLanProperties.md → models/NatGatewayLanProperties.md} +2 -2
- data/docs/{NatGatewayProperties.md → models/NatGatewayProperties.md} +3 -3
- data/docs/{NatGatewayPut.md → models/NatGatewayPut.md} +3 -3
- data/docs/{NatGatewayRule.md → models/NatGatewayRule.md} +3 -3
- data/docs/{NatGatewayRuleProperties.md → models/NatGatewayRuleProperties.md} +7 -7
- data/docs/{NatGatewayRuleProtocol.md → models/NatGatewayRuleProtocol.md} +0 -0
- data/docs/{NatGatewayRulePut.md → models/NatGatewayRulePut.md} +3 -3
- data/docs/{NatGatewayRuleType.md → models/NatGatewayRuleType.md} +0 -0
- data/docs/{NatGatewayRules.md → models/NatGatewayRules.md} +4 -4
- data/docs/{NatGateways.md → models/NatGateways.md} +6 -6
- data/docs/{NetworkLoadBalancer.md → models/NetworkLoadBalancer.md} +3 -3
- data/docs/{NetworkLoadBalancerEntities.md → models/NetworkLoadBalancerEntities.md} +0 -0
- data/docs/{NetworkLoadBalancerForwardingRule.md → models/NetworkLoadBalancerForwardingRule.md} +3 -3
- data/docs/{NetworkLoadBalancerForwardingRuleHealthCheck.md → models/NetworkLoadBalancerForwardingRuleHealthCheck.md} +0 -2
- data/docs/{NetworkLoadBalancerForwardingRuleProperties.md → models/NetworkLoadBalancerForwardingRuleProperties.md} +3 -3
- data/docs/{NetworkLoadBalancerForwardingRulePut.md → models/NetworkLoadBalancerForwardingRulePut.md} +3 -3
- data/docs/{NetworkLoadBalancerForwardingRuleTarget.md → models/NetworkLoadBalancerForwardingRuleTarget.md} +0 -0
- data/docs/{NetworkLoadBalancerForwardingRuleTargetHealthCheck.md → models/NetworkLoadBalancerForwardingRuleTargetHealthCheck.md} +0 -0
- data/docs/{NetworkLoadBalancerForwardingRules.md → models/NetworkLoadBalancerForwardingRules.md} +6 -6
- data/docs/{NetworkLoadBalancerProperties.md → models/NetworkLoadBalancerProperties.md} +4 -4
- data/docs/{NetworkLoadBalancerPut.md → models/NetworkLoadBalancerPut.md} +3 -3
- data/docs/{NetworkLoadBalancers.md → models/NetworkLoadBalancers.md} +6 -6
- data/docs/{Nic.md → models/Nic.md} +3 -3
- data/docs/{NicEntities.md → models/NicEntities.md} +0 -0
- data/docs/models/NicProperties.md +34 -0
- data/docs/{NicPut.md → models/NicPut.md} +3 -3
- data/docs/{Nics.md → models/Nics.md} +6 -6
- data/docs/{NoStateMetaData.md → models/NoStateMetaData.md} +5 -5
- data/docs/{PaginationLinks.md → models/PaginationLinks.md} +3 -3
- data/docs/{Peer.md → models/Peer.md} +0 -0
- data/docs/{PrivateCrossConnect.md → models/PrivateCrossConnect.md} +3 -3
- data/docs/{PrivateCrossConnectProperties.md → models/PrivateCrossConnectProperties.md} +4 -4
- data/docs/{PrivateCrossConnects.md → models/PrivateCrossConnects.md} +4 -4
- data/docs/{RemoteConsoleUrl.md → models/RemoteConsoleUrl.md} +0 -0
- data/docs/{Request.md → models/Request.md} +3 -3
- data/docs/{RequestMetadata.md → models/RequestMetadata.md} +2 -2
- data/docs/{RequestProperties.md → models/RequestProperties.md} +0 -0
- data/docs/{RequestStatus.md → models/RequestStatus.md} +3 -3
- data/docs/{RequestStatusMetadata.md → models/RequestStatusMetadata.md} +1 -1
- data/docs/{RequestTarget.md → models/RequestTarget.md} +0 -0
- data/docs/{Requests.md → models/Requests.md} +6 -6
- data/docs/{Resource.md → models/Resource.md} +3 -3
- data/docs/{ResourceEntities.md → models/ResourceEntities.md} +0 -0
- data/docs/{ResourceGroups.md → models/ResourceGroups.md} +4 -4
- data/docs/models/ResourceLimits.md +60 -0
- data/docs/{ResourceProperties.md → models/ResourceProperties.md} +2 -2
- data/docs/{ResourceReference.md → models/ResourceReference.md} +3 -3
- data/docs/{Resources.md → models/Resources.md} +4 -4
- data/docs/{ResourcesUsers.md → models/ResourcesUsers.md} +4 -4
- data/docs/models/S3Bucket.md +18 -0
- data/docs/{S3Key.md → models/S3Key.md} +3 -3
- data/docs/{S3KeyMetadata.md → models/S3KeyMetadata.md} +2 -2
- data/docs/{S3KeyProperties.md → models/S3KeyProperties.md} +2 -2
- data/docs/{S3Keys.md → models/S3Keys.md} +4 -4
- data/docs/{S3ObjectStorageSSO.md → models/S3ObjectStorageSSO.md} +0 -0
- data/docs/{Server.md → models/Server.md} +3 -3
- data/docs/{ServerEntities.md → models/ServerEntities.md} +0 -0
- data/docs/{ServerProperties.md → models/ServerProperties.md} +7 -7
- data/docs/{Servers.md → models/Servers.md} +6 -6
- data/docs/{Snapshot.md → models/Snapshot.md} +3 -3
- data/docs/models/SnapshotProperties.md +48 -0
- data/docs/{Snapshots.md → models/Snapshots.md} +4 -4
- data/docs/{TargetPortRange.md → models/TargetPortRange.md} +2 -2
- data/docs/{Template.md → models/Template.md} +3 -3
- data/docs/{TemplateProperties.md → models/TemplateProperties.md} +4 -4
- data/docs/{Templates.md → models/Templates.md} +4 -4
- data/docs/{Token.md → models/Token.md} +1 -1
- data/docs/{Type.md → models/Type.md} +0 -0
- data/docs/{User.md → models/User.md} +3 -3
- data/docs/{UserMetadata.md → models/UserMetadata.md} +3 -3
- data/docs/{UserPost.md → models/UserPost.md} +0 -0
- data/docs/models/UserProperties.md +32 -0
- data/docs/models/UserPropertiesPost.md +32 -0
- data/docs/models/UserPropertiesPut.md +32 -0
- data/docs/{UserPut.md → models/UserPut.md} +1 -1
- data/docs/models/Users.md +30 -0
- data/docs/{UsersEntities.md → models/UsersEntities.md} +0 -0
- data/docs/{Volume.md → models/Volume.md} +3 -3
- data/docs/{VolumeProperties.md → models/VolumeProperties.md} +19 -17
- data/docs/{Volumes.md → models/Volumes.md} +6 -6
- data/docs/summary.md +192 -382
- data/ionoscloud.gemspec +3 -3
- data/lib/ionoscloud/api/_api.rb +8 -8
- data/lib/ionoscloud/api/backup_units_api.rb +98 -98
- data/lib/ionoscloud/api/contract_resources_api.rb +12 -12
- data/lib/ionoscloud/api/data_centers_api.rb +85 -85
- data/lib/ionoscloud/api/firewall_rules_api.rb +121 -121
- data/lib/ionoscloud/api/flow_logs_api.rb +107 -107
- data/lib/ionoscloud/api/images_api.rb +69 -69
- data/lib/ionoscloud/api/ip_blocks_api.rb +99 -81
- data/lib/ionoscloud/api/kubernetes_api.rb +237 -237
- data/lib/ionoscloud/api/labels_api.rb +419 -455
- data/lib/ionoscloud/api/lans_api.rb +220 -220
- data/lib/ionoscloud/api/load_balancers_api.rb +162 -198
- data/lib/ionoscloud/api/locations_api.rb +38 -38
- data/lib/ionoscloud/api/nat_gateways_api.rb +287 -305
- data/lib/ionoscloud/api/network_interfaces_api.rb +109 -109
- data/lib/ionoscloud/api/network_load_balancers_api.rb +301 -319
- data/lib/ionoscloud/api/private_cross_connects_api.rb +67 -85
- data/lib/ionoscloud/api/requests_api.rb +70 -46
- data/lib/ionoscloud/api/servers_api.rb +381 -381
- data/lib/ionoscloud/api/snapshots_api.rb +67 -67
- data/lib/ionoscloud/api/templates_api.rb +16 -16
- data/lib/ionoscloud/api/user_management_api.rb +350 -330
- data/lib/ionoscloud/api/user_s3_keys_api.rb +85 -85
- data/lib/ionoscloud/api/volumes_api.rb +140 -140
- data/lib/ionoscloud/api_client.rb +20 -20
- data/lib/ionoscloud/api_error.rb +2 -2
- data/lib/ionoscloud/configuration.rb +4 -4
- data/lib/ionoscloud/models/attached_volumes.rb +75 -19
- data/lib/ionoscloud/models/backup_unit.rb +52 -10
- data/lib/ionoscloud/models/backup_unit_properties.rb +33 -7
- data/lib/ionoscloud/models/backup_unit_sso.rb +13 -3
- data/lib/ionoscloud/models/backup_units.rb +48 -16
- data/lib/ionoscloud/models/balanced_nics.rb +75 -19
- data/lib/ionoscloud/models/cdroms.rb +75 -19
- data/lib/ionoscloud/models/connectable_datacenter.rb +31 -5
- data/lib/ionoscloud/models/contract.rb +23 -5
- data/lib/ionoscloud/models/contract_properties.rb +53 -11
- data/lib/ionoscloud/models/contracts.rb +45 -13
- data/lib/ionoscloud/models/cpu_architecture_properties.rb +41 -7
- data/lib/ionoscloud/models/data_center_entities.rb +58 -8
- data/lib/ionoscloud/models/datacenter.rb +61 -11
- data/lib/ionoscloud/models/datacenter_element_metadata.rb +82 -16
- data/lib/ionoscloud/models/datacenter_properties.rb +77 -45
- data/lib/ionoscloud/models/datacenters.rb +75 -19
- data/lib/ionoscloud/models/error.rb +25 -9
- data/lib/ionoscloud/models/error_message.rb +24 -6
- data/lib/ionoscloud/models/firewall_rule.rb +52 -10
- data/lib/ionoscloud/models/firewall_rules.rb +75 -19
- data/lib/ionoscloud/models/firewallrule_properties.rb +140 -43
- data/lib/ionoscloud/models/flow_log.rb +52 -10
- data/lib/ionoscloud/models/flow_log_properties.rb +41 -7
- data/lib/ionoscloud/models/flow_log_put.rb +43 -9
- data/lib/ionoscloud/models/flow_logs.rb +75 -19
- data/lib/ionoscloud/models/group.rb +52 -10
- data/lib/ionoscloud/models/group_entities.rb +22 -4
- data/lib/ionoscloud/models/group_members.rb +46 -14
- data/lib/ionoscloud/models/group_properties.rb +144 -28
- data/lib/ionoscloud/models/group_share.rb +42 -8
- data/lib/ionoscloud/models/group_share_properties.rb +22 -4
- data/lib/ionoscloud/models/group_shares.rb +45 -13
- data/lib/ionoscloud/models/group_users.rb +47 -15
- data/lib/ionoscloud/models/groups.rb +46 -14
- data/lib/ionoscloud/models/image.rb +52 -10
- data/lib/ionoscloud/models/image_properties.rb +226 -40
- data/lib/ionoscloud/models/images.rb +46 -14
- data/lib/ionoscloud/models/info.rb +31 -5
- data/lib/ionoscloud/models/ip_block.rb +52 -10
- data/lib/ionoscloud/models/ip_block_properties.rb +58 -20
- data/lib/ionoscloud/models/ip_blocks.rb +101 -16
- data/lib/ionoscloud/models/ip_consumer.rb +104 -12
- data/lib/ionoscloud/models/ip_failover.rb +22 -4
- data/lib/ionoscloud/models/kubernetes_auto_scaling.rb +22 -4
- data/lib/ionoscloud/models/kubernetes_cluster.rb +60 -10
- data/lib/ionoscloud/models/kubernetes_cluster_entities.rb +13 -3
- data/lib/ionoscloud/models/kubernetes_cluster_for_post.rb +60 -10
- data/lib/ionoscloud/models/kubernetes_cluster_for_put.rb +60 -10
- data/lib/ionoscloud/models/kubernetes_cluster_properties.rb +86 -34
- data/lib/ionoscloud/models/kubernetes_cluster_properties_for_post.rb +64 -24
- data/lib/ionoscloud/models/kubernetes_cluster_properties_for_put.rb +72 -10
- data/lib/ionoscloud/models/kubernetes_clusters.rb +46 -14
- data/lib/ionoscloud/models/kubernetes_maintenance_window.rb +22 -4
- data/lib/ionoscloud/models/kubernetes_node.rb +51 -9
- data/lib/ionoscloud/models/kubernetes_node_metadata.rb +53 -11
- data/lib/ionoscloud/models/kubernetes_node_pool.rb +51 -9
- data/lib/ionoscloud/models/kubernetes_node_pool_for_post.rb +51 -9
- data/lib/ionoscloud/models/kubernetes_node_pool_for_put.rb +51 -9
- data/lib/ionoscloud/models/kubernetes_node_pool_lan.rb +39 -10
- data/lib/ionoscloud/models/kubernetes_node_pool_lan_routes.rb +22 -4
- data/lib/ionoscloud/models/kubernetes_node_pool_properties.rb +182 -54
- data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_post.rb +170 -48
- data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_put.rb +97 -36
- data/lib/ionoscloud/models/kubernetes_node_pools.rb +46 -14
- data/lib/ionoscloud/models/kubernetes_node_properties.rb +42 -8
- data/lib/ionoscloud/models/kubernetes_nodes.rb +46 -14
- data/lib/ionoscloud/models/label.rb +51 -9
- data/lib/ionoscloud/models/label_properties.rb +52 -10
- data/lib/ionoscloud/models/label_resource.rb +51 -9
- data/lib/ionoscloud/models/label_resource_properties.rb +24 -6
- data/lib/ionoscloud/models/label_resources.rb +77 -21
- data/lib/ionoscloud/models/labels.rb +48 -16
- data/lib/ionoscloud/models/lan.rb +61 -11
- data/lib/ionoscloud/models/lan_entities.rb +13 -3
- data/lib/ionoscloud/models/lan_nics.rb +75 -19
- data/lib/ionoscloud/models/lan_post.rb +61 -11
- data/lib/ionoscloud/models/lan_properties.rb +45 -13
- data/lib/ionoscloud/models/lan_properties_post.rb +45 -13
- data/lib/ionoscloud/models/lans.rb +75 -19
- data/lib/ionoscloud/models/loadbalancer.rb +61 -11
- data/lib/ionoscloud/models/loadbalancer_entities.rb +13 -3
- data/lib/ionoscloud/models/loadbalancer_properties.rb +46 -37
- data/lib/ionoscloud/models/loadbalancers.rb +75 -19
- data/lib/ionoscloud/models/location.rb +52 -10
- data/lib/ionoscloud/models/location_properties.rb +47 -41
- data/lib/ionoscloud/models/locations.rb +46 -14
- data/lib/ionoscloud/models/nat_gateway.rb +61 -11
- data/lib/ionoscloud/models/nat_gateway_entities.rb +22 -4
- data/lib/ionoscloud/models/nat_gateway_lan_properties.rb +26 -10
- data/lib/ionoscloud/models/nat_gateway_properties.rb +38 -16
- data/lib/ionoscloud/models/nat_gateway_put.rb +43 -9
- data/lib/ionoscloud/models/nat_gateway_rule.rb +52 -10
- data/lib/ionoscloud/models/nat_gateway_rule_properties.rb +73 -15
- data/lib/ionoscloud/models/nat_gateway_rule_protocol.rb +2 -2
- data/lib/ionoscloud/models/nat_gateway_rule_put.rb +43 -9
- data/lib/ionoscloud/models/nat_gateway_rule_type.rb +2 -2
- data/lib/ionoscloud/models/nat_gateway_rules.rb +46 -14
- data/lib/ionoscloud/models/nat_gateways.rb +75 -19
- data/lib/ionoscloud/models/network_load_balancer.rb +61 -11
- data/lib/ionoscloud/models/network_load_balancer_entities.rb +22 -4
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule.rb +52 -10
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_health_check.rb +39 -15
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_properties.rb +73 -17
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_put.rb +43 -9
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_target.rb +40 -6
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_target_health_check.rb +31 -5
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rules.rb +75 -19
- data/lib/ionoscloud/models/network_load_balancer_properties.rb +57 -19
- data/lib/ionoscloud/models/network_load_balancer_put.rb +43 -9
- data/lib/ionoscloud/models/network_load_balancers.rb +75 -19
- data/lib/ionoscloud/models/nic.rb +61 -11
- data/lib/ionoscloud/models/nic_entities.rb +22 -4
- data/lib/ionoscloud/models/nic_properties.rb +95 -23
- data/lib/ionoscloud/models/nic_put.rb +43 -9
- data/lib/ionoscloud/models/nics.rb +75 -19
- data/lib/ionoscloud/models/no_state_meta_data.rb +72 -14
- data/lib/ionoscloud/models/pagination_links.rb +34 -8
- data/lib/ionoscloud/models/peer.rb +49 -7
- data/lib/ionoscloud/models/private_cross_connect.rb +52 -10
- data/lib/ionoscloud/models/private_cross_connect_properties.rb +48 -18
- data/lib/ionoscloud/models/private_cross_connects.rb +46 -14
- data/lib/ionoscloud/models/remote_console_url.rb +13 -3
- data/lib/ionoscloud/models/request.rb +52 -10
- data/lib/ionoscloud/models/request_metadata.rb +42 -8
- data/lib/ionoscloud/models/request_properties.rb +42 -10
- data/lib/ionoscloud/models/request_status.rb +43 -9
- data/lib/ionoscloud/models/request_status_metadata.rb +43 -11
- data/lib/ionoscloud/models/request_target.rb +22 -4
- data/lib/ionoscloud/models/requests.rb +75 -19
- data/lib/ionoscloud/models/resource.rb +61 -11
- data/lib/ionoscloud/models/resource_entities.rb +13 -3
- data/lib/ionoscloud/models/resource_groups.rb +46 -14
- data/lib/ionoscloud/models/resource_limits.rb +224 -46
- data/lib/ionoscloud/models/resource_properties.rb +24 -6
- data/lib/ionoscloud/models/resource_reference.rb +34 -8
- data/lib/ionoscloud/models/resources.rb +47 -15
- data/lib/ionoscloud/models/resources_users.rb +46 -14
- data/lib/ionoscloud/models/s3_bucket.rb +232 -0
- data/lib/ionoscloud/models/s3_key.rb +52 -10
- data/lib/ionoscloud/models/s3_key_metadata.rb +24 -6
- data/lib/ionoscloud/models/s3_key_properties.rb +24 -6
- data/lib/ionoscloud/models/s3_keys.rb +46 -14
- data/lib/ionoscloud/models/s3_object_storage_sso.rb +13 -3
- data/lib/ionoscloud/models/server.rb +61 -11
- data/lib/ionoscloud/models/server_entities.rb +31 -5
- data/lib/ionoscloud/models/server_properties.rb +103 -21
- data/lib/ionoscloud/models/servers.rb +75 -19
- data/lib/ionoscloud/models/snapshot.rb +52 -10
- data/lib/ionoscloud/models/snapshot_properties.rb +162 -32
- data/lib/ionoscloud/models/snapshots.rb +46 -14
- data/lib/ionoscloud/models/target_port_range.rb +24 -6
- data/lib/ionoscloud/models/template.rb +52 -10
- data/lib/ionoscloud/models/template_properties.rb +44 -10
- data/lib/ionoscloud/models/templates.rb +46 -14
- data/lib/ionoscloud/models/token.rb +14 -4
- data/lib/ionoscloud/models/type.rb +4 -4
- data/lib/ionoscloud/models/user.rb +61 -11
- data/lib/ionoscloud/models/user_metadata.rb +34 -8
- data/lib/ionoscloud/models/user_post.rb +13 -3
- data/lib/ionoscloud/models/user_properties.rb +84 -18
- data/lib/ionoscloud/models/user_properties_post.rb +84 -18
- data/lib/ionoscloud/models/user_properties_put.rb +93 -17
- data/lib/ionoscloud/models/user_put.rb +23 -5
- data/lib/ionoscloud/models/users.rb +102 -17
- data/lib/ionoscloud/models/users_entities.rb +22 -4
- data/lib/ionoscloud/models/volume.rb +52 -10
- data/lib/ionoscloud/models/volume_properties.rb +216 -47
- data/lib/ionoscloud/models/volumes.rb +75 -19
- data/lib/ionoscloud/version.rb +3 -3
- data/lib/ionoscloud.rb +4 -3
- data/sonar-project.properties +12 -0
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +207 -587
- data/docs/BackupUnitsApi.md +0 -595
- data/docs/DataCentersApi.md +0 -517
- data/docs/DefaultApi.md +0 -78
- data/docs/GroupProperties.md +0 -40
- data/docs/IPBlocksApi.md +0 -513
- data/docs/ImageProperties.md +0 -50
- data/docs/ImagesApi.md +0 -429
- data/docs/IpBlockProperties.md +0 -26
- data/docs/IpBlocks.md +0 -24
- data/docs/KubernetesClusterProperties.md +0 -30
- data/docs/KubernetesClusterPropertiesForPost.md +0 -26
- data/docs/KubernetesClusterPropertiesForPut.md +0 -22
- data/docs/LabelsApi.md +0 -2351
- data/docs/LansApi.md +0 -795
- data/docs/LocationsApi.md +0 -259
- data/docs/NetworkInterfacesApi.md +0 -541
- data/docs/NicProperties.md +0 -34
- data/docs/PrivateCrossConnectsApi.md +0 -431
- data/docs/RequestsApi.md +0 -267
- data/docs/ResourceLimits.md +0 -60
- data/docs/ServersApi.md +0 -1917
- data/docs/SnapshotProperties.md +0 -48
- data/docs/SnapshotsApi.md +0 -429
- data/docs/UserManagementApi.md +0 -2037
- data/docs/UserProperties.md +0 -32
- data/docs/UserPropertiesPost.md +0 -32
- data/docs/UserPropertiesPut.md +0 -30
- data/docs/UserS3KeysApi.md +0 -517
- data/docs/Users.md +0 -24
- data/docs/VolumesApi.md +0 -711
- data/spec/api/_api_spec.rb +0 -49
- data/spec/api/backup_units_api_spec.rb +0 -140
- data/spec/api/contract_resources_api_spec.rb +0 -49
- data/spec/api/data_centers_api_spec.rb +0 -128
- data/spec/api/firewall_rules_api_spec.rb +0 -146
- data/spec/api/flow_logs_api_spec.rb +0 -140
- data/spec/api/images_api_spec.rb +0 -111
- data/spec/api/ip_blocks_api_spec.rb +0 -126
- data/spec/api/kubernetes_api_spec.rb +0 -294
- data/spec/api/labels_api_spec.rb +0 -478
- data/spec/api/lans_api_spec.rb +0 -186
- data/spec/api/load_balancers_api_spec.rb +0 -205
- data/spec/api/locations_api_spec.rb +0 -80
- data/spec/api/nat_gateways_api_spec.rb +0 -336
- data/spec/api/network_interfaces_api_spec.rb +0 -140
- data/spec/api/network_load_balancers_api_spec.rb +0 -342
- data/spec/api/private_cross_connects_api_spec.rb +0 -112
- data/spec/api/requests_api_spec.rb +0 -84
- data/spec/api/servers_api_spec.rb +0 -401
- data/spec/api/snapshots_api_spec.rb +0 -111
- data/spec/api/templates_api_spec.rb +0 -60
- data/spec/api/user_management_api_spec.rb +0 -402
- data/spec/api/user_s3_keys_api_spec.rb +0 -128
- data/spec/api/volumes_api_spec.rb +0 -171
- data/spec/models/attached_volumes_spec.rb +0 -70
- data/spec/models/backup_unit_properties_spec.rb +0 -46
- data/spec/models/backup_unit_spec.rb +0 -62
- data/spec/models/backup_unit_sso_spec.rb +0 -34
- data/spec/models/backup_units_spec.rb +0 -56
- data/spec/models/balanced_nics_spec.rb +0 -70
- data/spec/models/cdroms_spec.rb +0 -70
- data/spec/models/connectable_datacenter_spec.rb +0 -46
- data/spec/models/contract_properties_spec.rb +0 -58
- data/spec/models/contract_spec.rb +0 -40
- data/spec/models/contracts_spec.rb +0 -52
- data/spec/models/cpu_architecture_properties_spec.rb +0 -52
- data/spec/models/data_center_entities_spec.rb +0 -64
- data/spec/models/datacenter_element_metadata_spec.rb +0 -80
- data/spec/models/datacenter_properties_spec.rb +0 -74
- data/spec/models/datacenter_spec.rb +0 -64
- data/spec/models/datacenters_spec.rb +0 -70
- data/spec/models/error_message_spec.rb +0 -40
- data/spec/models/error_spec.rb +0 -40
- data/spec/models/firewall_rule_spec.rb +0 -58
- data/spec/models/firewall_rules_spec.rb +0 -70
- data/spec/models/firewallrule_properties_spec.rb +0 -108
- data/spec/models/flow_log_properties_spec.rb +0 -60
- data/spec/models/flow_log_put_spec.rb +0 -52
- data/spec/models/flow_log_spec.rb +0 -58
- data/spec/models/flow_logs_spec.rb +0 -70
- data/spec/models/group_entities_spec.rb +0 -40
- data/spec/models/group_members_spec.rb +0 -52
- data/spec/models/group_properties_spec.rb +0 -100
- data/spec/models/group_share_properties_spec.rb +0 -40
- data/spec/models/group_share_spec.rb +0 -52
- data/spec/models/group_shares_spec.rb +0 -52
- data/spec/models/group_spec.rb +0 -58
- data/spec/models/group_users_spec.rb +0 -52
- data/spec/models/groups_spec.rb +0 -52
- data/spec/models/image_properties_spec.rb +0 -138
- data/spec/models/image_spec.rb +0 -58
- data/spec/models/images_spec.rb +0 -52
- data/spec/models/info_spec.rb +0 -46
- data/spec/models/ip_block_properties_spec.rb +0 -58
- data/spec/models/ip_block_spec.rb +0 -58
- data/spec/models/ip_blocks_spec.rb +0 -52
- data/spec/models/ip_consumer_spec.rb +0 -70
- data/spec/models/ip_failover_spec.rb +0 -40
- data/spec/models/kubernetes_auto_scaling_spec.rb +0 -40
- data/spec/models/kubernetes_cluster_entities_spec.rb +0 -34
- data/spec/models/kubernetes_cluster_for_post_spec.rb +0 -68
- data/spec/models/kubernetes_cluster_for_put_spec.rb +0 -68
- data/spec/models/kubernetes_cluster_properties_for_post_spec.rb +0 -58
- data/spec/models/kubernetes_cluster_properties_for_put_spec.rb +0 -46
- data/spec/models/kubernetes_cluster_properties_spec.rb +0 -70
- data/spec/models/kubernetes_cluster_spec.rb +0 -68
- data/spec/models/kubernetes_clusters_spec.rb +0 -56
- data/spec/models/kubernetes_maintenance_window_spec.rb +0 -44
- data/spec/models/kubernetes_node_metadata_spec.rb +0 -62
- data/spec/models/kubernetes_node_pool_for_post_spec.rb +0 -62
- data/spec/models/kubernetes_node_pool_for_put_spec.rb +0 -62
- data/spec/models/kubernetes_node_pool_lan_routes_spec.rb +0 -40
- data/spec/models/kubernetes_node_pool_lan_spec.rb +0 -46
- data/spec/models/kubernetes_node_pool_properties_for_post_spec.rb +0 -132
- data/spec/models/kubernetes_node_pool_properties_for_put_spec.rb +0 -82
- data/spec/models/kubernetes_node_pool_properties_spec.rb +0 -138
- data/spec/models/kubernetes_node_pool_spec.rb +0 -62
- data/spec/models/kubernetes_node_pools_spec.rb +0 -56
- data/spec/models/kubernetes_node_properties_spec.rb +0 -52
- data/spec/models/kubernetes_node_spec.rb +0 -62
- data/spec/models/kubernetes_nodes_spec.rb +0 -56
- data/spec/models/label_properties_spec.rb +0 -58
- data/spec/models/label_resource_properties_spec.rb +0 -40
- data/spec/models/label_resource_spec.rb +0 -62
- data/spec/models/label_resources_spec.rb +0 -74
- data/spec/models/label_spec.rb +0 -62
- data/spec/models/labels_spec.rb +0 -56
- data/spec/models/lan_entities_spec.rb +0 -34
- data/spec/models/lan_nics_spec.rb +0 -70
- data/spec/models/lan_post_spec.rb +0 -64
- data/spec/models/lan_properties_post_spec.rb +0 -52
- data/spec/models/lan_properties_spec.rb +0 -52
- data/spec/models/lan_spec.rb +0 -64
- data/spec/models/lans_spec.rb +0 -70
- data/spec/models/loadbalancer_entities_spec.rb +0 -34
- data/spec/models/loadbalancer_properties_spec.rb +0 -50
- data/spec/models/loadbalancer_spec.rb +0 -64
- data/spec/models/loadbalancers_spec.rb +0 -70
- data/spec/models/location_properties_spec.rb +0 -56
- data/spec/models/location_spec.rb +0 -58
- data/spec/models/locations_spec.rb +0 -52
- data/spec/models/nat_gateway_entities_spec.rb +0 -40
- data/spec/models/nat_gateway_lan_properties_spec.rb +0 -40
- data/spec/models/nat_gateway_properties_spec.rb +0 -46
- data/spec/models/nat_gateway_put_spec.rb +0 -52
- data/spec/models/nat_gateway_rule_properties_spec.rb +0 -70
- data/spec/models/nat_gateway_rule_protocol_spec.rb +0 -28
- data/spec/models/nat_gateway_rule_put_spec.rb +0 -52
- data/spec/models/nat_gateway_rule_spec.rb +0 -58
- data/spec/models/nat_gateway_rule_type_spec.rb +0 -28
- data/spec/models/nat_gateway_rules_spec.rb +0 -52
- data/spec/models/nat_gateway_spec.rb +0 -64
- data/spec/models/nat_gateways_spec.rb +0 -70
- data/spec/models/network_load_balancer_entities_spec.rb +0 -40
- data/spec/models/network_load_balancer_forwarding_rule_health_check_spec.rb +0 -58
- data/spec/models/network_load_balancer_forwarding_rule_properties_spec.rb +0 -78
- data/spec/models/network_load_balancer_forwarding_rule_put_spec.rb +0 -52
- data/spec/models/network_load_balancer_forwarding_rule_spec.rb +0 -58
- data/spec/models/network_load_balancer_forwarding_rule_target_health_check_spec.rb +0 -46
- data/spec/models/network_load_balancer_forwarding_rule_target_spec.rb +0 -52
- data/spec/models/network_load_balancer_forwarding_rules_spec.rb +0 -70
- data/spec/models/network_load_balancer_properties_spec.rb +0 -58
- data/spec/models/network_load_balancer_put_spec.rb +0 -52
- data/spec/models/network_load_balancer_spec.rb +0 -64
- data/spec/models/network_load_balancers_spec.rb +0 -70
- data/spec/models/nic_entities_spec.rb +0 -40
- data/spec/models/nic_properties_spec.rb +0 -86
- data/spec/models/nic_put_spec.rb +0 -52
- data/spec/models/nic_spec.rb +0 -64
- data/spec/models/nics_spec.rb +0 -70
- data/spec/models/no_state_meta_data_spec.rb +0 -70
- data/spec/models/pagination_links_spec.rb +0 -46
- data/spec/models/peer_spec.rb +0 -58
- data/spec/models/private_cross_connect_properties_spec.rb +0 -52
- data/spec/models/private_cross_connect_spec.rb +0 -58
- data/spec/models/private_cross_connects_spec.rb +0 -52
- data/spec/models/remote_console_url_spec.rb +0 -34
- data/spec/models/request_metadata_spec.rb +0 -52
- data/spec/models/request_properties_spec.rb +0 -52
- data/spec/models/request_spec.rb +0 -58
- data/spec/models/request_status_metadata_spec.rb +0 -56
- data/spec/models/request_status_spec.rb +0 -52
- data/spec/models/request_target_spec.rb +0 -44
- data/spec/models/requests_spec.rb +0 -70
- data/spec/models/resource_entities_spec.rb +0 -34
- data/spec/models/resource_groups_spec.rb +0 -52
- data/spec/models/resource_limits_spec.rb +0 -160
- data/spec/models/resource_properties_spec.rb +0 -40
- data/spec/models/resource_reference_spec.rb +0 -46
- data/spec/models/resource_spec.rb +0 -64
- data/spec/models/resources_spec.rb +0 -52
- data/spec/models/resources_users_spec.rb +0 -52
- data/spec/models/s3_key_metadata_spec.rb +0 -40
- data/spec/models/s3_key_properties_spec.rb +0 -40
- data/spec/models/s3_key_spec.rb +0 -58
- data/spec/models/s3_keys_spec.rb +0 -52
- data/spec/models/s3_object_storage_sso_spec.rb +0 -34
- data/spec/models/server_entities_spec.rb +0 -46
- data/spec/models/server_properties_spec.rb +0 -96
- data/spec/models/server_spec.rb +0 -64
- data/spec/models/servers_spec.rb +0 -70
- data/spec/models/snapshot_properties_spec.rb +0 -128
- data/spec/models/snapshot_spec.rb +0 -58
- data/spec/models/snapshots_spec.rb +0 -52
- data/spec/models/target_port_range_spec.rb +0 -40
- data/spec/models/template_properties_spec.rb +0 -52
- data/spec/models/template_spec.rb +0 -58
- data/spec/models/templates_spec.rb +0 -52
- data/spec/models/token_spec.rb +0 -34
- data/spec/models/type_spec.rb +0 -28
- data/spec/models/user_metadata_spec.rb +0 -46
- data/spec/models/user_post_spec.rb +0 -34
- data/spec/models/user_properties_post_spec.rb +0 -76
- data/spec/models/user_properties_put_spec.rb +0 -70
- data/spec/models/user_properties_spec.rb +0 -76
- data/spec/models/user_put_spec.rb +0 -40
- data/spec/models/user_spec.rb +0 -64
- data/spec/models/users_entities_spec.rb +0 -40
- data/spec/models/users_spec.rb +0 -52
- data/spec/models/volume_properties_spec.rb +0 -158
- data/spec/models/volume_spec.rb +0 -58
- data/spec/models/volumes_spec.rb +0 -70
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#CLOUD API
|
3
3
|
|
4
|
-
#
|
4
|
+
#IONOS Enterprise-grade Infrastructure as a Service (IaaS) solutions can be managed through the Cloud API, in addition or as an alternative to the \"Data Center Designer\" (DCD) browser-based tool. Both methods employ consistent concepts and features, deliver similar power and flexibility, and can be used to perform a multitude of management tasks, including adding servers, volumes, configuring networks, and so on.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 6.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.2.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -19,29 +19,29 @@ module Ionoscloud
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
# Delete
|
23
|
-
#
|
24
|
-
# @param datacenter_id [String] The unique ID of the
|
25
|
-
# @param key [String] The key
|
22
|
+
# Delete data center labels
|
23
|
+
# Delete the specified data center label.
|
24
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
25
|
+
# @param key [String] The label key
|
26
26
|
# @param [Hash] opts the optional parameters
|
27
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
28
|
-
# @option opts [Integer] :depth Controls the
|
29
|
-
# @option opts [Integer] :x_contract_number Users
|
30
|
-
# @return [
|
27
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
28
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on (default to 0)
|
29
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
30
|
+
# @return [nil]
|
31
31
|
def datacenters_labels_delete(datacenter_id, key, opts = {})
|
32
|
-
|
33
|
-
|
32
|
+
datacenters_labels_delete_with_http_info(datacenter_id, key, opts)
|
33
|
+
nil
|
34
34
|
end
|
35
35
|
|
36
|
-
# Delete
|
37
|
-
#
|
38
|
-
# @param datacenter_id [String] The unique ID of the
|
39
|
-
# @param key [String] The key
|
36
|
+
# Delete data center labels
|
37
|
+
# Delete the specified data center label.
|
38
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
39
|
+
# @param key [String] The label key
|
40
40
|
# @param [Hash] opts the optional parameters
|
41
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
42
|
-
# @option opts [Integer] :depth Controls the
|
43
|
-
# @option opts [Integer] :x_contract_number Users
|
44
|
-
# @return [Array<(
|
41
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
42
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
43
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
44
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
45
45
|
def datacenters_labels_delete_with_http_info(datacenter_id, key, opts = {})
|
46
46
|
if @api_client.config.debugging
|
47
47
|
@api_client.config.logger.debug 'Calling API: LabelsApi.datacenters_labels_delete ...'
|
@@ -83,7 +83,7 @@ module Ionoscloud
|
|
83
83
|
post_body = opts[:debug_body]
|
84
84
|
|
85
85
|
# return_type
|
86
|
-
return_type = opts[:debug_return_type]
|
86
|
+
return_type = opts[:debug_return_type]
|
87
87
|
|
88
88
|
# auth_names
|
89
89
|
auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
|
@@ -105,32 +105,28 @@ module Ionoscloud
|
|
105
105
|
return data, status_code, headers
|
106
106
|
end
|
107
107
|
|
108
|
-
# Retrieve
|
109
|
-
#
|
110
|
-
# @param datacenter_id [String] The unique ID of the
|
111
|
-
# @param key [String] The key
|
108
|
+
# Retrieve data center labels
|
109
|
+
# Retrieve the properties of the specified data center label.
|
110
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
111
|
+
# @param key [String] The label key
|
112
112
|
# @param [Hash] opts the optional parameters
|
113
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
114
|
-
# @option opts [Integer] :depth Controls the
|
115
|
-
# @option opts [Integer] :x_contract_number Users
|
116
|
-
# @option opts [Integer] :offset the first element (of the total list of elements) to include in the response (use together with limit for pagination) (default to 0)
|
117
|
-
# @option opts [Integer] :limit the maximum number of elements to return (use together with offset for pagination) (default to 1000)
|
113
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
114
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on (default to 0)
|
115
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
118
116
|
# @return [LabelResource]
|
119
117
|
def datacenters_labels_find_by_key(datacenter_id, key, opts = {})
|
120
118
|
data, _status_code, _headers = datacenters_labels_find_by_key_with_http_info(datacenter_id, key, opts)
|
121
119
|
data
|
122
120
|
end
|
123
121
|
|
124
|
-
# Retrieve
|
125
|
-
#
|
126
|
-
# @param datacenter_id [String] The unique ID of the
|
127
|
-
# @param key [String] The key
|
122
|
+
# Retrieve data center labels
|
123
|
+
# Retrieve the properties of the specified data center label.
|
124
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
125
|
+
# @param key [String] The label key
|
128
126
|
# @param [Hash] opts the optional parameters
|
129
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
130
|
-
# @option opts [Integer] :depth Controls the
|
131
|
-
# @option opts [Integer] :x_contract_number Users
|
132
|
-
# @option opts [Integer] :offset the first element (of the total list of elements) to include in the response (use together with limit for pagination)
|
133
|
-
# @option opts [Integer] :limit the maximum number of elements to return (use together with offset for pagination)
|
127
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
128
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
129
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
134
130
|
# @return [Array<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
|
135
131
|
def datacenters_labels_find_by_key_with_http_info(datacenter_id, key, opts = {})
|
136
132
|
if @api_client.config.debugging
|
@@ -152,18 +148,6 @@ module Ionoscloud
|
|
152
148
|
fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.datacenters_labels_find_by_key, must be greater than or equal to 0.'
|
153
149
|
end
|
154
150
|
|
155
|
-
if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] < 0
|
156
|
-
fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling LabelsApi.datacenters_labels_find_by_key, must be greater than or equal to 0.'
|
157
|
-
end
|
158
|
-
|
159
|
-
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 10000
|
160
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LabelsApi.datacenters_labels_find_by_key, must be smaller than or equal to 10000.'
|
161
|
-
end
|
162
|
-
|
163
|
-
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
164
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LabelsApi.datacenters_labels_find_by_key, must be greater than or equal to 1.'
|
165
|
-
end
|
166
|
-
|
167
151
|
# resource path
|
168
152
|
local_var_path = '/datacenters/{datacenterId}/labels/{key}'.sub('{' + 'datacenterId' + '}', CGI.escape(datacenter_id.to_s)).sub('{' + 'key' + '}', CGI.escape(key.to_s))
|
169
153
|
|
@@ -171,8 +155,6 @@ module Ionoscloud
|
|
171
155
|
query_params = opts[:query_params] || {}
|
172
156
|
query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
|
173
157
|
query_params[:'depth'] = opts[:'depth'] if !opts[:'depth'].nil?
|
174
|
-
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
175
|
-
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
176
158
|
|
177
159
|
# header parameters
|
178
160
|
header_params = opts[:header_params] || {}
|
@@ -209,26 +191,26 @@ module Ionoscloud
|
|
209
191
|
return data, status_code, headers
|
210
192
|
end
|
211
193
|
|
212
|
-
# List
|
213
|
-
#
|
214
|
-
# @param datacenter_id [String] The unique ID of the
|
194
|
+
# List data center labels
|
195
|
+
# List all the the labels for the specified data center.
|
196
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
215
197
|
# @param [Hash] opts the optional parameters
|
216
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
217
|
-
# @option opts [Integer] :depth Controls the
|
218
|
-
# @option opts [Integer] :x_contract_number Users
|
198
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
199
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on (default to 0)
|
200
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
219
201
|
# @return [LabelResources]
|
220
202
|
def datacenters_labels_get(datacenter_id, opts = {})
|
221
203
|
data, _status_code, _headers = datacenters_labels_get_with_http_info(datacenter_id, opts)
|
222
204
|
data
|
223
205
|
end
|
224
206
|
|
225
|
-
# List
|
226
|
-
#
|
227
|
-
# @param datacenter_id [String] The unique ID of the
|
207
|
+
# List data center labels
|
208
|
+
# List all the the labels for the specified data center.
|
209
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
228
210
|
# @param [Hash] opts the optional parameters
|
229
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
230
|
-
# @option opts [Integer] :depth Controls the
|
231
|
-
# @option opts [Integer] :x_contract_number Users
|
211
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
212
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
213
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
232
214
|
# @return [Array<(LabelResources, Integer, Hash)>] LabelResources data, response status code and response headers
|
233
215
|
def datacenters_labels_get_with_http_info(datacenter_id, opts = {})
|
234
216
|
if @api_client.config.debugging
|
@@ -289,28 +271,28 @@ module Ionoscloud
|
|
289
271
|
return data, status_code, headers
|
290
272
|
end
|
291
273
|
|
292
|
-
#
|
293
|
-
#
|
294
|
-
# @param datacenter_id [String] The unique ID of the
|
295
|
-
# @param label [LabelResource]
|
274
|
+
# Create data center labels
|
275
|
+
# Add a new label to the specified data center.
|
276
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
277
|
+
# @param label [LabelResource] The label to create.
|
296
278
|
# @param [Hash] opts the optional parameters
|
297
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
298
|
-
# @option opts [Integer] :depth Controls the
|
299
|
-
# @option opts [Integer] :x_contract_number Users
|
279
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
280
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on (default to 0)
|
281
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
300
282
|
# @return [LabelResource]
|
301
283
|
def datacenters_labels_post(datacenter_id, label, opts = {})
|
302
284
|
data, _status_code, _headers = datacenters_labels_post_with_http_info(datacenter_id, label, opts)
|
303
285
|
data
|
304
286
|
end
|
305
287
|
|
306
|
-
#
|
307
|
-
#
|
308
|
-
# @param datacenter_id [String] The unique ID of the
|
309
|
-
# @param label [LabelResource]
|
288
|
+
# Create data center labels
|
289
|
+
# Add a new label to the specified data center.
|
290
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
291
|
+
# @param label [LabelResource] The label to create.
|
310
292
|
# @param [Hash] opts the optional parameters
|
311
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
312
|
-
# @option opts [Integer] :depth Controls the
|
313
|
-
# @option opts [Integer] :x_contract_number Users
|
293
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
294
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
295
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
314
296
|
# @return [Array<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
|
315
297
|
def datacenters_labels_post_with_http_info(datacenter_id, label, opts = {})
|
316
298
|
if @api_client.config.debugging
|
@@ -377,30 +359,30 @@ module Ionoscloud
|
|
377
359
|
return data, status_code, headers
|
378
360
|
end
|
379
361
|
|
380
|
-
# Modify
|
381
|
-
#
|
382
|
-
# @param datacenter_id [String] The unique ID of the
|
383
|
-
# @param key [String] The key
|
384
|
-
# @param label [LabelResource]
|
362
|
+
# Modify data center labels
|
363
|
+
# Modify the specified data center label.
|
364
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
365
|
+
# @param key [String] The label key
|
366
|
+
# @param label [LabelResource] The modified label
|
385
367
|
# @param [Hash] opts the optional parameters
|
386
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
387
|
-
# @option opts [Integer] :depth Controls the
|
388
|
-
# @option opts [Integer] :x_contract_number Users
|
368
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
369
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on (default to 0)
|
370
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
389
371
|
# @return [LabelResource]
|
390
372
|
def datacenters_labels_put(datacenter_id, key, label, opts = {})
|
391
373
|
data, _status_code, _headers = datacenters_labels_put_with_http_info(datacenter_id, key, label, opts)
|
392
374
|
data
|
393
375
|
end
|
394
376
|
|
395
|
-
# Modify
|
396
|
-
#
|
397
|
-
# @param datacenter_id [String] The unique ID of the
|
398
|
-
# @param key [String] The key
|
399
|
-
# @param label [LabelResource]
|
377
|
+
# Modify data center labels
|
378
|
+
# Modify the specified data center label.
|
379
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
380
|
+
# @param key [String] The label key
|
381
|
+
# @param label [LabelResource] The modified label
|
400
382
|
# @param [Hash] opts the optional parameters
|
401
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
402
|
-
# @option opts [Integer] :depth Controls the
|
403
|
-
# @option opts [Integer] :x_contract_number Users
|
383
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
384
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
385
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
404
386
|
# @return [Array<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
|
405
387
|
def datacenters_labels_put_with_http_info(datacenter_id, key, label, opts = {})
|
406
388
|
if @api_client.config.debugging
|
@@ -471,31 +453,31 @@ module Ionoscloud
|
|
471
453
|
return data, status_code, headers
|
472
454
|
end
|
473
455
|
|
474
|
-
# Delete
|
475
|
-
#
|
476
|
-
# @param datacenter_id [String] The unique ID of the
|
477
|
-
# @param server_id [String] The unique ID of the
|
478
|
-
# @param key [String] The key
|
456
|
+
# Delete server labels
|
457
|
+
# Delete the specified server label.
|
458
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
459
|
+
# @param server_id [String] The unique ID of the server.
|
460
|
+
# @param key [String] The label key
|
479
461
|
# @param [Hash] opts the optional parameters
|
480
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
481
|
-
# @option opts [Integer] :depth Controls the
|
482
|
-
# @option opts [Integer] :x_contract_number Users
|
483
|
-
# @return [
|
462
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
463
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on (default to 0)
|
464
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
465
|
+
# @return [nil]
|
484
466
|
def datacenters_servers_labels_delete(datacenter_id, server_id, key, opts = {})
|
485
|
-
|
486
|
-
|
467
|
+
datacenters_servers_labels_delete_with_http_info(datacenter_id, server_id, key, opts)
|
468
|
+
nil
|
487
469
|
end
|
488
470
|
|
489
|
-
# Delete
|
490
|
-
#
|
491
|
-
# @param datacenter_id [String] The unique ID of the
|
492
|
-
# @param server_id [String] The unique ID of the
|
493
|
-
# @param key [String] The key
|
471
|
+
# Delete server labels
|
472
|
+
# Delete the specified server label.
|
473
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
474
|
+
# @param server_id [String] The unique ID of the server.
|
475
|
+
# @param key [String] The label key
|
494
476
|
# @param [Hash] opts the optional parameters
|
495
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
496
|
-
# @option opts [Integer] :depth Controls the
|
497
|
-
# @option opts [Integer] :x_contract_number Users
|
498
|
-
# @return [Array<(
|
477
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
478
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
479
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
480
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
499
481
|
def datacenters_servers_labels_delete_with_http_info(datacenter_id, server_id, key, opts = {})
|
500
482
|
if @api_client.config.debugging
|
501
483
|
@api_client.config.logger.debug 'Calling API: LabelsApi.datacenters_servers_labels_delete ...'
|
@@ -541,7 +523,7 @@ module Ionoscloud
|
|
541
523
|
post_body = opts[:debug_body]
|
542
524
|
|
543
525
|
# return_type
|
544
|
-
return_type = opts[:debug_return_type]
|
526
|
+
return_type = opts[:debug_return_type]
|
545
527
|
|
546
528
|
# auth_names
|
547
529
|
auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
|
@@ -563,30 +545,30 @@ module Ionoscloud
|
|
563
545
|
return data, status_code, headers
|
564
546
|
end
|
565
547
|
|
566
|
-
# Retrieve
|
567
|
-
#
|
568
|
-
# @param datacenter_id [String] The unique ID of the
|
569
|
-
# @param server_id [String] The unique ID of the
|
570
|
-
# @param key [String] The key
|
548
|
+
# Retrieve server labels
|
549
|
+
# Retrieve the properties of the specified server label.
|
550
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
551
|
+
# @param server_id [String] The unique ID of the server.
|
552
|
+
# @param key [String] The label key
|
571
553
|
# @param [Hash] opts the optional parameters
|
572
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
573
|
-
# @option opts [Integer] :depth Controls the
|
574
|
-
# @option opts [Integer] :x_contract_number Users
|
554
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
555
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on (default to 0)
|
556
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
575
557
|
# @return [LabelResource]
|
576
558
|
def datacenters_servers_labels_find_by_key(datacenter_id, server_id, key, opts = {})
|
577
559
|
data, _status_code, _headers = datacenters_servers_labels_find_by_key_with_http_info(datacenter_id, server_id, key, opts)
|
578
560
|
data
|
579
561
|
end
|
580
562
|
|
581
|
-
# Retrieve
|
582
|
-
#
|
583
|
-
# @param datacenter_id [String] The unique ID of the
|
584
|
-
# @param server_id [String] The unique ID of the
|
585
|
-
# @param key [String] The key
|
563
|
+
# Retrieve server labels
|
564
|
+
# Retrieve the properties of the specified server label.
|
565
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
566
|
+
# @param server_id [String] The unique ID of the server.
|
567
|
+
# @param key [String] The label key
|
586
568
|
# @param [Hash] opts the optional parameters
|
587
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
588
|
-
# @option opts [Integer] :depth Controls the
|
589
|
-
# @option opts [Integer] :x_contract_number Users
|
569
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
570
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
571
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
590
572
|
# @return [Array<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
|
591
573
|
def datacenters_servers_labels_find_by_key_with_http_info(datacenter_id, server_id, key, opts = {})
|
592
574
|
if @api_client.config.debugging
|
@@ -655,28 +637,28 @@ module Ionoscloud
|
|
655
637
|
return data, status_code, headers
|
656
638
|
end
|
657
639
|
|
658
|
-
# List
|
659
|
-
#
|
660
|
-
# @param datacenter_id [String] The unique ID of the
|
661
|
-
# @param server_id [String] The unique ID of the
|
640
|
+
# List server labels
|
641
|
+
# List all the the labels for the specified server.
|
642
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
643
|
+
# @param server_id [String] The unique ID of the server.
|
662
644
|
# @param [Hash] opts the optional parameters
|
663
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
664
|
-
# @option opts [Integer] :depth Controls the
|
665
|
-
# @option opts [Integer] :x_contract_number Users
|
645
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
646
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on (default to 0)
|
647
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
666
648
|
# @return [LabelResources]
|
667
649
|
def datacenters_servers_labels_get(datacenter_id, server_id, opts = {})
|
668
650
|
data, _status_code, _headers = datacenters_servers_labels_get_with_http_info(datacenter_id, server_id, opts)
|
669
651
|
data
|
670
652
|
end
|
671
653
|
|
672
|
-
# List
|
673
|
-
#
|
674
|
-
# @param datacenter_id [String] The unique ID of the
|
675
|
-
# @param server_id [String] The unique ID of the
|
654
|
+
# List server labels
|
655
|
+
# List all the the labels for the specified server.
|
656
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
657
|
+
# @param server_id [String] The unique ID of the server.
|
676
658
|
# @param [Hash] opts the optional parameters
|
677
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
678
|
-
# @option opts [Integer] :depth Controls the
|
679
|
-
# @option opts [Integer] :x_contract_number Users
|
659
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
660
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
661
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
680
662
|
# @return [Array<(LabelResources, Integer, Hash)>] LabelResources data, response status code and response headers
|
681
663
|
def datacenters_servers_labels_get_with_http_info(datacenter_id, server_id, opts = {})
|
682
664
|
if @api_client.config.debugging
|
@@ -741,30 +723,30 @@ module Ionoscloud
|
|
741
723
|
return data, status_code, headers
|
742
724
|
end
|
743
725
|
|
744
|
-
#
|
745
|
-
#
|
746
|
-
# @param datacenter_id [String] The unique ID of the
|
747
|
-
# @param server_id [String] The unique ID of the
|
748
|
-
# @param label [LabelResource]
|
726
|
+
# Create server labels
|
727
|
+
# Add a new label to the specified server.
|
728
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
729
|
+
# @param server_id [String] The unique ID of the server.
|
730
|
+
# @param label [LabelResource] The label to create.
|
749
731
|
# @param [Hash] opts the optional parameters
|
750
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
751
|
-
# @option opts [Integer] :depth Controls the
|
752
|
-
# @option opts [Integer] :x_contract_number Users
|
732
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
733
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on (default to 0)
|
734
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
753
735
|
# @return [LabelResource]
|
754
736
|
def datacenters_servers_labels_post(datacenter_id, server_id, label, opts = {})
|
755
737
|
data, _status_code, _headers = datacenters_servers_labels_post_with_http_info(datacenter_id, server_id, label, opts)
|
756
738
|
data
|
757
739
|
end
|
758
740
|
|
759
|
-
#
|
760
|
-
#
|
761
|
-
# @param datacenter_id [String] The unique ID of the
|
762
|
-
# @param server_id [String] The unique ID of the
|
763
|
-
# @param label [LabelResource]
|
741
|
+
# Create server labels
|
742
|
+
# Add a new label to the specified server.
|
743
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
744
|
+
# @param server_id [String] The unique ID of the server.
|
745
|
+
# @param label [LabelResource] The label to create.
|
764
746
|
# @param [Hash] opts the optional parameters
|
765
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
766
|
-
# @option opts [Integer] :depth Controls the
|
767
|
-
# @option opts [Integer] :x_contract_number Users
|
747
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
748
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
749
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
768
750
|
# @return [Array<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
|
769
751
|
def datacenters_servers_labels_post_with_http_info(datacenter_id, server_id, label, opts = {})
|
770
752
|
if @api_client.config.debugging
|
@@ -835,36 +817,32 @@ module Ionoscloud
|
|
835
817
|
return data, status_code, headers
|
836
818
|
end
|
837
819
|
|
838
|
-
# Modify
|
839
|
-
#
|
840
|
-
# @param datacenter_id [String] The unique ID of the
|
841
|
-
# @param server_id [String] The unique ID of the
|
842
|
-
# @param key [String] The key
|
843
|
-
# @param label [LabelResource]
|
820
|
+
# Modify server labels
|
821
|
+
# Modify the specified server label.
|
822
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
823
|
+
# @param server_id [String] The unique ID of the server.
|
824
|
+
# @param key [String] The label key
|
825
|
+
# @param label [LabelResource] The modified label
|
844
826
|
# @param [Hash] opts the optional parameters
|
845
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
846
|
-
# @option opts [Integer] :depth Controls the
|
847
|
-
# @option opts [Integer] :x_contract_number Users
|
848
|
-
# @option opts [Integer] :offset the first element (of the total list of elements) to include in the response (use together with limit for pagination) (default to 0)
|
849
|
-
# @option opts [Integer] :limit the maximum number of elements to return (use together with offset for pagination) (default to 1000)
|
827
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
828
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on (default to 0)
|
829
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
850
830
|
# @return [LabelResource]
|
851
831
|
def datacenters_servers_labels_put(datacenter_id, server_id, key, label, opts = {})
|
852
832
|
data, _status_code, _headers = datacenters_servers_labels_put_with_http_info(datacenter_id, server_id, key, label, opts)
|
853
833
|
data
|
854
834
|
end
|
855
835
|
|
856
|
-
# Modify
|
857
|
-
#
|
858
|
-
# @param datacenter_id [String] The unique ID of the
|
859
|
-
# @param server_id [String] The unique ID of the
|
860
|
-
# @param key [String] The key
|
861
|
-
# @param label [LabelResource]
|
836
|
+
# Modify server labels
|
837
|
+
# Modify the specified server label.
|
838
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
839
|
+
# @param server_id [String] The unique ID of the server.
|
840
|
+
# @param key [String] The label key
|
841
|
+
# @param label [LabelResource] The modified label
|
862
842
|
# @param [Hash] opts the optional parameters
|
863
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
864
|
-
# @option opts [Integer] :depth Controls the
|
865
|
-
# @option opts [Integer] :x_contract_number Users
|
866
|
-
# @option opts [Integer] :offset the first element (of the total list of elements) to include in the response (use together with limit for pagination)
|
867
|
-
# @option opts [Integer] :limit the maximum number of elements to return (use together with offset for pagination)
|
843
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
844
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
845
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
868
846
|
# @return [Array<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
|
869
847
|
def datacenters_servers_labels_put_with_http_info(datacenter_id, server_id, key, label, opts = {})
|
870
848
|
if @api_client.config.debugging
|
@@ -894,18 +872,6 @@ module Ionoscloud
|
|
894
872
|
fail ArgumentError, 'invalid value for "opts[:"depth"]" when calling LabelsApi.datacenters_servers_labels_put, must be greater than or equal to 0.'
|
895
873
|
end
|
896
874
|
|
897
|
-
if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] < 0
|
898
|
-
fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling LabelsApi.datacenters_servers_labels_put, must be greater than or equal to 0.'
|
899
|
-
end
|
900
|
-
|
901
|
-
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 10000
|
902
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LabelsApi.datacenters_servers_labels_put, must be smaller than or equal to 10000.'
|
903
|
-
end
|
904
|
-
|
905
|
-
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
906
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling LabelsApi.datacenters_servers_labels_put, must be greater than or equal to 1.'
|
907
|
-
end
|
908
|
-
|
909
875
|
# resource path
|
910
876
|
local_var_path = '/datacenters/{datacenterId}/servers/{serverId}/labels/{key}'.sub('{' + 'datacenterId' + '}', CGI.escape(datacenter_id.to_s)).sub('{' + 'serverId' + '}', CGI.escape(server_id.to_s)).sub('{' + 'key' + '}', CGI.escape(key.to_s))
|
911
877
|
|
@@ -913,8 +879,6 @@ module Ionoscloud
|
|
913
879
|
query_params = opts[:query_params] || {}
|
914
880
|
query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil?
|
915
881
|
query_params[:'depth'] = opts[:'depth'] if !opts[:'depth'].nil?
|
916
|
-
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
917
|
-
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
918
882
|
|
919
883
|
# header parameters
|
920
884
|
header_params = opts[:header_params] || {}
|
@@ -953,31 +917,31 @@ module Ionoscloud
|
|
953
917
|
return data, status_code, headers
|
954
918
|
end
|
955
919
|
|
956
|
-
# Delete
|
957
|
-
#
|
958
|
-
# @param datacenter_id [String] The unique ID of the
|
959
|
-
# @param volume_id [String] The unique ID of the
|
960
|
-
# @param key [String] The key
|
920
|
+
# Delete volume labels
|
921
|
+
# Delete the specified volume label.
|
922
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
923
|
+
# @param volume_id [String] The unique ID of the volume.
|
924
|
+
# @param key [String] The label key
|
961
925
|
# @param [Hash] opts the optional parameters
|
962
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
963
|
-
# @option opts [Integer] :depth Controls the
|
964
|
-
# @option opts [Integer] :x_contract_number Users
|
965
|
-
# @return [
|
926
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
927
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on (default to 0)
|
928
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
929
|
+
# @return [nil]
|
966
930
|
def datacenters_volumes_labels_delete(datacenter_id, volume_id, key, opts = {})
|
967
|
-
|
968
|
-
|
931
|
+
datacenters_volumes_labels_delete_with_http_info(datacenter_id, volume_id, key, opts)
|
932
|
+
nil
|
969
933
|
end
|
970
934
|
|
971
|
-
# Delete
|
972
|
-
#
|
973
|
-
# @param datacenter_id [String] The unique ID of the
|
974
|
-
# @param volume_id [String] The unique ID of the
|
975
|
-
# @param key [String] The key
|
935
|
+
# Delete volume labels
|
936
|
+
# Delete the specified volume label.
|
937
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
938
|
+
# @param volume_id [String] The unique ID of the volume.
|
939
|
+
# @param key [String] The label key
|
976
940
|
# @param [Hash] opts the optional parameters
|
977
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
978
|
-
# @option opts [Integer] :depth Controls the
|
979
|
-
# @option opts [Integer] :x_contract_number Users
|
980
|
-
# @return [Array<(
|
941
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
942
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
943
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
944
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
981
945
|
def datacenters_volumes_labels_delete_with_http_info(datacenter_id, volume_id, key, opts = {})
|
982
946
|
if @api_client.config.debugging
|
983
947
|
@api_client.config.logger.debug 'Calling API: LabelsApi.datacenters_volumes_labels_delete ...'
|
@@ -1023,7 +987,7 @@ module Ionoscloud
|
|
1023
987
|
post_body = opts[:debug_body]
|
1024
988
|
|
1025
989
|
# return_type
|
1026
|
-
return_type = opts[:debug_return_type]
|
990
|
+
return_type = opts[:debug_return_type]
|
1027
991
|
|
1028
992
|
# auth_names
|
1029
993
|
auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
|
@@ -1045,30 +1009,30 @@ module Ionoscloud
|
|
1045
1009
|
return data, status_code, headers
|
1046
1010
|
end
|
1047
1011
|
|
1048
|
-
# Retrieve
|
1049
|
-
#
|
1050
|
-
# @param datacenter_id [String] The unique ID of the
|
1051
|
-
# @param volume_id [String] The unique ID of the
|
1052
|
-
# @param key [String] The key
|
1012
|
+
# Retrieve volume labels
|
1013
|
+
# Retrieve the properties of the specified volume label.
|
1014
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
1015
|
+
# @param volume_id [String] The unique ID of the volume.
|
1016
|
+
# @param key [String] The label key
|
1053
1017
|
# @param [Hash] opts the optional parameters
|
1054
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1055
|
-
# @option opts [Integer] :depth Controls the
|
1056
|
-
# @option opts [Integer] :x_contract_number Users
|
1018
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
1019
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on (default to 0)
|
1020
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1057
1021
|
# @return [LabelResource]
|
1058
1022
|
def datacenters_volumes_labels_find_by_key(datacenter_id, volume_id, key, opts = {})
|
1059
1023
|
data, _status_code, _headers = datacenters_volumes_labels_find_by_key_with_http_info(datacenter_id, volume_id, key, opts)
|
1060
1024
|
data
|
1061
1025
|
end
|
1062
1026
|
|
1063
|
-
# Retrieve
|
1064
|
-
#
|
1065
|
-
# @param datacenter_id [String] The unique ID of the
|
1066
|
-
# @param volume_id [String] The unique ID of the
|
1067
|
-
# @param key [String] The key
|
1027
|
+
# Retrieve volume labels
|
1028
|
+
# Retrieve the properties of the specified volume label.
|
1029
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
1030
|
+
# @param volume_id [String] The unique ID of the volume.
|
1031
|
+
# @param key [String] The label key
|
1068
1032
|
# @param [Hash] opts the optional parameters
|
1069
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1070
|
-
# @option opts [Integer] :depth Controls the
|
1071
|
-
# @option opts [Integer] :x_contract_number Users
|
1033
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
1034
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
1035
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1072
1036
|
# @return [Array<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
|
1073
1037
|
def datacenters_volumes_labels_find_by_key_with_http_info(datacenter_id, volume_id, key, opts = {})
|
1074
1038
|
if @api_client.config.debugging
|
@@ -1137,28 +1101,28 @@ module Ionoscloud
|
|
1137
1101
|
return data, status_code, headers
|
1138
1102
|
end
|
1139
1103
|
|
1140
|
-
# List
|
1141
|
-
#
|
1142
|
-
# @param datacenter_id [String] The unique ID of the
|
1143
|
-
# @param volume_id [String] The unique ID of the
|
1104
|
+
# List volume labels
|
1105
|
+
# List all the the labels for the specified volume.
|
1106
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
1107
|
+
# @param volume_id [String] The unique ID of the volume.
|
1144
1108
|
# @param [Hash] opts the optional parameters
|
1145
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1146
|
-
# @option opts [Integer] :depth Controls the
|
1147
|
-
# @option opts [Integer] :x_contract_number Users
|
1109
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
1110
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on (default to 0)
|
1111
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1148
1112
|
# @return [LabelResources]
|
1149
1113
|
def datacenters_volumes_labels_get(datacenter_id, volume_id, opts = {})
|
1150
1114
|
data, _status_code, _headers = datacenters_volumes_labels_get_with_http_info(datacenter_id, volume_id, opts)
|
1151
1115
|
data
|
1152
1116
|
end
|
1153
1117
|
|
1154
|
-
# List
|
1155
|
-
#
|
1156
|
-
# @param datacenter_id [String] The unique ID of the
|
1157
|
-
# @param volume_id [String] The unique ID of the
|
1118
|
+
# List volume labels
|
1119
|
+
# List all the the labels for the specified volume.
|
1120
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
1121
|
+
# @param volume_id [String] The unique ID of the volume.
|
1158
1122
|
# @param [Hash] opts the optional parameters
|
1159
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1160
|
-
# @option opts [Integer] :depth Controls the
|
1161
|
-
# @option opts [Integer] :x_contract_number Users
|
1123
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
1124
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
1125
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1162
1126
|
# @return [Array<(LabelResources, Integer, Hash)>] LabelResources data, response status code and response headers
|
1163
1127
|
def datacenters_volumes_labels_get_with_http_info(datacenter_id, volume_id, opts = {})
|
1164
1128
|
if @api_client.config.debugging
|
@@ -1223,30 +1187,30 @@ module Ionoscloud
|
|
1223
1187
|
return data, status_code, headers
|
1224
1188
|
end
|
1225
1189
|
|
1226
|
-
#
|
1227
|
-
#
|
1228
|
-
# @param datacenter_id [String] The unique ID of the
|
1229
|
-
# @param volume_id [String] The unique ID of the
|
1230
|
-
# @param label [LabelResource]
|
1190
|
+
# Create volume labels
|
1191
|
+
# Add a new label to the specified volume.
|
1192
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
1193
|
+
# @param volume_id [String] The unique ID of the volume.
|
1194
|
+
# @param label [LabelResource] The label to create.
|
1231
1195
|
# @param [Hash] opts the optional parameters
|
1232
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1233
|
-
# @option opts [Integer] :depth Controls the
|
1234
|
-
# @option opts [Integer] :x_contract_number Users
|
1196
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
1197
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on (default to 0)
|
1198
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1235
1199
|
# @return [LabelResource]
|
1236
1200
|
def datacenters_volumes_labels_post(datacenter_id, volume_id, label, opts = {})
|
1237
1201
|
data, _status_code, _headers = datacenters_volumes_labels_post_with_http_info(datacenter_id, volume_id, label, opts)
|
1238
1202
|
data
|
1239
1203
|
end
|
1240
1204
|
|
1241
|
-
#
|
1242
|
-
#
|
1243
|
-
# @param datacenter_id [String] The unique ID of the
|
1244
|
-
# @param volume_id [String] The unique ID of the
|
1245
|
-
# @param label [LabelResource]
|
1205
|
+
# Create volume labels
|
1206
|
+
# Add a new label to the specified volume.
|
1207
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
1208
|
+
# @param volume_id [String] The unique ID of the volume.
|
1209
|
+
# @param label [LabelResource] The label to create.
|
1246
1210
|
# @param [Hash] opts the optional parameters
|
1247
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1248
|
-
# @option opts [Integer] :depth Controls the
|
1249
|
-
# @option opts [Integer] :x_contract_number Users
|
1211
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
1212
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
1213
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1250
1214
|
# @return [Array<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
|
1251
1215
|
def datacenters_volumes_labels_post_with_http_info(datacenter_id, volume_id, label, opts = {})
|
1252
1216
|
if @api_client.config.debugging
|
@@ -1317,32 +1281,32 @@ module Ionoscloud
|
|
1317
1281
|
return data, status_code, headers
|
1318
1282
|
end
|
1319
1283
|
|
1320
|
-
# Modify
|
1321
|
-
#
|
1322
|
-
# @param datacenter_id [String] The unique ID of the
|
1323
|
-
# @param volume_id [String] The unique ID of the
|
1324
|
-
# @param key [String] The key
|
1325
|
-
# @param label [LabelResource]
|
1284
|
+
# Modify volume labels
|
1285
|
+
# Modify the specified volume label.
|
1286
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
1287
|
+
# @param volume_id [String] The unique ID of the volume.
|
1288
|
+
# @param key [String] The label key
|
1289
|
+
# @param label [LabelResource] The modified label
|
1326
1290
|
# @param [Hash] opts the optional parameters
|
1327
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1328
|
-
# @option opts [Integer] :depth Controls the
|
1329
|
-
# @option opts [Integer] :x_contract_number Users
|
1291
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
1292
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on (default to 0)
|
1293
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1330
1294
|
# @return [LabelResource]
|
1331
1295
|
def datacenters_volumes_labels_put(datacenter_id, volume_id, key, label, opts = {})
|
1332
1296
|
data, _status_code, _headers = datacenters_volumes_labels_put_with_http_info(datacenter_id, volume_id, key, label, opts)
|
1333
1297
|
data
|
1334
1298
|
end
|
1335
1299
|
|
1336
|
-
# Modify
|
1337
|
-
#
|
1338
|
-
# @param datacenter_id [String] The unique ID of the
|
1339
|
-
# @param volume_id [String] The unique ID of the
|
1340
|
-
# @param key [String] The key
|
1341
|
-
# @param label [LabelResource]
|
1300
|
+
# Modify volume labels
|
1301
|
+
# Modify the specified volume label.
|
1302
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
1303
|
+
# @param volume_id [String] The unique ID of the volume.
|
1304
|
+
# @param key [String] The label key
|
1305
|
+
# @param label [LabelResource] The modified label
|
1342
1306
|
# @param [Hash] opts the optional parameters
|
1343
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1344
|
-
# @option opts [Integer] :depth Controls the
|
1345
|
-
# @option opts [Integer] :x_contract_number Users
|
1307
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
1308
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
1309
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1346
1310
|
# @return [Array<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
|
1347
1311
|
def datacenters_volumes_labels_put_with_http_info(datacenter_id, volume_id, key, label, opts = {})
|
1348
1312
|
if @api_client.config.debugging
|
@@ -1417,29 +1381,29 @@ module Ionoscloud
|
|
1417
1381
|
return data, status_code, headers
|
1418
1382
|
end
|
1419
1383
|
|
1420
|
-
# Delete
|
1421
|
-
#
|
1422
|
-
# @param ipblock_id [String] The unique ID of the
|
1423
|
-
# @param key [String] The key
|
1384
|
+
# Delete IP block labels
|
1385
|
+
# Delete the specified IP block label.
|
1386
|
+
# @param ipblock_id [String] The unique ID of the IP block.
|
1387
|
+
# @param key [String] The label key
|
1424
1388
|
# @param [Hash] opts the optional parameters
|
1425
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1426
|
-
# @option opts [Integer] :depth Controls the
|
1427
|
-
# @option opts [Integer] :x_contract_number Users
|
1428
|
-
# @return [
|
1389
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
1390
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on (default to 0)
|
1391
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1392
|
+
# @return [nil]
|
1429
1393
|
def ipblocks_labels_delete(ipblock_id, key, opts = {})
|
1430
|
-
|
1431
|
-
|
1394
|
+
ipblocks_labels_delete_with_http_info(ipblock_id, key, opts)
|
1395
|
+
nil
|
1432
1396
|
end
|
1433
1397
|
|
1434
|
-
# Delete
|
1435
|
-
#
|
1436
|
-
# @param ipblock_id [String] The unique ID of the
|
1437
|
-
# @param key [String] The key
|
1398
|
+
# Delete IP block labels
|
1399
|
+
# Delete the specified IP block label.
|
1400
|
+
# @param ipblock_id [String] The unique ID of the IP block.
|
1401
|
+
# @param key [String] The label key
|
1438
1402
|
# @param [Hash] opts the optional parameters
|
1439
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1440
|
-
# @option opts [Integer] :depth Controls the
|
1441
|
-
# @option opts [Integer] :x_contract_number Users
|
1442
|
-
# @return [Array<(
|
1403
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
1404
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
1405
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1406
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
1443
1407
|
def ipblocks_labels_delete_with_http_info(ipblock_id, key, opts = {})
|
1444
1408
|
if @api_client.config.debugging
|
1445
1409
|
@api_client.config.logger.debug 'Calling API: LabelsApi.ipblocks_labels_delete ...'
|
@@ -1481,7 +1445,7 @@ module Ionoscloud
|
|
1481
1445
|
post_body = opts[:debug_body]
|
1482
1446
|
|
1483
1447
|
# return_type
|
1484
|
-
return_type = opts[:debug_return_type]
|
1448
|
+
return_type = opts[:debug_return_type]
|
1485
1449
|
|
1486
1450
|
# auth_names
|
1487
1451
|
auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
|
@@ -1503,28 +1467,28 @@ module Ionoscloud
|
|
1503
1467
|
return data, status_code, headers
|
1504
1468
|
end
|
1505
1469
|
|
1506
|
-
# Retrieve
|
1507
|
-
#
|
1508
|
-
# @param ipblock_id [String] The unique ID of the
|
1509
|
-
# @param key [String] The key
|
1470
|
+
# Retrieve IP block labels
|
1471
|
+
# Retrieve the properties of the specified IP block label.
|
1472
|
+
# @param ipblock_id [String] The unique ID of the IP block.
|
1473
|
+
# @param key [String] The label key
|
1510
1474
|
# @param [Hash] opts the optional parameters
|
1511
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1512
|
-
# @option opts [Integer] :depth Controls the
|
1513
|
-
# @option opts [Integer] :x_contract_number Users
|
1475
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
1476
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on (default to 0)
|
1477
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1514
1478
|
# @return [LabelResource]
|
1515
1479
|
def ipblocks_labels_find_by_key(ipblock_id, key, opts = {})
|
1516
1480
|
data, _status_code, _headers = ipblocks_labels_find_by_key_with_http_info(ipblock_id, key, opts)
|
1517
1481
|
data
|
1518
1482
|
end
|
1519
1483
|
|
1520
|
-
# Retrieve
|
1521
|
-
#
|
1522
|
-
# @param ipblock_id [String] The unique ID of the
|
1523
|
-
# @param key [String] The key
|
1484
|
+
# Retrieve IP block labels
|
1485
|
+
# Retrieve the properties of the specified IP block label.
|
1486
|
+
# @param ipblock_id [String] The unique ID of the IP block.
|
1487
|
+
# @param key [String] The label key
|
1524
1488
|
# @param [Hash] opts the optional parameters
|
1525
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1526
|
-
# @option opts [Integer] :depth Controls the
|
1527
|
-
# @option opts [Integer] :x_contract_number Users
|
1489
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
1490
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
1491
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1528
1492
|
# @return [Array<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
|
1529
1493
|
def ipblocks_labels_find_by_key_with_http_info(ipblock_id, key, opts = {})
|
1530
1494
|
if @api_client.config.debugging
|
@@ -1589,26 +1553,26 @@ module Ionoscloud
|
|
1589
1553
|
return data, status_code, headers
|
1590
1554
|
end
|
1591
1555
|
|
1592
|
-
# List
|
1593
|
-
#
|
1594
|
-
# @param ipblock_id [String] The unique ID of the
|
1556
|
+
# List IP block labels
|
1557
|
+
# List all the the labels for the specified IP block.
|
1558
|
+
# @param ipblock_id [String] The unique ID of the IP block.
|
1595
1559
|
# @param [Hash] opts the optional parameters
|
1596
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1597
|
-
# @option opts [Integer] :depth Controls the
|
1598
|
-
# @option opts [Integer] :x_contract_number Users
|
1560
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
1561
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on (default to 0)
|
1562
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1599
1563
|
# @return [LabelResources]
|
1600
1564
|
def ipblocks_labels_get(ipblock_id, opts = {})
|
1601
1565
|
data, _status_code, _headers = ipblocks_labels_get_with_http_info(ipblock_id, opts)
|
1602
1566
|
data
|
1603
1567
|
end
|
1604
1568
|
|
1605
|
-
# List
|
1606
|
-
#
|
1607
|
-
# @param ipblock_id [String] The unique ID of the
|
1569
|
+
# List IP block labels
|
1570
|
+
# List all the the labels for the specified IP block.
|
1571
|
+
# @param ipblock_id [String] The unique ID of the IP block.
|
1608
1572
|
# @param [Hash] opts the optional parameters
|
1609
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1610
|
-
# @option opts [Integer] :depth Controls the
|
1611
|
-
# @option opts [Integer] :x_contract_number Users
|
1573
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
1574
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
1575
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1612
1576
|
# @return [Array<(LabelResources, Integer, Hash)>] LabelResources data, response status code and response headers
|
1613
1577
|
def ipblocks_labels_get_with_http_info(ipblock_id, opts = {})
|
1614
1578
|
if @api_client.config.debugging
|
@@ -1669,28 +1633,28 @@ module Ionoscloud
|
|
1669
1633
|
return data, status_code, headers
|
1670
1634
|
end
|
1671
1635
|
|
1672
|
-
#
|
1673
|
-
#
|
1674
|
-
# @param ipblock_id [String] The unique ID of the
|
1675
|
-
# @param label [LabelResource]
|
1636
|
+
# Create IP block labels
|
1637
|
+
# Add a new label to the specified IP block.
|
1638
|
+
# @param ipblock_id [String] The unique ID of the IP block.
|
1639
|
+
# @param label [LabelResource] The label to create.
|
1676
1640
|
# @param [Hash] opts the optional parameters
|
1677
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1678
|
-
# @option opts [Integer] :depth Controls the
|
1679
|
-
# @option opts [Integer] :x_contract_number Users
|
1641
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
1642
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on (default to 0)
|
1643
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1680
1644
|
# @return [LabelResource]
|
1681
1645
|
def ipblocks_labels_post(ipblock_id, label, opts = {})
|
1682
1646
|
data, _status_code, _headers = ipblocks_labels_post_with_http_info(ipblock_id, label, opts)
|
1683
1647
|
data
|
1684
1648
|
end
|
1685
1649
|
|
1686
|
-
#
|
1687
|
-
#
|
1688
|
-
# @param ipblock_id [String] The unique ID of the
|
1689
|
-
# @param label [LabelResource]
|
1650
|
+
# Create IP block labels
|
1651
|
+
# Add a new label to the specified IP block.
|
1652
|
+
# @param ipblock_id [String] The unique ID of the IP block.
|
1653
|
+
# @param label [LabelResource] The label to create.
|
1690
1654
|
# @param [Hash] opts the optional parameters
|
1691
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1692
|
-
# @option opts [Integer] :depth Controls the
|
1693
|
-
# @option opts [Integer] :x_contract_number Users
|
1655
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
1656
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
1657
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1694
1658
|
# @return [Array<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
|
1695
1659
|
def ipblocks_labels_post_with_http_info(ipblock_id, label, opts = {})
|
1696
1660
|
if @api_client.config.debugging
|
@@ -1757,30 +1721,30 @@ module Ionoscloud
|
|
1757
1721
|
return data, status_code, headers
|
1758
1722
|
end
|
1759
1723
|
|
1760
|
-
# Modify
|
1761
|
-
#
|
1762
|
-
# @param ipblock_id [String] The unique ID of the
|
1763
|
-
# @param key [String] The key
|
1764
|
-
# @param label [LabelResource]
|
1724
|
+
# Modify IP block labels
|
1725
|
+
# Modify the specified IP block label.
|
1726
|
+
# @param ipblock_id [String] The unique ID of the IP block.
|
1727
|
+
# @param key [String] The label key
|
1728
|
+
# @param label [LabelResource] The modified label
|
1765
1729
|
# @param [Hash] opts the optional parameters
|
1766
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1767
|
-
# @option opts [Integer] :depth Controls the
|
1768
|
-
# @option opts [Integer] :x_contract_number Users
|
1730
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
1731
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on (default to 0)
|
1732
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1769
1733
|
# @return [LabelResource]
|
1770
1734
|
def ipblocks_labels_put(ipblock_id, key, label, opts = {})
|
1771
1735
|
data, _status_code, _headers = ipblocks_labels_put_with_http_info(ipblock_id, key, label, opts)
|
1772
1736
|
data
|
1773
1737
|
end
|
1774
1738
|
|
1775
|
-
# Modify
|
1776
|
-
#
|
1777
|
-
# @param ipblock_id [String] The unique ID of the
|
1778
|
-
# @param key [String] The key
|
1779
|
-
# @param label [LabelResource]
|
1739
|
+
# Modify IP block labels
|
1740
|
+
# Modify the specified IP block label.
|
1741
|
+
# @param ipblock_id [String] The unique ID of the IP block.
|
1742
|
+
# @param key [String] The label key
|
1743
|
+
# @param label [LabelResource] The modified label
|
1780
1744
|
# @param [Hash] opts the optional parameters
|
1781
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1782
|
-
# @option opts [Integer] :depth Controls the
|
1783
|
-
# @option opts [Integer] :x_contract_number Users
|
1745
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
1746
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
1747
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1784
1748
|
# @return [Array<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
|
1785
1749
|
def ipblocks_labels_put_with_http_info(ipblock_id, key, label, opts = {})
|
1786
1750
|
if @api_client.config.debugging
|
@@ -1851,26 +1815,26 @@ module Ionoscloud
|
|
1851
1815
|
return data, status_code, headers
|
1852
1816
|
end
|
1853
1817
|
|
1854
|
-
#
|
1855
|
-
#
|
1856
|
-
# @param labelurn [String] The
|
1818
|
+
# Retrieve labels by URN
|
1819
|
+
# Retrieve a label by label URN. The URN is unique for each label, and consists of: urn:label:<resource_type>:<resource_uuid>:<key>
|
1820
|
+
# @param labelurn [String] The label URN; URN is unique for each label, and consists of: urn:label:<resource_type>:<resource_uuid>:<key><key>
|
1857
1821
|
# @param [Hash] opts the optional parameters
|
1858
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1859
|
-
# @option opts [Integer] :depth Controls the
|
1860
|
-
# @option opts [Integer] :x_contract_number Users
|
1822
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
1823
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on (default to 0)
|
1824
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1861
1825
|
# @return [Label]
|
1862
1826
|
def labels_find_by_urn(labelurn, opts = {})
|
1863
1827
|
data, _status_code, _headers = labels_find_by_urn_with_http_info(labelurn, opts)
|
1864
1828
|
data
|
1865
1829
|
end
|
1866
1830
|
|
1867
|
-
#
|
1868
|
-
#
|
1869
|
-
# @param labelurn [String] The
|
1831
|
+
# Retrieve labels by URN
|
1832
|
+
# Retrieve a label by label URN. The URN is unique for each label, and consists of: urn:label:<resource_type>:<resource_uuid>:<key>
|
1833
|
+
# @param labelurn [String] The label URN; URN is unique for each label, and consists of: urn:label:<resource_type>:<resource_uuid>:<key><key>
|
1870
1834
|
# @param [Hash] opts the optional parameters
|
1871
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1872
|
-
# @option opts [Integer] :depth Controls the
|
1873
|
-
# @option opts [Integer] :x_contract_number Users
|
1835
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
1836
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
1837
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1874
1838
|
# @return [Array<(Label, Integer, Hash)>] Label data, response status code and response headers
|
1875
1839
|
def labels_find_by_urn_with_http_info(labelurn, opts = {})
|
1876
1840
|
if @api_client.config.debugging
|
@@ -1931,24 +1895,24 @@ module Ionoscloud
|
|
1931
1895
|
return data, status_code, headers
|
1932
1896
|
end
|
1933
1897
|
|
1934
|
-
# List
|
1935
|
-
#
|
1898
|
+
# List labels
|
1899
|
+
# List all available labels.
|
1936
1900
|
# @param [Hash] opts the optional parameters
|
1937
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1938
|
-
# @option opts [Integer] :depth Controls the
|
1939
|
-
# @option opts [Integer] :x_contract_number Users
|
1901
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
1902
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on (default to 0)
|
1903
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1940
1904
|
# @return [Labels]
|
1941
1905
|
def labels_get(opts = {})
|
1942
1906
|
data, _status_code, _headers = labels_get_with_http_info(opts)
|
1943
1907
|
data
|
1944
1908
|
end
|
1945
1909
|
|
1946
|
-
# List
|
1947
|
-
#
|
1910
|
+
# List labels
|
1911
|
+
# List all available labels.
|
1948
1912
|
# @param [Hash] opts the optional parameters
|
1949
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
1950
|
-
# @option opts [Integer] :depth Controls the
|
1951
|
-
# @option opts [Integer] :x_contract_number Users
|
1913
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
1914
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
1915
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1952
1916
|
# @return [Array<(Labels, Integer, Hash)>] Labels data, response status code and response headers
|
1953
1917
|
def labels_get_with_http_info(opts = {})
|
1954
1918
|
if @api_client.config.debugging
|
@@ -2005,29 +1969,29 @@ module Ionoscloud
|
|
2005
1969
|
return data, status_code, headers
|
2006
1970
|
end
|
2007
1971
|
|
2008
|
-
# Delete
|
2009
|
-
#
|
2010
|
-
# @param snapshot_id [String] The unique ID of the
|
2011
|
-
# @param key [String] The key
|
1972
|
+
# Delete snapshot labels
|
1973
|
+
# Delete the specified snapshot label.
|
1974
|
+
# @param snapshot_id [String] The unique ID of the snapshot.
|
1975
|
+
# @param key [String] The label key
|
2012
1976
|
# @param [Hash] opts the optional parameters
|
2013
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
2014
|
-
# @option opts [Integer] :depth Controls the
|
2015
|
-
# @option opts [Integer] :x_contract_number Users
|
2016
|
-
# @return [
|
1977
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
1978
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on (default to 0)
|
1979
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1980
|
+
# @return [nil]
|
2017
1981
|
def snapshots_labels_delete(snapshot_id, key, opts = {})
|
2018
|
-
|
2019
|
-
|
1982
|
+
snapshots_labels_delete_with_http_info(snapshot_id, key, opts)
|
1983
|
+
nil
|
2020
1984
|
end
|
2021
1985
|
|
2022
|
-
# Delete
|
2023
|
-
#
|
2024
|
-
# @param snapshot_id [String] The unique ID of the
|
2025
|
-
# @param key [String] The key
|
1986
|
+
# Delete snapshot labels
|
1987
|
+
# Delete the specified snapshot label.
|
1988
|
+
# @param snapshot_id [String] The unique ID of the snapshot.
|
1989
|
+
# @param key [String] The label key
|
2026
1990
|
# @param [Hash] opts the optional parameters
|
2027
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
2028
|
-
# @option opts [Integer] :depth Controls the
|
2029
|
-
# @option opts [Integer] :x_contract_number Users
|
2030
|
-
# @return [Array<(
|
1991
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
1992
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
1993
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
1994
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
2031
1995
|
def snapshots_labels_delete_with_http_info(snapshot_id, key, opts = {})
|
2032
1996
|
if @api_client.config.debugging
|
2033
1997
|
@api_client.config.logger.debug 'Calling API: LabelsApi.snapshots_labels_delete ...'
|
@@ -2069,7 +2033,7 @@ module Ionoscloud
|
|
2069
2033
|
post_body = opts[:debug_body]
|
2070
2034
|
|
2071
2035
|
# return_type
|
2072
|
-
return_type = opts[:debug_return_type]
|
2036
|
+
return_type = opts[:debug_return_type]
|
2073
2037
|
|
2074
2038
|
# auth_names
|
2075
2039
|
auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
|
@@ -2091,28 +2055,28 @@ module Ionoscloud
|
|
2091
2055
|
return data, status_code, headers
|
2092
2056
|
end
|
2093
2057
|
|
2094
|
-
# Retrieve
|
2095
|
-
#
|
2096
|
-
# @param snapshot_id [String] The unique ID of the
|
2097
|
-
# @param key [String] The key
|
2058
|
+
# Retrieve snapshot labels
|
2059
|
+
# Retrieve the properties of the specified snapshot label.
|
2060
|
+
# @param snapshot_id [String] The unique ID of the snapshot.
|
2061
|
+
# @param key [String] The label key
|
2098
2062
|
# @param [Hash] opts the optional parameters
|
2099
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
2100
|
-
# @option opts [Integer] :depth Controls the
|
2101
|
-
# @option opts [Integer] :x_contract_number Users
|
2063
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
2064
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on (default to 0)
|
2065
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
2102
2066
|
# @return [LabelResource]
|
2103
2067
|
def snapshots_labels_find_by_key(snapshot_id, key, opts = {})
|
2104
2068
|
data, _status_code, _headers = snapshots_labels_find_by_key_with_http_info(snapshot_id, key, opts)
|
2105
2069
|
data
|
2106
2070
|
end
|
2107
2071
|
|
2108
|
-
# Retrieve
|
2109
|
-
#
|
2110
|
-
# @param snapshot_id [String] The unique ID of the
|
2111
|
-
# @param key [String] The key
|
2072
|
+
# Retrieve snapshot labels
|
2073
|
+
# Retrieve the properties of the specified snapshot label.
|
2074
|
+
# @param snapshot_id [String] The unique ID of the snapshot.
|
2075
|
+
# @param key [String] The label key
|
2112
2076
|
# @param [Hash] opts the optional parameters
|
2113
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
2114
|
-
# @option opts [Integer] :depth Controls the
|
2115
|
-
# @option opts [Integer] :x_contract_number Users
|
2077
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
2078
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
2079
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
2116
2080
|
# @return [Array<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
|
2117
2081
|
def snapshots_labels_find_by_key_with_http_info(snapshot_id, key, opts = {})
|
2118
2082
|
if @api_client.config.debugging
|
@@ -2177,26 +2141,26 @@ module Ionoscloud
|
|
2177
2141
|
return data, status_code, headers
|
2178
2142
|
end
|
2179
2143
|
|
2180
|
-
# List
|
2181
|
-
#
|
2182
|
-
# @param snapshot_id [String] The unique ID of the
|
2144
|
+
# List snapshot labels
|
2145
|
+
# List all the the labels for the specified snapshot.
|
2146
|
+
# @param snapshot_id [String] The unique ID of the snapshot.
|
2183
2147
|
# @param [Hash] opts the optional parameters
|
2184
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
2185
|
-
# @option opts [Integer] :depth Controls the
|
2186
|
-
# @option opts [Integer] :x_contract_number Users
|
2148
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
2149
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on (default to 0)
|
2150
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
2187
2151
|
# @return [LabelResources]
|
2188
2152
|
def snapshots_labels_get(snapshot_id, opts = {})
|
2189
2153
|
data, _status_code, _headers = snapshots_labels_get_with_http_info(snapshot_id, opts)
|
2190
2154
|
data
|
2191
2155
|
end
|
2192
2156
|
|
2193
|
-
# List
|
2194
|
-
#
|
2195
|
-
# @param snapshot_id [String] The unique ID of the
|
2157
|
+
# List snapshot labels
|
2158
|
+
# List all the the labels for the specified snapshot.
|
2159
|
+
# @param snapshot_id [String] The unique ID of the snapshot.
|
2196
2160
|
# @param [Hash] opts the optional parameters
|
2197
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
2198
|
-
# @option opts [Integer] :depth Controls the
|
2199
|
-
# @option opts [Integer] :x_contract_number Users
|
2161
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
2162
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
2163
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
2200
2164
|
# @return [Array<(LabelResources, Integer, Hash)>] LabelResources data, response status code and response headers
|
2201
2165
|
def snapshots_labels_get_with_http_info(snapshot_id, opts = {})
|
2202
2166
|
if @api_client.config.debugging
|
@@ -2257,28 +2221,28 @@ module Ionoscloud
|
|
2257
2221
|
return data, status_code, headers
|
2258
2222
|
end
|
2259
2223
|
|
2260
|
-
#
|
2261
|
-
#
|
2262
|
-
# @param snapshot_id [String] The unique ID of the
|
2263
|
-
# @param label [LabelResource]
|
2224
|
+
# Create snapshot labels
|
2225
|
+
# Add a new label to the specified snapshot.
|
2226
|
+
# @param snapshot_id [String] The unique ID of the snapshot.
|
2227
|
+
# @param label [LabelResource] The label to create.
|
2264
2228
|
# @param [Hash] opts the optional parameters
|
2265
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
2266
|
-
# @option opts [Integer] :depth Controls the
|
2267
|
-
# @option opts [Integer] :x_contract_number Users
|
2229
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
2230
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on (default to 0)
|
2231
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
2268
2232
|
# @return [LabelResource]
|
2269
2233
|
def snapshots_labels_post(snapshot_id, label, opts = {})
|
2270
2234
|
data, _status_code, _headers = snapshots_labels_post_with_http_info(snapshot_id, label, opts)
|
2271
2235
|
data
|
2272
2236
|
end
|
2273
2237
|
|
2274
|
-
#
|
2275
|
-
#
|
2276
|
-
# @param snapshot_id [String] The unique ID of the
|
2277
|
-
# @param label [LabelResource]
|
2238
|
+
# Create snapshot labels
|
2239
|
+
# Add a new label to the specified snapshot.
|
2240
|
+
# @param snapshot_id [String] The unique ID of the snapshot.
|
2241
|
+
# @param label [LabelResource] The label to create.
|
2278
2242
|
# @param [Hash] opts the optional parameters
|
2279
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
2280
|
-
# @option opts [Integer] :depth Controls the
|
2281
|
-
# @option opts [Integer] :x_contract_number Users
|
2243
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
2244
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
2245
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
2282
2246
|
# @return [Array<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
|
2283
2247
|
def snapshots_labels_post_with_http_info(snapshot_id, label, opts = {})
|
2284
2248
|
if @api_client.config.debugging
|
@@ -2345,30 +2309,30 @@ module Ionoscloud
|
|
2345
2309
|
return data, status_code, headers
|
2346
2310
|
end
|
2347
2311
|
|
2348
|
-
# Modify
|
2349
|
-
#
|
2350
|
-
# @param snapshot_id [String] The unique ID of the
|
2351
|
-
# @param key [String] The key
|
2352
|
-
# @param label [LabelResource]
|
2312
|
+
# Modify snapshot labels
|
2313
|
+
# Modify the specified snapshot label.
|
2314
|
+
# @param snapshot_id [String] The unique ID of the snapshot.
|
2315
|
+
# @param key [String] The label key
|
2316
|
+
# @param label [LabelResource] The modified label
|
2353
2317
|
# @param [Hash] opts the optional parameters
|
2354
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
2355
|
-
# @option opts [Integer] :depth Controls the
|
2356
|
-
# @option opts [Integer] :x_contract_number Users
|
2318
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true)
|
2319
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on (default to 0)
|
2320
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
2357
2321
|
# @return [LabelResource]
|
2358
2322
|
def snapshots_labels_put(snapshot_id, key, label, opts = {})
|
2359
2323
|
data, _status_code, _headers = snapshots_labels_put_with_http_info(snapshot_id, key, label, opts)
|
2360
2324
|
data
|
2361
2325
|
end
|
2362
2326
|
|
2363
|
-
# Modify
|
2364
|
-
#
|
2365
|
-
# @param snapshot_id [String] The unique ID of the
|
2366
|
-
# @param key [String] The key
|
2367
|
-
# @param label [LabelResource]
|
2327
|
+
# Modify snapshot labels
|
2328
|
+
# Modify the specified snapshot label.
|
2329
|
+
# @param snapshot_id [String] The unique ID of the snapshot.
|
2330
|
+
# @param key [String] The label key
|
2331
|
+
# @param label [LabelResource] The modified label
|
2368
2332
|
# @param [Hash] opts the optional parameters
|
2369
|
-
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with
|
2370
|
-
# @option opts [Integer] :depth Controls the
|
2371
|
-
# @option opts [Integer] :x_contract_number Users
|
2333
|
+
# @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines).
|
2334
|
+
# @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
|
2335
|
+
# @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed.
|
2372
2336
|
# @return [Array<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
|
2373
2337
|
def snapshots_labels_put_with_http_info(snapshot_id, key, label, opts = {})
|
2374
2338
|
if @api_client.config.debugging
|