ionoscloud 6.0.0.beta.3 → 6.0.0.beta.4
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/docs/{BackupUnitsApi.md → api/BackupUnitsApi.md} +40 -40
- data/docs/{ContractResourcesApi.md → api/ContractResourcesApi.md} +6 -6
- data/docs/api/DataCentersApi.md +516 -0
- data/docs/api/DefaultApi.md +78 -0
- data/docs/{FirewallRulesApi.md → api/FirewallRulesApi.md} +52 -52
- data/docs/{FlowLogsApi.md → api/FlowLogsApi.md} +40 -40
- data/docs/{IPBlocksApi.md → api/IPBlocksApi.md} +40 -36
- data/docs/{ImagesApi.md → api/ImagesApi.md} +30 -30
- data/docs/{KubernetesApi.md → api/KubernetesApi.md} +98 -98
- data/docs/{LabelsApi.md → api/LabelsApi.md} +182 -190
- data/docs/{LansApi.md → api/LansApi.md} +80 -80
- data/docs/{LoadBalancersApi.md → api/LoadBalancersApi.md} +84 -92
- data/docs/{LocationsApi.md → api/LocationsApi.md} +32 -32
- data/docs/{NATGatewaysApi.md → api/NATGatewaysApi.md} +136 -140
- data/docs/{NetworkInterfacesApi.md → api/NetworkInterfacesApi.md} +52 -52
- data/docs/{NetworkLoadBalancersApi.md → api/NetworkLoadBalancersApi.md} +151 -155
- data/docs/{PrivateCrossConnectsApi.md → api/PrivateCrossConnectsApi.md} +31 -35
- data/docs/{RequestsApi.md → api/RequestsApi.md} +22 -22
- data/docs/{ServersApi.md → api/ServersApi.md} +188 -188
- data/docs/{SnapshotsApi.md → api/SnapshotsApi.md} +30 -30
- data/docs/{TemplatesApi.md → api/TemplatesApi.md} +4 -4
- data/docs/{UserManagementApi.md → api/UserManagementApi.md} +148 -144
- data/docs/{UserS3KeysApi.md → api/UserS3KeysApi.md} +34 -34
- data/docs/{VolumesApi.md → api/VolumesApi.md} +68 -68
- data/docs/{AttachedVolumes.md → models/AttachedVolumes.md} +0 -0
- data/docs/{BackupUnit.md → models/BackupUnit.md} +0 -0
- data/docs/{BackupUnitProperties.md → models/BackupUnitProperties.md} +0 -0
- data/docs/{BackupUnitSSO.md → models/BackupUnitSSO.md} +0 -0
- data/docs/{BackupUnits.md → models/BackupUnits.md} +0 -0
- data/docs/{BalancedNics.md → models/BalancedNics.md} +0 -0
- data/docs/{Cdroms.md → models/Cdroms.md} +0 -0
- data/docs/{ConnectableDatacenter.md → models/ConnectableDatacenter.md} +0 -0
- data/docs/{Contract.md → models/Contract.md} +0 -0
- data/docs/{ContractProperties.md → models/ContractProperties.md} +0 -0
- data/docs/{Contracts.md → models/Contracts.md} +0 -0
- data/docs/{CpuArchitectureProperties.md → models/CpuArchitectureProperties.md} +0 -0
- data/docs/{DataCenterEntities.md → models/DataCenterEntities.md} +0 -0
- data/docs/{Datacenter.md → models/Datacenter.md} +0 -0
- data/docs/{DatacenterElementMetadata.md → models/DatacenterElementMetadata.md} +0 -0
- data/docs/{DatacenterProperties.md → models/DatacenterProperties.md} +0 -0
- data/docs/{Datacenters.md → models/Datacenters.md} +0 -0
- data/docs/{Error.md → models/Error.md} +0 -0
- data/docs/{ErrorMessage.md → models/ErrorMessage.md} +0 -0
- data/docs/{FirewallRule.md → models/FirewallRule.md} +0 -0
- data/docs/{FirewallRules.md → models/FirewallRules.md} +0 -0
- data/docs/{FirewallruleProperties.md → models/FirewallruleProperties.md} +0 -0
- data/docs/{FlowLog.md → models/FlowLog.md} +0 -0
- data/docs/{FlowLogProperties.md → models/FlowLogProperties.md} +0 -0
- data/docs/{FlowLogPut.md → models/FlowLogPut.md} +0 -0
- data/docs/{FlowLogs.md → models/FlowLogs.md} +0 -0
- data/docs/{Group.md → models/Group.md} +0 -0
- data/docs/{GroupEntities.md → models/GroupEntities.md} +0 -0
- data/docs/{GroupMembers.md → models/GroupMembers.md} +0 -0
- data/docs/{GroupProperties.md → models/GroupProperties.md} +0 -0
- data/docs/{GroupShare.md → models/GroupShare.md} +0 -0
- data/docs/{GroupShareProperties.md → models/GroupShareProperties.md} +0 -0
- data/docs/{GroupShares.md → models/GroupShares.md} +0 -0
- data/docs/{GroupUsers.md → models/GroupUsers.md} +0 -0
- data/docs/{Groups.md → models/Groups.md} +0 -0
- data/docs/{IPFailover.md → models/IPFailover.md} +0 -0
- data/docs/{Image.md → models/Image.md} +0 -0
- data/docs/{ImageProperties.md → models/ImageProperties.md} +0 -0
- data/docs/{Images.md → models/Images.md} +0 -0
- data/docs/{Info.md → models/Info.md} +0 -0
- data/docs/{IpBlock.md → models/IpBlock.md} +0 -0
- data/docs/{IpBlockProperties.md → models/IpBlockProperties.md} +0 -0
- data/docs/{IpBlocks.md → models/IpBlocks.md} +7 -1
- data/docs/{IpConsumer.md → models/IpConsumer.md} +0 -0
- data/docs/{KubernetesAutoScaling.md → models/KubernetesAutoScaling.md} +0 -0
- data/docs/{KubernetesCluster.md → models/KubernetesCluster.md} +0 -0
- data/docs/{KubernetesClusterEntities.md → models/KubernetesClusterEntities.md} +0 -0
- data/docs/{KubernetesClusterForPost.md → models/KubernetesClusterForPost.md} +0 -0
- data/docs/{KubernetesClusterForPut.md → models/KubernetesClusterForPut.md} +0 -0
- data/docs/{KubernetesClusterProperties.md → models/KubernetesClusterProperties.md} +4 -2
- data/docs/{KubernetesClusterPropertiesForPost.md → models/KubernetesClusterPropertiesForPost.md} +4 -2
- data/docs/{KubernetesClusterPropertiesForPut.md → models/KubernetesClusterPropertiesForPut.md} +5 -1
- data/docs/{KubernetesClusters.md → models/KubernetesClusters.md} +0 -0
- data/docs/{KubernetesMaintenanceWindow.md → models/KubernetesMaintenanceWindow.md} +0 -0
- data/docs/{KubernetesNode.md → models/KubernetesNode.md} +0 -0
- data/docs/{KubernetesNodeMetadata.md → models/KubernetesNodeMetadata.md} +0 -0
- data/docs/{KubernetesNodePool.md → models/KubernetesNodePool.md} +0 -0
- data/docs/{KubernetesNodePoolForPost.md → models/KubernetesNodePoolForPost.md} +0 -0
- data/docs/{KubernetesNodePoolForPut.md → models/KubernetesNodePoolForPut.md} +0 -0
- data/docs/{KubernetesNodePoolLan.md → models/KubernetesNodePoolLan.md} +1 -1
- data/docs/{KubernetesNodePoolLanRoutes.md → models/KubernetesNodePoolLanRoutes.md} +0 -0
- data/docs/{KubernetesNodePoolProperties.md → models/KubernetesNodePoolProperties.md} +3 -1
- data/docs/{KubernetesNodePoolPropertiesForPost.md → models/KubernetesNodePoolPropertiesForPost.md} +3 -1
- data/docs/{KubernetesNodePoolPropertiesForPut.md → models/KubernetesNodePoolPropertiesForPut.md} +0 -0
- data/docs/{KubernetesNodePools.md → models/KubernetesNodePools.md} +0 -0
- data/docs/{KubernetesNodeProperties.md → models/KubernetesNodeProperties.md} +0 -0
- data/docs/{KubernetesNodes.md → models/KubernetesNodes.md} +0 -0
- data/docs/{Label.md → models/Label.md} +0 -0
- data/docs/{LabelProperties.md → models/LabelProperties.md} +0 -0
- data/docs/{LabelResource.md → models/LabelResource.md} +0 -0
- data/docs/{LabelResourceProperties.md → models/LabelResourceProperties.md} +0 -0
- data/docs/{LabelResources.md → models/LabelResources.md} +0 -0
- data/docs/{Labels.md → models/Labels.md} +0 -0
- data/docs/{Lan.md → models/Lan.md} +0 -0
- data/docs/{LanEntities.md → models/LanEntities.md} +0 -0
- data/docs/{LanNics.md → models/LanNics.md} +0 -0
- data/docs/{LanPost.md → models/LanPost.md} +0 -0
- data/docs/{LanProperties.md → models/LanProperties.md} +0 -0
- data/docs/{LanPropertiesPost.md → models/LanPropertiesPost.md} +0 -0
- data/docs/{Lans.md → models/Lans.md} +0 -0
- data/docs/{Loadbalancer.md → models/Loadbalancer.md} +0 -0
- data/docs/{LoadbalancerEntities.md → models/LoadbalancerEntities.md} +0 -0
- data/docs/{LoadbalancerProperties.md → models/LoadbalancerProperties.md} +0 -0
- data/docs/{Loadbalancers.md → models/Loadbalancers.md} +0 -0
- data/docs/{Location.md → models/Location.md} +0 -0
- data/docs/{LocationProperties.md → models/LocationProperties.md} +0 -0
- data/docs/{Locations.md → models/Locations.md} +0 -0
- data/docs/{NatGateway.md → models/NatGateway.md} +0 -0
- data/docs/{NatGatewayEntities.md → models/NatGatewayEntities.md} +0 -0
- data/docs/{NatGatewayLanProperties.md → models/NatGatewayLanProperties.md} +0 -0
- data/docs/{NatGatewayProperties.md → models/NatGatewayProperties.md} +0 -0
- data/docs/{NatGatewayPut.md → models/NatGatewayPut.md} +0 -0
- data/docs/{NatGatewayRule.md → models/NatGatewayRule.md} +0 -0
- data/docs/{NatGatewayRuleProperties.md → models/NatGatewayRuleProperties.md} +0 -0
- data/docs/{NatGatewayRuleProtocol.md → models/NatGatewayRuleProtocol.md} +0 -0
- data/docs/{NatGatewayRulePut.md → models/NatGatewayRulePut.md} +0 -0
- data/docs/{NatGatewayRuleType.md → models/NatGatewayRuleType.md} +0 -0
- data/docs/{NatGatewayRules.md → models/NatGatewayRules.md} +0 -0
- data/docs/{NatGateways.md → models/NatGateways.md} +0 -0
- data/docs/{NetworkLoadBalancer.md → models/NetworkLoadBalancer.md} +0 -0
- data/docs/{NetworkLoadBalancerEntities.md → models/NetworkLoadBalancerEntities.md} +0 -0
- data/docs/{NetworkLoadBalancerForwardingRule.md → models/NetworkLoadBalancerForwardingRule.md} +0 -0
- data/docs/{NetworkLoadBalancerForwardingRuleHealthCheck.md → models/NetworkLoadBalancerForwardingRuleHealthCheck.md} +0 -2
- data/docs/{NetworkLoadBalancerForwardingRuleProperties.md → models/NetworkLoadBalancerForwardingRuleProperties.md} +1 -1
- data/docs/{NetworkLoadBalancerForwardingRulePut.md → models/NetworkLoadBalancerForwardingRulePut.md} +0 -0
- 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} +0 -0
- data/docs/{NetworkLoadBalancerProperties.md → models/NetworkLoadBalancerProperties.md} +0 -0
- data/docs/{NetworkLoadBalancerPut.md → models/NetworkLoadBalancerPut.md} +0 -0
- data/docs/{NetworkLoadBalancers.md → models/NetworkLoadBalancers.md} +0 -0
- data/docs/{Nic.md → models/Nic.md} +0 -0
- data/docs/{NicEntities.md → models/NicEntities.md} +0 -0
- data/docs/{NicProperties.md → models/NicProperties.md} +0 -0
- data/docs/{NicPut.md → models/NicPut.md} +0 -0
- data/docs/{Nics.md → models/Nics.md} +0 -0
- data/docs/{NoStateMetaData.md → models/NoStateMetaData.md} +0 -0
- data/docs/{PaginationLinks.md → models/PaginationLinks.md} +0 -0
- data/docs/{Peer.md → models/Peer.md} +0 -0
- data/docs/{PrivateCrossConnect.md → models/PrivateCrossConnect.md} +0 -0
- data/docs/{PrivateCrossConnectProperties.md → models/PrivateCrossConnectProperties.md} +1 -1
- data/docs/{PrivateCrossConnects.md → models/PrivateCrossConnects.md} +0 -0
- data/docs/{RemoteConsoleUrl.md → models/RemoteConsoleUrl.md} +0 -0
- data/docs/{Request.md → models/Request.md} +0 -0
- data/docs/{RequestMetadata.md → models/RequestMetadata.md} +0 -0
- data/docs/{RequestProperties.md → models/RequestProperties.md} +0 -0
- data/docs/{RequestStatus.md → models/RequestStatus.md} +0 -0
- data/docs/{RequestStatusMetadata.md → models/RequestStatusMetadata.md} +0 -0
- data/docs/{RequestTarget.md → models/RequestTarget.md} +0 -0
- data/docs/{Requests.md → models/Requests.md} +1 -1
- data/docs/{Resource.md → models/Resource.md} +0 -0
- data/docs/{ResourceEntities.md → models/ResourceEntities.md} +0 -0
- data/docs/{ResourceGroups.md → models/ResourceGroups.md} +0 -0
- data/docs/{ResourceLimits.md → models/ResourceLimits.md} +0 -0
- data/docs/{ResourceProperties.md → models/ResourceProperties.md} +1 -1
- data/docs/{ResourceReference.md → models/ResourceReference.md} +0 -0
- data/docs/{Resources.md → models/Resources.md} +0 -0
- data/docs/{ResourcesUsers.md → models/ResourcesUsers.md} +0 -0
- data/docs/models/S3Bucket.md +18 -0
- data/docs/{S3Key.md → models/S3Key.md} +0 -0
- data/docs/{S3KeyMetadata.md → models/S3KeyMetadata.md} +0 -0
- data/docs/{S3KeyProperties.md → models/S3KeyProperties.md} +0 -0
- data/docs/{S3Keys.md → models/S3Keys.md} +0 -0
- data/docs/{S3ObjectStorageSSO.md → models/S3ObjectStorageSSO.md} +0 -0
- data/docs/{Server.md → models/Server.md} +0 -0
- data/docs/{ServerEntities.md → models/ServerEntities.md} +0 -0
- data/docs/{ServerProperties.md → models/ServerProperties.md} +0 -0
- data/docs/{Servers.md → models/Servers.md} +0 -0
- data/docs/{Snapshot.md → models/Snapshot.md} +0 -0
- data/docs/{SnapshotProperties.md → models/SnapshotProperties.md} +0 -0
- data/docs/{Snapshots.md → models/Snapshots.md} +0 -0
- data/docs/{TargetPortRange.md → models/TargetPortRange.md} +0 -0
- data/docs/{Template.md → models/Template.md} +0 -0
- data/docs/{TemplateProperties.md → models/TemplateProperties.md} +0 -0
- data/docs/{Templates.md → models/Templates.md} +0 -0
- data/docs/{Token.md → models/Token.md} +0 -0
- data/docs/{Type.md → models/Type.md} +0 -0
- data/docs/{User.md → models/User.md} +0 -0
- data/docs/{UserMetadata.md → models/UserMetadata.md} +0 -0
- data/docs/{UserPost.md → models/UserPost.md} +0 -0
- data/docs/{UserProperties.md → models/UserProperties.md} +0 -0
- data/docs/{UserPropertiesPost.md → models/UserPropertiesPost.md} +0 -0
- data/docs/{UserPropertiesPut.md → models/UserPropertiesPut.md} +0 -0
- data/docs/{UserPut.md → models/UserPut.md} +0 -0
- data/docs/models/Users.md +30 -0
- data/docs/{UsersEntities.md → models/UsersEntities.md} +0 -0
- data/docs/{Volume.md → models/Volume.md} +0 -0
- data/docs/{VolumeProperties.md → models/VolumeProperties.md} +2 -0
- data/docs/{Volumes.md → models/Volumes.md} +0 -0
- data/ionoscloud.gemspec +4 -4
- data/lib/ionoscloud/api/_api.rb +9 -9
- data/lib/ionoscloud/api/backup_units_api.rb +43 -43
- data/lib/ionoscloud/api/contract_resources_api.rb +9 -9
- data/lib/ionoscloud/api/data_centers_api.rb +81 -81
- data/lib/ionoscloud/api/firewall_rules_api.rb +55 -55
- data/lib/ionoscloud/api/flow_logs_api.rb +43 -43
- data/lib/ionoscloud/api/images_api.rb +33 -33
- data/lib/ionoscloud/api/ip_blocks_api.rb +57 -39
- data/lib/ionoscloud/api/kubernetes_api.rb +105 -105
- data/lib/ionoscloud/api/labels_api.rb +185 -221
- data/lib/ionoscloud/api/lans_api.rb +83 -83
- data/lib/ionoscloud/api/load_balancers_api.rb +87 -123
- data/lib/ionoscloud/api/locations_api.rb +31 -31
- data/lib/ionoscloud/api/nat_gateways_api.rb +139 -157
- data/lib/ionoscloud/api/network_interfaces_api.rb +55 -55
- data/lib/ionoscloud/api/network_load_balancers_api.rb +151 -169
- data/lib/ionoscloud/api/private_cross_connects_api.rb +35 -53
- data/lib/ionoscloud/api/requests_api.rb +25 -25
- data/lib/ionoscloud/api/servers_api.rb +191 -191
- data/lib/ionoscloud/api/snapshots_api.rb +33 -33
- data/lib/ionoscloud/api/templates_api.rb +7 -7
- data/lib/ionoscloud/api/user_management_api.rb +165 -147
- data/lib/ionoscloud/api/user_s3_keys_api.rb +37 -37
- data/lib/ionoscloud/api/volumes_api.rb +71 -71
- data/lib/ionoscloud/api_client.rb +8 -7
- data/lib/ionoscloud/api_error.rb +3 -3
- data/lib/ionoscloud/configuration.rb +3 -3
- data/lib/ionoscloud/models/attached_volumes.rb +5 -3
- data/lib/ionoscloud/models/backup_unit.rb +5 -3
- data/lib/ionoscloud/models/backup_unit_properties.rb +5 -3
- data/lib/ionoscloud/models/backup_unit_sso.rb +5 -3
- data/lib/ionoscloud/models/backup_units.rb +5 -3
- data/lib/ionoscloud/models/balanced_nics.rb +5 -3
- data/lib/ionoscloud/models/cdroms.rb +5 -3
- data/lib/ionoscloud/models/connectable_datacenter.rb +5 -3
- data/lib/ionoscloud/models/contract.rb +5 -3
- data/lib/ionoscloud/models/contract_properties.rb +5 -3
- data/lib/ionoscloud/models/contracts.rb +5 -3
- data/lib/ionoscloud/models/cpu_architecture_properties.rb +5 -3
- data/lib/ionoscloud/models/data_center_entities.rb +5 -3
- data/lib/ionoscloud/models/datacenter.rb +5 -3
- data/lib/ionoscloud/models/datacenter_element_metadata.rb +5 -3
- data/lib/ionoscloud/models/datacenter_properties.rb +5 -3
- data/lib/ionoscloud/models/datacenters.rb +5 -3
- data/lib/ionoscloud/models/error.rb +5 -3
- data/lib/ionoscloud/models/error_message.rb +5 -3
- data/lib/ionoscloud/models/firewall_rule.rb +5 -3
- data/lib/ionoscloud/models/firewall_rules.rb +5 -3
- data/lib/ionoscloud/models/firewallrule_properties.rb +5 -3
- data/lib/ionoscloud/models/flow_log.rb +5 -3
- data/lib/ionoscloud/models/flow_log_properties.rb +5 -3
- data/lib/ionoscloud/models/flow_log_put.rb +5 -3
- data/lib/ionoscloud/models/flow_logs.rb +5 -3
- data/lib/ionoscloud/models/group.rb +5 -3
- data/lib/ionoscloud/models/group_entities.rb +5 -3
- data/lib/ionoscloud/models/group_members.rb +5 -3
- data/lib/ionoscloud/models/group_properties.rb +5 -3
- data/lib/ionoscloud/models/group_share.rb +5 -3
- data/lib/ionoscloud/models/group_share_properties.rb +5 -3
- data/lib/ionoscloud/models/group_shares.rb +5 -3
- data/lib/ionoscloud/models/group_users.rb +5 -3
- data/lib/ionoscloud/models/groups.rb +5 -3
- data/lib/ionoscloud/models/image.rb +5 -3
- data/lib/ionoscloud/models/image_properties.rb +7 -5
- data/lib/ionoscloud/models/images.rb +5 -3
- data/lib/ionoscloud/models/info.rb +5 -3
- data/lib/ionoscloud/models/ip_block.rb +5 -3
- data/lib/ionoscloud/models/ip_block_properties.rb +5 -3
- data/lib/ionoscloud/models/ip_blocks.rb +38 -7
- data/lib/ionoscloud/models/ip_consumer.rb +5 -3
- data/lib/ionoscloud/models/ip_failover.rb +5 -3
- data/lib/ionoscloud/models/kubernetes_auto_scaling.rb +5 -3
- data/lib/ionoscloud/models/kubernetes_cluster.rb +5 -3
- data/lib/ionoscloud/models/kubernetes_cluster_entities.rb +5 -3
- data/lib/ionoscloud/models/kubernetes_cluster_for_post.rb +5 -3
- data/lib/ionoscloud/models/kubernetes_cluster_for_put.rb +5 -3
- data/lib/ionoscloud/models/kubernetes_cluster_properties.rb +27 -11
- data/lib/ionoscloud/models/kubernetes_cluster_properties_for_post.rb +27 -11
- data/lib/ionoscloud/models/kubernetes_cluster_properties_for_put.rb +33 -7
- data/lib/ionoscloud/models/kubernetes_clusters.rb +5 -3
- data/lib/ionoscloud/models/kubernetes_maintenance_window.rb +5 -3
- data/lib/ionoscloud/models/kubernetes_node.rb +5 -3
- data/lib/ionoscloud/models/kubernetes_node_metadata.rb +5 -3
- data/lib/ionoscloud/models/kubernetes_node_pool.rb +5 -3
- data/lib/ionoscloud/models/kubernetes_node_pool_for_post.rb +5 -3
- data/lib/ionoscloud/models/kubernetes_node_pool_for_put.rb +5 -3
- data/lib/ionoscloud/models/kubernetes_node_pool_lan.rb +10 -3
- data/lib/ionoscloud/models/kubernetes_node_pool_lan_routes.rb +5 -3
- data/lib/ionoscloud/models/kubernetes_node_pool_properties.rb +19 -7
- data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_post.rb +19 -7
- data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_put.rb +5 -3
- data/lib/ionoscloud/models/kubernetes_node_pools.rb +5 -3
- data/lib/ionoscloud/models/kubernetes_node_properties.rb +5 -3
- data/lib/ionoscloud/models/kubernetes_nodes.rb +5 -3
- data/lib/ionoscloud/models/label.rb +5 -3
- data/lib/ionoscloud/models/label_properties.rb +5 -3
- data/lib/ionoscloud/models/label_resource.rb +5 -3
- data/lib/ionoscloud/models/label_resource_properties.rb +5 -3
- data/lib/ionoscloud/models/label_resources.rb +5 -3
- data/lib/ionoscloud/models/labels.rb +5 -3
- data/lib/ionoscloud/models/lan.rb +5 -3
- data/lib/ionoscloud/models/lan_entities.rb +5 -3
- data/lib/ionoscloud/models/lan_nics.rb +5 -3
- data/lib/ionoscloud/models/lan_post.rb +5 -3
- data/lib/ionoscloud/models/lan_properties.rb +5 -3
- data/lib/ionoscloud/models/lan_properties_post.rb +5 -3
- data/lib/ionoscloud/models/lans.rb +5 -3
- data/lib/ionoscloud/models/loadbalancer.rb +5 -3
- data/lib/ionoscloud/models/loadbalancer_entities.rb +5 -3
- data/lib/ionoscloud/models/loadbalancer_properties.rb +5 -3
- data/lib/ionoscloud/models/loadbalancers.rb +5 -3
- data/lib/ionoscloud/models/location.rb +5 -3
- data/lib/ionoscloud/models/location_properties.rb +5 -3
- data/lib/ionoscloud/models/locations.rb +5 -3
- data/lib/ionoscloud/models/nat_gateway.rb +5 -3
- data/lib/ionoscloud/models/nat_gateway_entities.rb +5 -3
- data/lib/ionoscloud/models/nat_gateway_lan_properties.rb +5 -3
- data/lib/ionoscloud/models/nat_gateway_properties.rb +5 -3
- data/lib/ionoscloud/models/nat_gateway_put.rb +5 -3
- data/lib/ionoscloud/models/nat_gateway_rule.rb +5 -3
- data/lib/ionoscloud/models/nat_gateway_rule_properties.rb +5 -3
- data/lib/ionoscloud/models/nat_gateway_rule_protocol.rb +3 -3
- data/lib/ionoscloud/models/nat_gateway_rule_put.rb +5 -3
- data/lib/ionoscloud/models/nat_gateway_rule_type.rb +3 -3
- data/lib/ionoscloud/models/nat_gateway_rules.rb +5 -3
- data/lib/ionoscloud/models/nat_gateways.rb +5 -3
- data/lib/ionoscloud/models/network_load_balancer.rb +5 -3
- data/lib/ionoscloud/models/network_load_balancer_entities.rb +5 -3
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule.rb +5 -3
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_health_check.rb +6 -14
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_properties.rb +7 -5
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_put.rb +5 -3
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_target.rb +5 -3
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_target_health_check.rb +5 -3
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rules.rb +5 -3
- data/lib/ionoscloud/models/network_load_balancer_properties.rb +5 -3
- data/lib/ionoscloud/models/network_load_balancer_put.rb +5 -3
- data/lib/ionoscloud/models/network_load_balancers.rb +5 -3
- data/lib/ionoscloud/models/nic.rb +5 -3
- data/lib/ionoscloud/models/nic_entities.rb +5 -3
- data/lib/ionoscloud/models/nic_properties.rb +5 -3
- data/lib/ionoscloud/models/nic_put.rb +5 -3
- data/lib/ionoscloud/models/nics.rb +5 -3
- data/lib/ionoscloud/models/no_state_meta_data.rb +5 -3
- data/lib/ionoscloud/models/pagination_links.rb +5 -3
- data/lib/ionoscloud/models/peer.rb +5 -3
- data/lib/ionoscloud/models/private_cross_connect.rb +5 -3
- data/lib/ionoscloud/models/private_cross_connect_properties.rb +6 -4
- data/lib/ionoscloud/models/private_cross_connects.rb +5 -3
- data/lib/ionoscloud/models/remote_console_url.rb +5 -3
- data/lib/ionoscloud/models/request.rb +5 -3
- data/lib/ionoscloud/models/request_metadata.rb +5 -3
- data/lib/ionoscloud/models/request_properties.rb +5 -3
- data/lib/ionoscloud/models/request_status.rb +5 -3
- data/lib/ionoscloud/models/request_status_metadata.rb +5 -3
- data/lib/ionoscloud/models/request_target.rb +5 -3
- data/lib/ionoscloud/models/requests.rb +6 -4
- data/lib/ionoscloud/models/resource.rb +5 -3
- data/lib/ionoscloud/models/resource_entities.rb +5 -3
- data/lib/ionoscloud/models/resource_groups.rb +5 -3
- data/lib/ionoscloud/models/resource_limits.rb +5 -3
- data/lib/ionoscloud/models/resource_properties.rb +6 -4
- data/lib/ionoscloud/models/resource_reference.rb +5 -3
- data/lib/ionoscloud/models/resources.rb +5 -3
- data/lib/ionoscloud/models/resources_users.rb +5 -3
- data/lib/ionoscloud/models/s3_bucket.rb +224 -0
- data/lib/ionoscloud/models/s3_key.rb +5 -3
- data/lib/ionoscloud/models/s3_key_metadata.rb +5 -3
- data/lib/ionoscloud/models/s3_key_properties.rb +5 -3
- data/lib/ionoscloud/models/s3_keys.rb +5 -3
- data/lib/ionoscloud/models/s3_object_storage_sso.rb +5 -3
- data/lib/ionoscloud/models/server.rb +5 -3
- data/lib/ionoscloud/models/server_entities.rb +5 -3
- data/lib/ionoscloud/models/server_properties.rb +5 -3
- data/lib/ionoscloud/models/servers.rb +5 -3
- data/lib/ionoscloud/models/snapshot.rb +5 -3
- data/lib/ionoscloud/models/snapshot_properties.rb +5 -3
- data/lib/ionoscloud/models/snapshots.rb +5 -3
- data/lib/ionoscloud/models/target_port_range.rb +5 -3
- data/lib/ionoscloud/models/template.rb +5 -3
- data/lib/ionoscloud/models/template_properties.rb +5 -3
- data/lib/ionoscloud/models/templates.rb +5 -3
- data/lib/ionoscloud/models/token.rb +5 -3
- data/lib/ionoscloud/models/type.rb +5 -5
- data/lib/ionoscloud/models/user.rb +5 -3
- data/lib/ionoscloud/models/user_metadata.rb +5 -3
- data/lib/ionoscloud/models/user_post.rb +5 -3
- data/lib/ionoscloud/models/user_properties.rb +5 -3
- data/lib/ionoscloud/models/user_properties_post.rb +5 -3
- data/lib/ionoscloud/models/user_properties_put.rb +5 -3
- data/lib/ionoscloud/models/user_put.rb +5 -3
- data/lib/ionoscloud/models/users.rb +38 -7
- data/lib/ionoscloud/models/users_entities.rb +5 -3
- data/lib/ionoscloud/models/volume.rb +5 -3
- data/lib/ionoscloud/models/volume_properties.rb +19 -8
- data/lib/ionoscloud/models/volumes.rb +5 -3
- data/lib/ionoscloud/version.rb +4 -4
- data/lib/ionoscloud.rb +4 -3
- data/spec/api/_api_spec.rb +6 -6
- data/spec/api/backup_units_api_spec.rb +23 -23
- data/spec/api/contract_resources_api_spec.rb +6 -6
- data/spec/api/data_centers_api_spec.rb +42 -42
- data/spec/api/firewall_rules_api_spec.rb +29 -29
- data/spec/api/flow_logs_api_spec.rb +23 -23
- data/spec/api/images_api_spec.rb +18 -18
- data/spec/api/ip_blocks_api_spec.rb +23 -21
- data/spec/api/kubernetes_api_spec.rb +50 -50
- data/spec/api/labels_api_spec.rb +94 -98
- data/spec/api/lans_api_spec.rb +43 -43
- data/spec/api/load_balancers_api_spec.rb +45 -49
- data/spec/api/locations_api_spec.rb +17 -17
- data/spec/api/nat_gateways_api_spec.rb +71 -73
- data/spec/api/network_interfaces_api_spec.rb +29 -29
- data/spec/api/network_load_balancers_api_spec.rb +77 -79
- data/spec/api/private_cross_connects_api_spec.rb +19 -21
- data/spec/api/requests_api_spec.rb +14 -14
- data/spec/api/servers_api_spec.rb +97 -97
- data/spec/api/snapshots_api_spec.rb +18 -18
- data/spec/api/templates_api_spec.rb +5 -5
- data/spec/api/user_management_api_spec.rb +77 -75
- data/spec/api/user_s3_keys_api_spec.rb +20 -20
- data/spec/api/volumes_api_spec.rb +37 -37
- data/spec/api_client_spec.rb +3 -3
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/attached_volumes_spec.rb +3 -3
- data/spec/models/backup_unit_properties_spec.rb +3 -3
- data/spec/models/backup_unit_spec.rb +3 -3
- data/spec/models/backup_unit_sso_spec.rb +3 -3
- data/spec/models/backup_units_spec.rb +3 -3
- data/spec/models/balanced_nics_spec.rb +3 -3
- data/spec/models/cdroms_spec.rb +3 -3
- data/spec/models/connectable_datacenter_spec.rb +3 -3
- data/spec/models/contract_properties_spec.rb +3 -3
- data/spec/models/contract_spec.rb +3 -3
- data/spec/models/contracts_spec.rb +3 -3
- data/spec/models/cpu_architecture_properties_spec.rb +3 -3
- data/spec/models/data_center_entities_spec.rb +3 -3
- data/spec/models/datacenter_element_metadata_spec.rb +3 -3
- data/spec/models/datacenter_properties_spec.rb +3 -3
- data/spec/models/datacenter_spec.rb +3 -3
- data/spec/models/datacenters_spec.rb +3 -3
- data/spec/models/error_message_spec.rb +3 -3
- data/spec/models/error_spec.rb +3 -3
- data/spec/models/firewall_rule_spec.rb +3 -3
- data/spec/models/firewall_rules_spec.rb +3 -3
- data/spec/models/firewallrule_properties_spec.rb +3 -3
- data/spec/models/flow_log_properties_spec.rb +3 -3
- data/spec/models/flow_log_put_spec.rb +3 -3
- data/spec/models/flow_log_spec.rb +3 -3
- data/spec/models/flow_logs_spec.rb +3 -3
- data/spec/models/group_entities_spec.rb +3 -3
- data/spec/models/group_members_spec.rb +3 -3
- data/spec/models/group_properties_spec.rb +3 -3
- data/spec/models/group_share_properties_spec.rb +3 -3
- data/spec/models/group_share_spec.rb +3 -3
- data/spec/models/group_shares_spec.rb +3 -3
- data/spec/models/group_spec.rb +3 -3
- data/spec/models/group_users_spec.rb +3 -3
- data/spec/models/groups_spec.rb +3 -3
- data/spec/models/image_properties_spec.rb +4 -4
- data/spec/models/image_spec.rb +3 -3
- data/spec/models/images_spec.rb +3 -3
- data/spec/models/info_spec.rb +3 -3
- data/spec/models/ip_block_properties_spec.rb +3 -3
- data/spec/models/ip_block_spec.rb +3 -3
- data/spec/models/ip_blocks_spec.rb +21 -3
- data/spec/models/ip_consumer_spec.rb +3 -3
- data/spec/models/ip_failover_spec.rb +3 -3
- data/spec/models/kubernetes_auto_scaling_spec.rb +3 -3
- data/spec/models/kubernetes_cluster_entities_spec.rb +3 -3
- data/spec/models/kubernetes_cluster_for_post_spec.rb +3 -3
- data/spec/models/kubernetes_cluster_for_put_spec.rb +3 -3
- data/spec/models/kubernetes_cluster_properties_for_post_spec.rb +10 -4
- data/spec/models/kubernetes_cluster_properties_for_put_spec.rb +15 -3
- data/spec/models/kubernetes_cluster_properties_spec.rb +10 -4
- data/spec/models/kubernetes_cluster_spec.rb +3 -3
- data/spec/models/kubernetes_clusters_spec.rb +3 -3
- data/spec/models/kubernetes_maintenance_window_spec.rb +3 -3
- data/spec/models/kubernetes_node_metadata_spec.rb +3 -3
- data/spec/models/kubernetes_node_pool_for_post_spec.rb +3 -3
- data/spec/models/kubernetes_node_pool_for_put_spec.rb +3 -3
- data/spec/models/kubernetes_node_pool_lan_routes_spec.rb +3 -3
- data/spec/models/kubernetes_node_pool_lan_spec.rb +3 -3
- data/spec/models/kubernetes_node_pool_properties_for_post_spec.rb +9 -3
- data/spec/models/kubernetes_node_pool_properties_for_put_spec.rb +3 -3
- data/spec/models/kubernetes_node_pool_properties_spec.rb +9 -3
- data/spec/models/kubernetes_node_pool_spec.rb +3 -3
- data/spec/models/kubernetes_node_pools_spec.rb +3 -3
- data/spec/models/kubernetes_node_properties_spec.rb +3 -3
- data/spec/models/kubernetes_node_spec.rb +3 -3
- data/spec/models/kubernetes_nodes_spec.rb +3 -3
- data/spec/models/label_properties_spec.rb +3 -3
- data/spec/models/label_resource_properties_spec.rb +3 -3
- data/spec/models/label_resource_spec.rb +3 -3
- data/spec/models/label_resources_spec.rb +3 -3
- data/spec/models/label_spec.rb +3 -3
- data/spec/models/labels_spec.rb +3 -3
- data/spec/models/lan_entities_spec.rb +3 -3
- data/spec/models/lan_nics_spec.rb +3 -3
- data/spec/models/lan_post_spec.rb +3 -3
- data/spec/models/lan_properties_post_spec.rb +3 -3
- data/spec/models/lan_properties_spec.rb +3 -3
- data/spec/models/lan_spec.rb +3 -3
- data/spec/models/lans_spec.rb +3 -3
- data/spec/models/loadbalancer_entities_spec.rb +3 -3
- data/spec/models/loadbalancer_properties_spec.rb +3 -3
- data/spec/models/loadbalancer_spec.rb +3 -3
- data/spec/models/loadbalancers_spec.rb +3 -3
- data/spec/models/location_properties_spec.rb +3 -3
- data/spec/models/location_spec.rb +3 -3
- data/spec/models/locations_spec.rb +3 -3
- data/spec/models/nat_gateway_entities_spec.rb +3 -3
- data/spec/models/nat_gateway_lan_properties_spec.rb +3 -3
- data/spec/models/nat_gateway_properties_spec.rb +3 -3
- data/spec/models/nat_gateway_put_spec.rb +3 -3
- data/spec/models/nat_gateway_rule_properties_spec.rb +3 -3
- data/spec/models/nat_gateway_rule_protocol_spec.rb +3 -3
- data/spec/models/nat_gateway_rule_put_spec.rb +3 -3
- data/spec/models/nat_gateway_rule_spec.rb +3 -3
- data/spec/models/nat_gateway_rule_type_spec.rb +3 -3
- data/spec/models/nat_gateway_rules_spec.rb +3 -3
- data/spec/models/nat_gateway_spec.rb +3 -3
- data/spec/models/nat_gateways_spec.rb +3 -3
- data/spec/models/network_load_balancer_entities_spec.rb +3 -3
- data/spec/models/network_load_balancer_forwarding_rule_health_check_spec.rb +3 -9
- data/spec/models/network_load_balancer_forwarding_rule_properties_spec.rb +4 -4
- data/spec/models/network_load_balancer_forwarding_rule_put_spec.rb +3 -3
- data/spec/models/network_load_balancer_forwarding_rule_spec.rb +3 -3
- data/spec/models/network_load_balancer_forwarding_rule_target_health_check_spec.rb +3 -3
- data/spec/models/network_load_balancer_forwarding_rule_target_spec.rb +3 -3
- data/spec/models/network_load_balancer_forwarding_rules_spec.rb +3 -3
- data/spec/models/network_load_balancer_properties_spec.rb +3 -3
- data/spec/models/network_load_balancer_put_spec.rb +3 -3
- data/spec/models/network_load_balancer_spec.rb +3 -3
- data/spec/models/network_load_balancers_spec.rb +3 -3
- data/spec/models/nic_entities_spec.rb +3 -3
- data/spec/models/nic_properties_spec.rb +3 -3
- data/spec/models/nic_put_spec.rb +3 -3
- data/spec/models/nic_spec.rb +3 -3
- data/spec/models/nics_spec.rb +3 -3
- data/spec/models/no_state_meta_data_spec.rb +3 -3
- data/spec/models/pagination_links_spec.rb +3 -3
- data/spec/models/peer_spec.rb +3 -3
- data/spec/models/private_cross_connect_properties_spec.rb +3 -3
- data/spec/models/private_cross_connect_spec.rb +3 -3
- data/spec/models/private_cross_connects_spec.rb +3 -3
- data/spec/models/remote_console_url_spec.rb +3 -3
- data/spec/models/request_metadata_spec.rb +3 -3
- data/spec/models/request_properties_spec.rb +3 -3
- data/spec/models/request_spec.rb +3 -3
- data/spec/models/request_status_metadata_spec.rb +3 -3
- data/spec/models/request_status_spec.rb +3 -3
- data/spec/models/request_target_spec.rb +3 -3
- data/spec/models/requests_spec.rb +3 -3
- data/spec/models/resource_entities_spec.rb +3 -3
- data/spec/models/resource_groups_spec.rb +3 -3
- data/spec/models/resource_limits_spec.rb +3 -3
- data/spec/models/resource_properties_spec.rb +3 -3
- data/spec/models/resource_reference_spec.rb +3 -3
- data/spec/models/resource_spec.rb +3 -3
- data/spec/models/resources_spec.rb +3 -3
- data/spec/models/resources_users_spec.rb +3 -3
- data/spec/models/s3_bucket_spec.rb +34 -0
- data/spec/models/s3_key_metadata_spec.rb +3 -3
- data/spec/models/s3_key_properties_spec.rb +3 -3
- data/spec/models/s3_key_spec.rb +3 -3
- data/spec/models/s3_keys_spec.rb +3 -3
- data/spec/models/s3_object_storage_sso_spec.rb +3 -3
- data/spec/models/server_entities_spec.rb +3 -3
- data/spec/models/server_properties_spec.rb +3 -3
- data/spec/models/server_spec.rb +3 -3
- data/spec/models/servers_spec.rb +3 -3
- data/spec/models/snapshot_properties_spec.rb +3 -3
- data/spec/models/snapshot_spec.rb +3 -3
- data/spec/models/snapshots_spec.rb +3 -3
- data/spec/models/target_port_range_spec.rb +3 -3
- data/spec/models/template_properties_spec.rb +3 -3
- data/spec/models/template_spec.rb +3 -3
- data/spec/models/templates_spec.rb +3 -3
- data/spec/models/token_spec.rb +3 -3
- data/spec/models/type_spec.rb +3 -3
- data/spec/models/user_metadata_spec.rb +3 -3
- data/spec/models/user_post_spec.rb +3 -3
- data/spec/models/user_properties_post_spec.rb +3 -3
- data/spec/models/user_properties_put_spec.rb +3 -3
- data/spec/models/user_properties_spec.rb +3 -3
- data/spec/models/user_put_spec.rb +3 -3
- data/spec/models/user_spec.rb +3 -3
- data/spec/models/users_entities_spec.rb +3 -3
- data/spec/models/users_spec.rb +21 -3
- data/spec/models/volume_properties_spec.rb +11 -5
- data/spec/models/volume_spec.rb +3 -3
- data/spec/models/volumes_spec.rb +3 -3
- data/spec/spec_helper.rb +3 -3
- metadata +368 -364
- data/docs/DataCentersApi.md +0 -516
- data/docs/DefaultApi.md +0 -78
- data/docs/Users.md +0 -24
@@ -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
|
-
The version of the OpenAPI document: 6.0-SDK.
|
6
|
+
The version of the OpenAPI document: 6.0-SDK.3
|
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
|
|
@@ -24,9 +24,9 @@ module Ionoscloud
|
|
24
24
|
# @param datacenter_id [String] The unique ID of the Data Center
|
25
25
|
# @param key [String] The key of the Label
|
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
|
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
30
|
# @return [nil]
|
31
31
|
def datacenters_labels_delete(datacenter_id, key, opts = {})
|
32
32
|
datacenters_labels_delete_with_http_info(datacenter_id, key, opts)
|
@@ -38,9 +38,9 @@ module Ionoscloud
|
|
38
38
|
# @param datacenter_id [String] The unique ID of the Data Center
|
39
39
|
# @param key [String] The key of the Label
|
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
|
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
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
|
@@ -110,11 +110,9 @@ module Ionoscloud
|
|
110
110
|
# @param datacenter_id [String] The unique ID of the Data Center
|
111
111
|
# @param key [String] The key of the Label
|
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)
|
@@ -126,11 +124,9 @@ module Ionoscloud
|
|
126
124
|
# @param datacenter_id [String] The unique ID of the Data Center
|
127
125
|
# @param key [String] The key of the Label
|
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] || {}
|
@@ -213,9 +195,9 @@ module Ionoscloud
|
|
213
195
|
# You can retrieve a list of all labels associated with a data center.
|
214
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)
|
@@ -226,9 +208,9 @@ module Ionoscloud
|
|
226
208
|
# You can retrieve a list of all labels associated with a data center.
|
227
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
|
@@ -294,9 +276,9 @@ module Ionoscloud
|
|
294
276
|
# @param datacenter_id [String] The unique ID of the Data Center
|
295
277
|
# @param label [LabelResource] Label to be added
|
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)
|
@@ -308,9 +290,9 @@ module Ionoscloud
|
|
308
290
|
# @param datacenter_id [String] The unique ID of the Data Center
|
309
291
|
# @param label [LabelResource] Label to be added
|
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
|
@@ -383,9 +365,9 @@ module Ionoscloud
|
|
383
365
|
# @param key [String] The key of the Label
|
384
366
|
# @param label [LabelResource] 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)
|
@@ -398,9 +380,9 @@ module Ionoscloud
|
|
398
380
|
# @param key [String] The key of the Label
|
399
381
|
# @param label [LabelResource] 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
|
@@ -473,13 +455,13 @@ module Ionoscloud
|
|
473
455
|
|
474
456
|
# Delete a Label from Server
|
475
457
|
# This will remove a label from the server.
|
476
|
-
# @param datacenter_id [String] The unique ID of the
|
458
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
477
459
|
# @param server_id [String] The unique ID of the Server
|
478
460
|
# @param key [String] The key of the Label
|
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
|
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.
|
483
465
|
# @return [nil]
|
484
466
|
def datacenters_servers_labels_delete(datacenter_id, server_id, key, opts = {})
|
485
467
|
datacenters_servers_labels_delete_with_http_info(datacenter_id, server_id, key, opts)
|
@@ -488,13 +470,13 @@ module Ionoscloud
|
|
488
470
|
|
489
471
|
# Delete a Label from Server
|
490
472
|
# This will remove a label from the server.
|
491
|
-
# @param datacenter_id [String] The unique ID of the
|
473
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
492
474
|
# @param server_id [String] The unique ID of the Server
|
493
475
|
# @param key [String] The key of the Label
|
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
|
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.
|
498
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
|
@@ -565,13 +547,13 @@ module Ionoscloud
|
|
565
547
|
|
566
548
|
# Retrieve a Label of Server
|
567
549
|
# This will retrieve the properties of a associated label to a server.
|
568
|
-
# @param datacenter_id [String] The unique ID of the
|
550
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
569
551
|
# @param server_id [String] The unique ID of the Server
|
570
552
|
# @param key [String] The key of the Label
|
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)
|
@@ -580,13 +562,13 @@ module Ionoscloud
|
|
580
562
|
|
581
563
|
# Retrieve a Label of Server
|
582
564
|
# This will retrieve the properties of a associated label to a server.
|
583
|
-
# @param datacenter_id [String] The unique ID of the
|
565
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
584
566
|
# @param server_id [String] The unique ID of the Server
|
585
567
|
# @param key [String] The key of the Label
|
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
|
@@ -657,12 +639,12 @@ module Ionoscloud
|
|
657
639
|
|
658
640
|
# List all Server Labels
|
659
641
|
# You can retrieve a list of all labels associated with a server.
|
660
|
-
# @param datacenter_id [String] The unique ID of the
|
642
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
661
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)
|
@@ -671,12 +653,12 @@ module Ionoscloud
|
|
671
653
|
|
672
654
|
# List all Server Labels
|
673
655
|
# You can retrieve a list of all labels associated with a server.
|
674
|
-
# @param datacenter_id [String] The unique ID of the
|
656
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
675
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
|
@@ -743,13 +725,13 @@ module Ionoscloud
|
|
743
725
|
|
744
726
|
# Add a Label to Server
|
745
727
|
# This will add a label to the server.
|
746
|
-
# @param datacenter_id [String] The unique ID of the
|
728
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
747
729
|
# @param server_id [String] The unique ID of the Server
|
748
730
|
# @param label [LabelResource] Label to be added
|
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)
|
@@ -758,13 +740,13 @@ module Ionoscloud
|
|
758
740
|
|
759
741
|
# Add a Label to Server
|
760
742
|
# This will add a label to the server.
|
761
|
-
# @param datacenter_id [String] The unique ID of the
|
743
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
762
744
|
# @param server_id [String] The unique ID of the Server
|
763
745
|
# @param label [LabelResource] Label to be added
|
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
|
@@ -837,16 +819,14 @@ module Ionoscloud
|
|
837
819
|
|
838
820
|
# Modify a Label of Server
|
839
821
|
# This will modify the value of the label on a server.
|
840
|
-
# @param datacenter_id [String] The unique ID of the
|
822
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
841
823
|
# @param server_id [String] The unique ID of the Server
|
842
824
|
# @param key [String] The key of the Label
|
843
825
|
# @param label [LabelResource] 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)
|
@@ -855,16 +835,14 @@ module Ionoscloud
|
|
855
835
|
|
856
836
|
# Modify a Label of Server
|
857
837
|
# This will modify the value of the label on a server.
|
858
|
-
# @param datacenter_id [String] The unique ID of the
|
838
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
859
839
|
# @param server_id [String] The unique ID of the Server
|
860
840
|
# @param key [String] The key of the Label
|
861
841
|
# @param label [LabelResource] 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] || {}
|
@@ -955,13 +919,13 @@ module Ionoscloud
|
|
955
919
|
|
956
920
|
# Delete a Label from Volume
|
957
921
|
# This will remove a label from the volume.
|
958
|
-
# @param datacenter_id [String] The unique ID of the
|
922
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
959
923
|
# @param volume_id [String] The unique ID of the Volume
|
960
924
|
# @param key [String] The key of the Label
|
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
|
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.
|
965
929
|
# @return [nil]
|
966
930
|
def datacenters_volumes_labels_delete(datacenter_id, volume_id, key, opts = {})
|
967
931
|
datacenters_volumes_labels_delete_with_http_info(datacenter_id, volume_id, key, opts)
|
@@ -970,13 +934,13 @@ module Ionoscloud
|
|
970
934
|
|
971
935
|
# Delete a Label from Volume
|
972
936
|
# This will remove a label from the volume.
|
973
|
-
# @param datacenter_id [String] The unique ID of the
|
937
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
974
938
|
# @param volume_id [String] The unique ID of the Volume
|
975
939
|
# @param key [String] The key of the Label
|
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
|
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.
|
980
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
|
@@ -1047,13 +1011,13 @@ module Ionoscloud
|
|
1047
1011
|
|
1048
1012
|
# Retrieve a Label of Volume
|
1049
1013
|
# This will retrieve the properties of a associated label to a volume.
|
1050
|
-
# @param datacenter_id [String] The unique ID of the
|
1014
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
1051
1015
|
# @param volume_id [String] The unique ID of the Volume
|
1052
1016
|
# @param key [String] The key of the Label
|
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)
|
@@ -1062,13 +1026,13 @@ module Ionoscloud
|
|
1062
1026
|
|
1063
1027
|
# Retrieve a Label of Volume
|
1064
1028
|
# This will retrieve the properties of a associated label to a volume.
|
1065
|
-
# @param datacenter_id [String] The unique ID of the
|
1029
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
1066
1030
|
# @param volume_id [String] The unique ID of the Volume
|
1067
1031
|
# @param key [String] The key of the Label
|
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
|
@@ -1139,12 +1103,12 @@ module Ionoscloud
|
|
1139
1103
|
|
1140
1104
|
# List all Volume Labels
|
1141
1105
|
# You can retrieve a list of all labels associated with a volume.
|
1142
|
-
# @param datacenter_id [String] The unique ID of the
|
1106
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
1143
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)
|
@@ -1153,12 +1117,12 @@ module Ionoscloud
|
|
1153
1117
|
|
1154
1118
|
# List all Volume Labels
|
1155
1119
|
# You can retrieve a list of all labels associated with a volume.
|
1156
|
-
# @param datacenter_id [String] The unique ID of the
|
1120
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
1157
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
|
@@ -1225,13 +1189,13 @@ module Ionoscloud
|
|
1225
1189
|
|
1226
1190
|
# Add a Label to Volume
|
1227
1191
|
# This will add a label to the volume.
|
1228
|
-
# @param datacenter_id [String] The unique ID of the
|
1192
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
1229
1193
|
# @param volume_id [String] The unique ID of the Volume
|
1230
1194
|
# @param label [LabelResource] Label to be added
|
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)
|
@@ -1240,13 +1204,13 @@ module Ionoscloud
|
|
1240
1204
|
|
1241
1205
|
# Add a Label to Volume
|
1242
1206
|
# This will add a label to the volume.
|
1243
|
-
# @param datacenter_id [String] The unique ID of the
|
1207
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
1244
1208
|
# @param volume_id [String] The unique ID of the Volume
|
1245
1209
|
# @param label [LabelResource] Label to be added
|
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
|
@@ -1319,14 +1283,14 @@ module Ionoscloud
|
|
1319
1283
|
|
1320
1284
|
# Modify a Label of Volume
|
1321
1285
|
# This will modify the value of the label on a volume.
|
1322
|
-
# @param datacenter_id [String] The unique ID of the
|
1286
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
1323
1287
|
# @param volume_id [String] The unique ID of the Volume
|
1324
1288
|
# @param key [String] The key of the Label
|
1325
1289
|
# @param label [LabelResource] 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)
|
@@ -1335,14 +1299,14 @@ module Ionoscloud
|
|
1335
1299
|
|
1336
1300
|
# Modify a Label of Volume
|
1337
1301
|
# This will modify the value of the label on a volume.
|
1338
|
-
# @param datacenter_id [String] The unique ID of the
|
1302
|
+
# @param datacenter_id [String] The unique ID of the data center.
|
1339
1303
|
# @param volume_id [String] The unique ID of the Volume
|
1340
1304
|
# @param key [String] The key of the Label
|
1341
1305
|
# @param label [LabelResource] 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
|
@@ -1422,9 +1386,9 @@ module Ionoscloud
|
|
1422
1386
|
# @param ipblock_id [String] The unique ID of the Ip Block
|
1423
1387
|
# @param key [String] The key of the Label
|
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
|
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.
|
1428
1392
|
# @return [nil]
|
1429
1393
|
def ipblocks_labels_delete(ipblock_id, key, opts = {})
|
1430
1394
|
ipblocks_labels_delete_with_http_info(ipblock_id, key, opts)
|
@@ -1436,9 +1400,9 @@ module Ionoscloud
|
|
1436
1400
|
# @param ipblock_id [String] The unique ID of the Ip Block
|
1437
1401
|
# @param key [String] The key of the Label
|
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
|
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.
|
1442
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
|
@@ -1508,9 +1472,9 @@ module Ionoscloud
|
|
1508
1472
|
# @param ipblock_id [String] The unique ID of the Ip Block
|
1509
1473
|
# @param key [String] The key of the Label
|
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)
|
@@ -1522,9 +1486,9 @@ module Ionoscloud
|
|
1522
1486
|
# @param ipblock_id [String] The unique ID of the Ip Block
|
1523
1487
|
# @param key [String] The key of the Label
|
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
|
@@ -1593,9 +1557,9 @@ module Ionoscloud
|
|
1593
1557
|
# You can retrieve a list of all labels associated with a IP Block.
|
1594
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)
|
@@ -1606,9 +1570,9 @@ module Ionoscloud
|
|
1606
1570
|
# You can retrieve a list of all labels associated with a IP Block.
|
1607
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
|
@@ -1674,9 +1638,9 @@ module Ionoscloud
|
|
1674
1638
|
# @param ipblock_id [String] The unique ID of the Ip Block
|
1675
1639
|
# @param label [LabelResource] Label to be added
|
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)
|
@@ -1688,9 +1652,9 @@ module Ionoscloud
|
|
1688
1652
|
# @param ipblock_id [String] The unique ID of the Ip Block
|
1689
1653
|
# @param label [LabelResource] Label to be added
|
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
|
@@ -1763,9 +1727,9 @@ module Ionoscloud
|
|
1763
1727
|
# @param key [String] The key of the Label
|
1764
1728
|
# @param label [LabelResource] 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)
|
@@ -1778,9 +1742,9 @@ module Ionoscloud
|
|
1778
1742
|
# @param key [String] The key of the Label
|
1779
1743
|
# @param label [LabelResource] 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
|
@@ -1855,9 +1819,9 @@ module Ionoscloud
|
|
1855
1819
|
# You can retrieve the details of a specific label using its URN. A URN is for uniqueness of a Label and composed using urn:label:<resource_type>:<resource_uuid>:<key>
|
1856
1820
|
# @param labelurn [String] The URN representing the unique ID of the label. A URN is for uniqueness of a Label and composed using urn:label:<resource_type>:<resource_uuid>:<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)
|
@@ -1868,9 +1832,9 @@ module Ionoscloud
|
|
1868
1832
|
# You can retrieve the details of a specific label using its URN. A URN is for uniqueness of a Label and composed using urn:label:<resource_type>:<resource_uuid>:<key>
|
1869
1833
|
# @param labelurn [String] The URN representing the unique ID of the label. A URN is for uniqueness of a Label and composed using urn:label:<resource_type>:<resource_uuid>:<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
|
@@ -1934,9 +1898,9 @@ module Ionoscloud
|
|
1934
1898
|
# List Labels
|
1935
1899
|
# You can retrieve a complete list of labels that you have access to.
|
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)
|
@@ -1946,9 +1910,9 @@ module Ionoscloud
|
|
1946
1910
|
# List Labels
|
1947
1911
|
# You can retrieve a complete list of labels that you have access to.
|
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
|
@@ -2010,9 +1974,9 @@ module Ionoscloud
|
|
2010
1974
|
# @param snapshot_id [String] The unique ID of the Snapshot
|
2011
1975
|
# @param key [String] The key of the Label
|
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
|
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.
|
2016
1980
|
# @return [nil]
|
2017
1981
|
def snapshots_labels_delete(snapshot_id, key, opts = {})
|
2018
1982
|
snapshots_labels_delete_with_http_info(snapshot_id, key, opts)
|
@@ -2024,9 +1988,9 @@ module Ionoscloud
|
|
2024
1988
|
# @param snapshot_id [String] The unique ID of the Snapshot
|
2025
1989
|
# @param key [String] The key of the Label
|
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
|
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.
|
2030
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
|
@@ -2096,9 +2060,9 @@ module Ionoscloud
|
|
2096
2060
|
# @param snapshot_id [String] The unique ID of the Snapshot
|
2097
2061
|
# @param key [String] The key of the Label
|
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)
|
@@ -2110,9 +2074,9 @@ module Ionoscloud
|
|
2110
2074
|
# @param snapshot_id [String] The unique ID of the Snapshot
|
2111
2075
|
# @param key [String] The key of the Label
|
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
|
@@ -2181,9 +2145,9 @@ module Ionoscloud
|
|
2181
2145
|
# You can retrieve a list of all labels associated with a snapshot.
|
2182
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)
|
@@ -2194,9 +2158,9 @@ module Ionoscloud
|
|
2194
2158
|
# You can retrieve a list of all labels associated with a snapshot.
|
2195
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
|
@@ -2262,9 +2226,9 @@ module Ionoscloud
|
|
2262
2226
|
# @param snapshot_id [String] The unique ID of the Snapshot
|
2263
2227
|
# @param label [LabelResource] Label to be added
|
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)
|
@@ -2276,9 +2240,9 @@ module Ionoscloud
|
|
2276
2240
|
# @param snapshot_id [String] The unique ID of the Snapshot
|
2277
2241
|
# @param label [LabelResource] Label to be added
|
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
|
@@ -2351,9 +2315,9 @@ module Ionoscloud
|
|
2351
2315
|
# @param key [String] The key of the Label
|
2352
2316
|
# @param label [LabelResource] 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)
|
@@ -2366,9 +2330,9 @@ module Ionoscloud
|
|
2366
2330
|
# @param key [String] The key of the Label
|
2367
2331
|
# @param label [LabelResource] 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
|