ionoscloud 6.0.0.beta.4 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -2
- data/docs/README.md +64 -0
- data/docs/api/BackupUnitsApi.md +61 -61
- data/docs/api/ContractResourcesApi.md +6 -6
- data/docs/api/DataCentersApi.md +13 -13
- data/docs/api/DefaultApi.md +1 -1
- data/docs/api/FirewallRulesApi.md +73 -73
- data/docs/api/FlowLogsApi.md +69 -69
- data/docs/api/IPBlocksApi.md +51 -51
- data/docs/api/ImagesApi.md +41 -41
- data/docs/api/KubernetesApi.md +153 -153
- data/docs/api/{LansApi.md → LANsApi.md} +105 -105
- data/docs/api/LabelsApi.md +259 -259
- data/docs/api/LoadBalancersApi.md +82 -82
- data/docs/api/LocationsApi.md +11 -11
- data/docs/api/NATGatewaysApi.md +163 -163
- data/docs/api/NetworkInterfacesApi.md +61 -61
- data/docs/api/NetworkLoadBalancersApi.md +167 -167
- data/docs/api/PrivateCrossConnectsApi.md +39 -39
- data/docs/api/RequestsApi.md +44 -44
- data/docs/api/ServersApi.md +179 -179
- data/docs/api/SnapshotsApi.md +40 -40
- data/docs/api/TemplatesApi.md +14 -14
- data/docs/api/UserManagementApi.md +207 -205
- data/docs/api/UserS3KeysApi.md +55 -55
- data/docs/api/VolumesApi.md +74 -74
- data/docs/models/AttachedVolumes.md +6 -6
- data/docs/models/BackupUnit.md +3 -3
- data/docs/models/BackupUnitProperties.md +2 -2
- data/docs/models/BackupUnits.md +4 -4
- data/docs/models/BalancedNics.md +6 -6
- data/docs/models/Cdroms.md +6 -6
- data/docs/models/Contract.md +1 -1
- data/docs/models/ContractProperties.md +4 -4
- data/docs/models/Contracts.md +3 -3
- data/docs/models/CpuArchitectureProperties.md +1 -1
- data/docs/models/Datacenter.md +3 -3
- data/docs/models/DatacenterElementMetadata.md +6 -6
- data/docs/models/DatacenterProperties.md +6 -6
- data/docs/models/Datacenters.md +6 -6
- data/docs/models/Error.md +1 -1
- data/docs/models/ErrorMessage.md +3 -3
- data/docs/models/FirewallRule.md +3 -3
- data/docs/models/FirewallRules.md +6 -6
- data/docs/models/FirewallruleProperties.md +10 -10
- data/docs/models/FlowLog.md +3 -3
- data/docs/models/FlowLogProperties.md +1 -1
- data/docs/models/FlowLogPut.md +3 -3
- data/docs/models/FlowLogs.md +6 -6
- data/docs/models/Group.md +3 -3
- data/docs/models/GroupMembers.md +4 -4
- data/docs/models/GroupProperties.md +11 -11
- data/docs/models/GroupShare.md +2 -2
- data/docs/models/GroupShares.md +3 -3
- data/docs/models/GroupUsers.md +4 -4
- data/docs/models/Groups.md +4 -4
- data/docs/models/Image.md +3 -3
- data/docs/models/ImageProperties.md +17 -17
- data/docs/models/Images.md +4 -4
- data/docs/models/IpBlock.md +3 -3
- data/docs/models/IpBlockProperties.md +5 -5
- data/docs/models/IpBlocks.md +5 -5
- data/docs/models/KubernetesCluster.md +2 -2
- data/docs/models/KubernetesClusterForPost.md +2 -2
- data/docs/models/KubernetesClusterForPut.md +2 -2
- data/docs/models/KubernetesClusterProperties.md +3 -5
- data/docs/models/KubernetesClusterPropertiesForPost.md +3 -5
- data/docs/models/KubernetesClusterPropertiesForPut.md +3 -3
- data/docs/models/KubernetesClusters.md +4 -4
- data/docs/models/KubernetesNode.md +2 -2
- data/docs/models/KubernetesNodeMetadata.md +4 -4
- data/docs/models/KubernetesNodePool.md +2 -2
- data/docs/models/KubernetesNodePoolForPost.md +2 -2
- data/docs/models/KubernetesNodePoolForPut.md +2 -2
- data/docs/models/KubernetesNodePoolLan.md +1 -1
- data/docs/models/KubernetesNodePoolProperties.md +12 -15
- data/docs/models/KubernetesNodePoolPropertiesForPost.md +11 -14
- data/docs/models/KubernetesNodePoolPropertiesForPut.md +5 -5
- data/docs/models/KubernetesNodePools.md +4 -4
- data/docs/models/KubernetesNodeProperties.md +2 -2
- data/docs/models/KubernetesNodes.md +4 -4
- data/docs/models/Label.md +2 -2
- data/docs/models/LabelProperties.md +3 -3
- data/docs/models/LabelResource.md +2 -2
- data/docs/models/LabelResourceProperties.md +2 -2
- data/docs/models/LabelResources.md +6 -6
- data/docs/models/Labels.md +4 -4
- data/docs/models/Lan.md +3 -3
- data/docs/models/LanNics.md +6 -6
- data/docs/models/LanPost.md +3 -3
- data/docs/models/LanProperties.md +3 -3
- data/docs/models/LanPropertiesPost.md +3 -3
- data/docs/models/Lans.md +6 -6
- data/docs/models/Loadbalancer.md +3 -3
- data/docs/models/LoadbalancerProperties.md +3 -3
- data/docs/models/Loadbalancers.md +6 -6
- data/docs/models/Location.md +3 -3
- data/docs/models/LocationProperties.md +1 -1
- data/docs/models/Locations.md +4 -4
- data/docs/models/NatGateway.md +3 -3
- data/docs/models/NatGatewayLanProperties.md +2 -2
- data/docs/models/NatGatewayProperties.md +3 -3
- data/docs/models/NatGatewayPut.md +3 -3
- data/docs/models/NatGatewayRule.md +3 -3
- data/docs/models/NatGatewayRuleProperties.md +7 -7
- data/docs/models/NatGatewayRulePut.md +3 -3
- data/docs/models/NatGatewayRules.md +4 -4
- data/docs/models/NatGateways.md +6 -6
- data/docs/models/NetworkLoadBalancer.md +3 -3
- data/docs/models/NetworkLoadBalancerForwardingRule.md +3 -3
- data/docs/models/NetworkLoadBalancerForwardingRuleProperties.md +2 -2
- data/docs/models/NetworkLoadBalancerForwardingRulePut.md +3 -3
- data/docs/models/NetworkLoadBalancerForwardingRules.md +6 -6
- data/docs/models/NetworkLoadBalancerProperties.md +4 -4
- data/docs/models/NetworkLoadBalancerPut.md +3 -3
- data/docs/models/NetworkLoadBalancers.md +6 -6
- data/docs/models/Nic.md +3 -3
- data/docs/models/NicProperties.md +8 -8
- data/docs/models/NicPut.md +3 -3
- data/docs/models/Nics.md +6 -6
- data/docs/models/NoStateMetaData.md +5 -5
- data/docs/models/PaginationLinks.md +3 -3
- data/docs/models/PrivateCrossConnect.md +3 -3
- data/docs/models/PrivateCrossConnectProperties.md +4 -4
- data/docs/models/PrivateCrossConnects.md +4 -4
- data/docs/models/Request.md +3 -3
- data/docs/models/RequestMetadata.md +2 -2
- data/docs/models/RequestStatus.md +3 -3
- data/docs/models/RequestStatusMetadata.md +1 -1
- data/docs/models/Requests.md +6 -6
- data/docs/models/Resource.md +3 -3
- data/docs/models/ResourceGroups.md +4 -4
- data/docs/models/ResourceLimits.md +22 -22
- data/docs/models/ResourceProperties.md +2 -2
- data/docs/models/ResourceReference.md +3 -3
- data/docs/models/Resources.md +4 -4
- data/docs/models/ResourcesUsers.md +4 -4
- data/docs/models/S3Key.md +3 -3
- data/docs/models/S3KeyMetadata.md +2 -2
- data/docs/models/S3KeyProperties.md +2 -2
- data/docs/models/S3Keys.md +4 -4
- data/docs/models/Server.md +3 -3
- data/docs/models/ServerProperties.md +7 -7
- data/docs/models/Servers.md +6 -6
- data/docs/models/Snapshot.md +3 -3
- data/docs/models/SnapshotProperties.md +14 -14
- data/docs/models/Snapshots.md +4 -4
- data/docs/models/TargetPortRange.md +2 -2
- data/docs/models/Template.md +3 -3
- data/docs/models/TemplateProperties.md +4 -4
- data/docs/models/Templates.md +4 -4
- data/docs/models/Token.md +1 -1
- data/docs/models/User.md +3 -3
- data/docs/models/UserMetadata.md +3 -3
- data/docs/models/UserProperties.md +8 -8
- data/docs/models/UserPropertiesPost.md +8 -8
- data/docs/models/UserPropertiesPut.md +9 -7
- data/docs/models/UserPut.md +1 -1
- data/docs/models/Users.md +6 -6
- data/docs/models/Volume.md +3 -3
- data/docs/models/VolumeProperties.md +17 -17
- data/docs/models/Volumes.md +6 -6
- data/docs/summary.md +192 -382
- data/ionoscloud.gemspec +1 -1
- data/lib/ionoscloud/api/_api.rb +1 -1
- data/lib/ionoscloud/api/backup_units_api.rb +52 -52
- data/lib/ionoscloud/api/contract_resources_api.rb +5 -5
- data/lib/ionoscloud/api/data_centers_api.rb +13 -13
- data/lib/ionoscloud/api/firewall_rules_api.rb +63 -63
- data/lib/ionoscloud/api/flow_logs_api.rb +61 -61
- data/lib/ionoscloud/api/images_api.rb +33 -33
- data/lib/ionoscloud/api/ip_blocks_api.rb +41 -41
- data/lib/ionoscloud/api/kubernetes_api.rb +130 -130
- data/lib/ionoscloud/api/labels_api.rb +211 -211
- data/lib/ionoscloud/api/lans_api.rb +134 -134
- data/lib/ionoscloud/api/load_balancers_api.rb +67 -67
- data/lib/ionoscloud/api/locations_api.rb +11 -11
- data/lib/ionoscloud/api/nat_gateways_api.rb +135 -135
- data/lib/ionoscloud/api/network_interfaces_api.rb +51 -51
- data/lib/ionoscloud/api/network_load_balancers_api.rb +137 -137
- data/lib/ionoscloud/api/private_cross_connects_api.rb +31 -31
- data/lib/ionoscloud/api/requests_api.rb +39 -39
- data/lib/ionoscloud/api/servers_api.rb +147 -147
- data/lib/ionoscloud/api/snapshots_api.rb +31 -31
- data/lib/ionoscloud/api/templates_api.rb +11 -11
- data/lib/ionoscloud/api/user_management_api.rb +163 -161
- data/lib/ionoscloud/api/user_s3_keys_api.rb +45 -45
- data/lib/ionoscloud/api/volumes_api.rb +61 -61
- data/lib/ionoscloud/api_client.rb +2 -2
- data/lib/ionoscloud/api_error.rb +1 -1
- data/lib/ionoscloud/configuration.rb +1 -1
- data/lib/ionoscloud/models/attached_volumes.rb +72 -18
- data/lib/ionoscloud/models/backup_unit.rb +49 -9
- data/lib/ionoscloud/models/backup_unit_properties.rb +30 -6
- data/lib/ionoscloud/models/backup_unit_sso.rb +10 -2
- data/lib/ionoscloud/models/backup_units.rb +43 -13
- data/lib/ionoscloud/models/balanced_nics.rb +72 -18
- data/lib/ionoscloud/models/cdroms.rb +72 -18
- data/lib/ionoscloud/models/connectable_datacenter.rb +28 -4
- data/lib/ionoscloud/models/contract.rb +20 -4
- data/lib/ionoscloud/models/contract_properties.rb +50 -10
- data/lib/ionoscloud/models/contracts.rb +42 -12
- data/lib/ionoscloud/models/cpu_architecture_properties.rb +38 -6
- data/lib/ionoscloud/models/data_center_entities.rb +55 -7
- data/lib/ionoscloud/models/datacenter.rb +58 -10
- data/lib/ionoscloud/models/datacenter_element_metadata.rb +79 -15
- data/lib/ionoscloud/models/datacenter_properties.rb +74 -22
- data/lib/ionoscloud/models/datacenters.rb +72 -18
- data/lib/ionoscloud/models/error.rb +22 -8
- data/lib/ionoscloud/models/error_message.rb +21 -5
- data/lib/ionoscloud/models/firewall_rule.rb +49 -9
- data/lib/ionoscloud/models/firewall_rules.rb +72 -18
- data/lib/ionoscloud/models/firewallrule_properties.rb +101 -21
- data/lib/ionoscloud/models/flow_log.rb +49 -9
- data/lib/ionoscloud/models/flow_log_properties.rb +38 -6
- data/lib/ionoscloud/models/flow_log_put.rb +40 -8
- data/lib/ionoscloud/models/flow_logs.rb +72 -18
- data/lib/ionoscloud/models/group.rb +49 -9
- data/lib/ionoscloud/models/group_entities.rb +19 -3
- data/lib/ionoscloud/models/group_members.rb +43 -13
- data/lib/ionoscloud/models/group_properties.rb +129 -25
- data/lib/ionoscloud/models/group_share.rb +39 -7
- data/lib/ionoscloud/models/group_share_properties.rb +19 -3
- data/lib/ionoscloud/models/group_shares.rb +42 -12
- data/lib/ionoscloud/models/group_users.rb +44 -14
- data/lib/ionoscloud/models/groups.rb +43 -13
- data/lib/ionoscloud/models/image.rb +49 -9
- data/lib/ionoscloud/models/image_properties.rb +191 -41
- data/lib/ionoscloud/models/images.rb +43 -13
- data/lib/ionoscloud/models/info.rb +28 -4
- data/lib/ionoscloud/models/ip_block.rb +49 -9
- data/lib/ionoscloud/models/ip_block_properties.rb +55 -19
- data/lib/ionoscloud/models/ip_blocks.rb +71 -17
- data/lib/ionoscloud/models/ip_consumer.rb +82 -10
- data/lib/ionoscloud/models/ip_failover.rb +19 -3
- data/lib/ionoscloud/models/kubernetes_auto_scaling.rb +19 -3
- data/lib/ionoscloud/models/kubernetes_cluster.rb +57 -9
- data/lib/ionoscloud/models/kubernetes_cluster_entities.rb +10 -2
- data/lib/ionoscloud/models/kubernetes_cluster_for_post.rb +57 -9
- data/lib/ionoscloud/models/kubernetes_cluster_for_put.rb +57 -9
- data/lib/ionoscloud/models/kubernetes_cluster_properties.rb +74 -38
- data/lib/ionoscloud/models/kubernetes_cluster_properties_for_post.rb +52 -28
- data/lib/ionoscloud/models/kubernetes_cluster_properties_for_put.rb +53 -17
- data/lib/ionoscloud/models/kubernetes_clusters.rb +43 -13
- data/lib/ionoscloud/models/kubernetes_maintenance_window.rb +19 -3
- data/lib/ionoscloud/models/kubernetes_node.rb +48 -8
- data/lib/ionoscloud/models/kubernetes_node_metadata.rb +50 -10
- data/lib/ionoscloud/models/kubernetes_node_pool.rb +48 -8
- data/lib/ionoscloud/models/kubernetes_node_pool_for_post.rb +48 -8
- data/lib/ionoscloud/models/kubernetes_node_pool_for_put.rb +48 -8
- data/lib/ionoscloud/models/kubernetes_node_pool_lan.rb +31 -9
- data/lib/ionoscloud/models/kubernetes_node_pool_lan_routes.rb +19 -3
- data/lib/ionoscloud/models/kubernetes_node_pool_properties.rb +176 -60
- data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_post.rb +164 -54
- data/lib/ionoscloud/models/kubernetes_node_pool_properties_for_put.rb +94 -35
- data/lib/ionoscloud/models/kubernetes_node_pools.rb +43 -13
- data/lib/ionoscloud/models/kubernetes_node_properties.rb +39 -7
- data/lib/ionoscloud/models/kubernetes_nodes.rb +43 -13
- data/lib/ionoscloud/models/label.rb +48 -8
- data/lib/ionoscloud/models/label_properties.rb +49 -9
- data/lib/ionoscloud/models/label_resource.rb +48 -8
- data/lib/ionoscloud/models/label_resource_properties.rb +21 -5
- data/lib/ionoscloud/models/label_resources.rb +72 -18
- data/lib/ionoscloud/models/labels.rb +43 -13
- data/lib/ionoscloud/models/lan.rb +58 -10
- data/lib/ionoscloud/models/lan_entities.rb +10 -2
- data/lib/ionoscloud/models/lan_nics.rb +72 -18
- data/lib/ionoscloud/models/lan_post.rb +58 -10
- data/lib/ionoscloud/models/lan_properties.rb +42 -12
- data/lib/ionoscloud/models/lan_properties_post.rb +42 -12
- data/lib/ionoscloud/models/lans.rb +72 -18
- data/lib/ionoscloud/models/loadbalancer.rb +58 -10
- data/lib/ionoscloud/models/loadbalancer_entities.rb +10 -2
- data/lib/ionoscloud/models/loadbalancer_properties.rb +31 -7
- data/lib/ionoscloud/models/loadbalancers.rb +72 -18
- data/lib/ionoscloud/models/location.rb +49 -9
- data/lib/ionoscloud/models/location_properties.rb +44 -18
- data/lib/ionoscloud/models/locations.rb +43 -13
- data/lib/ionoscloud/models/nat_gateway.rb +58 -10
- data/lib/ionoscloud/models/nat_gateway_entities.rb +19 -3
- data/lib/ionoscloud/models/nat_gateway_lan_properties.rb +23 -9
- data/lib/ionoscloud/models/nat_gateway_properties.rb +35 -15
- data/lib/ionoscloud/models/nat_gateway_put.rb +40 -8
- data/lib/ionoscloud/models/nat_gateway_rule.rb +49 -9
- data/lib/ionoscloud/models/nat_gateway_rule_properties.rb +70 -14
- data/lib/ionoscloud/models/nat_gateway_rule_protocol.rb +1 -1
- data/lib/ionoscloud/models/nat_gateway_rule_put.rb +40 -8
- data/lib/ionoscloud/models/nat_gateway_rule_type.rb +1 -1
- data/lib/ionoscloud/models/nat_gateway_rules.rb +43 -13
- data/lib/ionoscloud/models/nat_gateways.rb +72 -18
- data/lib/ionoscloud/models/network_load_balancer.rb +58 -10
- data/lib/ionoscloud/models/network_load_balancer_entities.rb +19 -3
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule.rb +49 -9
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_health_check.rb +37 -5
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_properties.rb +68 -14
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_put.rb +40 -8
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_target.rb +37 -5
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rule_target_health_check.rb +28 -4
- data/lib/ionoscloud/models/network_load_balancer_forwarding_rules.rb +72 -18
- data/lib/ionoscloud/models/network_load_balancer_properties.rb +54 -18
- data/lib/ionoscloud/models/network_load_balancer_put.rb +40 -8
- data/lib/ionoscloud/models/network_load_balancers.rb +72 -18
- data/lib/ionoscloud/models/nic.rb +58 -10
- data/lib/ionoscloud/models/nic_entities.rb +19 -3
- data/lib/ionoscloud/models/nic_properties.rb +92 -22
- data/lib/ionoscloud/models/nic_put.rb +40 -8
- data/lib/ionoscloud/models/nics.rb +72 -18
- data/lib/ionoscloud/models/no_state_meta_data.rb +69 -13
- data/lib/ionoscloud/models/pagination_links.rb +31 -7
- data/lib/ionoscloud/models/peer.rb +46 -6
- data/lib/ionoscloud/models/private_cross_connect.rb +49 -9
- data/lib/ionoscloud/models/private_cross_connect_properties.rb +45 -17
- data/lib/ionoscloud/models/private_cross_connects.rb +43 -13
- data/lib/ionoscloud/models/remote_console_url.rb +10 -2
- data/lib/ionoscloud/models/request.rb +49 -9
- data/lib/ionoscloud/models/request_metadata.rb +39 -7
- data/lib/ionoscloud/models/request_properties.rb +39 -9
- data/lib/ionoscloud/models/request_status.rb +40 -8
- data/lib/ionoscloud/models/request_status_metadata.rb +40 -10
- data/lib/ionoscloud/models/request_target.rb +19 -3
- data/lib/ionoscloud/models/requests.rb +72 -18
- data/lib/ionoscloud/models/resource.rb +58 -10
- data/lib/ionoscloud/models/resource_entities.rb +10 -2
- data/lib/ionoscloud/models/resource_groups.rb +43 -13
- data/lib/ionoscloud/models/resource_limits.rb +221 -45
- data/lib/ionoscloud/models/resource_properties.rb +21 -5
- data/lib/ionoscloud/models/resource_reference.rb +31 -7
- data/lib/ionoscloud/models/resources.rb +44 -14
- data/lib/ionoscloud/models/resources_users.rb +43 -13
- data/lib/ionoscloud/models/s3_bucket.rb +10 -2
- data/lib/ionoscloud/models/s3_key.rb +49 -9
- data/lib/ionoscloud/models/s3_key_metadata.rb +21 -5
- data/lib/ionoscloud/models/s3_key_properties.rb +21 -5
- data/lib/ionoscloud/models/s3_keys.rb +43 -13
- data/lib/ionoscloud/models/s3_object_storage_sso.rb +10 -2
- data/lib/ionoscloud/models/server.rb +58 -10
- data/lib/ionoscloud/models/server_entities.rb +28 -4
- data/lib/ionoscloud/models/server_properties.rb +98 -18
- data/lib/ionoscloud/models/servers.rb +72 -18
- data/lib/ionoscloud/models/snapshot.rb +49 -9
- data/lib/ionoscloud/models/snapshot_properties.rb +159 -31
- data/lib/ionoscloud/models/snapshots.rb +43 -13
- data/lib/ionoscloud/models/target_port_range.rb +21 -5
- data/lib/ionoscloud/models/template.rb +49 -9
- data/lib/ionoscloud/models/template_properties.rb +41 -9
- data/lib/ionoscloud/models/templates.rb +43 -13
- data/lib/ionoscloud/models/token.rb +11 -3
- data/lib/ionoscloud/models/type.rb +1 -1
- data/lib/ionoscloud/models/user.rb +58 -10
- data/lib/ionoscloud/models/user_metadata.rb +31 -7
- data/lib/ionoscloud/models/user_post.rb +10 -2
- data/lib/ionoscloud/models/user_properties.rb +81 -17
- data/lib/ionoscloud/models/user_properties_post.rb +81 -17
- data/lib/ionoscloud/models/user_properties_put.rb +90 -16
- data/lib/ionoscloud/models/user_put.rb +20 -4
- data/lib/ionoscloud/models/users.rb +72 -18
- data/lib/ionoscloud/models/users_entities.rb +19 -3
- data/lib/ionoscloud/models/volume.rb +49 -9
- data/lib/ionoscloud/models/volume_properties.rb +200 -42
- data/lib/ionoscloud/models/volumes.rb +72 -18
- data/lib/ionoscloud/version.rb +2 -2
- data/lib/ionoscloud.rb +2 -2
- data/sonar-project.properties +12 -0
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +6 -391
- data/spec/api/_api_spec.rb +0 -49
- data/spec/api/backup_units_api_spec.rb +0 -140
- data/spec/api/contract_resources_api_spec.rb +0 -49
- data/spec/api/data_centers_api_spec.rb +0 -128
- data/spec/api/firewall_rules_api_spec.rb +0 -146
- data/spec/api/flow_logs_api_spec.rb +0 -140
- data/spec/api/images_api_spec.rb +0 -111
- data/spec/api/ip_blocks_api_spec.rb +0 -128
- data/spec/api/kubernetes_api_spec.rb +0 -294
- data/spec/api/labels_api_spec.rb +0 -474
- data/spec/api/lans_api_spec.rb +0 -186
- data/spec/api/load_balancers_api_spec.rb +0 -201
- data/spec/api/locations_api_spec.rb +0 -80
- data/spec/api/nat_gateways_api_spec.rb +0 -334
- data/spec/api/network_interfaces_api_spec.rb +0 -140
- data/spec/api/network_load_balancers_api_spec.rb +0 -340
- data/spec/api/private_cross_connects_api_spec.rb +0 -110
- data/spec/api/requests_api_spec.rb +0 -92
- data/spec/api/servers_api_spec.rb +0 -401
- data/spec/api/snapshots_api_spec.rb +0 -111
- data/spec/api/templates_api_spec.rb +0 -60
- data/spec/api/user_management_api_spec.rb +0 -404
- data/spec/api/user_s3_keys_api_spec.rb +0 -128
- data/spec/api/volumes_api_spec.rb +0 -171
- data/spec/models/attached_volumes_spec.rb +0 -70
- data/spec/models/backup_unit_properties_spec.rb +0 -46
- data/spec/models/backup_unit_spec.rb +0 -62
- data/spec/models/backup_unit_sso_spec.rb +0 -34
- data/spec/models/backup_units_spec.rb +0 -56
- data/spec/models/balanced_nics_spec.rb +0 -70
- data/spec/models/cdroms_spec.rb +0 -70
- data/spec/models/connectable_datacenter_spec.rb +0 -46
- data/spec/models/contract_properties_spec.rb +0 -58
- data/spec/models/contract_spec.rb +0 -40
- data/spec/models/contracts_spec.rb +0 -52
- data/spec/models/cpu_architecture_properties_spec.rb +0 -52
- data/spec/models/data_center_entities_spec.rb +0 -64
- data/spec/models/datacenter_element_metadata_spec.rb +0 -80
- data/spec/models/datacenter_properties_spec.rb +0 -70
- data/spec/models/datacenter_spec.rb +0 -64
- data/spec/models/datacenters_spec.rb +0 -70
- data/spec/models/error_message_spec.rb +0 -40
- data/spec/models/error_spec.rb +0 -40
- data/spec/models/firewall_rule_spec.rb +0 -58
- data/spec/models/firewall_rules_spec.rb +0 -70
- data/spec/models/firewallrule_properties_spec.rb +0 -96
- data/spec/models/flow_log_properties_spec.rb +0 -60
- data/spec/models/flow_log_put_spec.rb +0 -52
- data/spec/models/flow_log_spec.rb +0 -58
- data/spec/models/flow_logs_spec.rb +0 -70
- data/spec/models/group_entities_spec.rb +0 -40
- data/spec/models/group_members_spec.rb +0 -52
- data/spec/models/group_properties_spec.rb +0 -106
- data/spec/models/group_share_properties_spec.rb +0 -40
- data/spec/models/group_share_spec.rb +0 -52
- data/spec/models/group_shares_spec.rb +0 -52
- data/spec/models/group_spec.rb +0 -58
- data/spec/models/group_users_spec.rb +0 -52
- data/spec/models/groups_spec.rb +0 -52
- data/spec/models/image_properties_spec.rb +0 -154
- data/spec/models/image_spec.rb +0 -58
- data/spec/models/images_spec.rb +0 -52
- data/spec/models/info_spec.rb +0 -46
- data/spec/models/ip_block_properties_spec.rb +0 -58
- data/spec/models/ip_block_spec.rb +0 -58
- data/spec/models/ip_blocks_spec.rb +0 -70
- data/spec/models/ip_consumer_spec.rb +0 -82
- data/spec/models/ip_failover_spec.rb +0 -40
- data/spec/models/kubernetes_auto_scaling_spec.rb +0 -40
- data/spec/models/kubernetes_cluster_entities_spec.rb +0 -34
- data/spec/models/kubernetes_cluster_for_post_spec.rb +0 -68
- data/spec/models/kubernetes_cluster_for_put_spec.rb +0 -68
- data/spec/models/kubernetes_cluster_properties_for_post_spec.rb +0 -64
- data/spec/models/kubernetes_cluster_properties_for_put_spec.rb +0 -58
- data/spec/models/kubernetes_cluster_properties_spec.rb +0 -76
- data/spec/models/kubernetes_cluster_spec.rb +0 -68
- data/spec/models/kubernetes_clusters_spec.rb +0 -56
- data/spec/models/kubernetes_maintenance_window_spec.rb +0 -44
- data/spec/models/kubernetes_node_metadata_spec.rb +0 -62
- data/spec/models/kubernetes_node_pool_for_post_spec.rb +0 -62
- data/spec/models/kubernetes_node_pool_for_put_spec.rb +0 -62
- data/spec/models/kubernetes_node_pool_lan_routes_spec.rb +0 -40
- data/spec/models/kubernetes_node_pool_lan_spec.rb +0 -46
- data/spec/models/kubernetes_node_pool_properties_for_post_spec.rb +0 -138
- data/spec/models/kubernetes_node_pool_properties_for_put_spec.rb +0 -82
- data/spec/models/kubernetes_node_pool_properties_spec.rb +0 -144
- data/spec/models/kubernetes_node_pool_spec.rb +0 -62
- data/spec/models/kubernetes_node_pools_spec.rb +0 -56
- data/spec/models/kubernetes_node_properties_spec.rb +0 -52
- data/spec/models/kubernetes_node_spec.rb +0 -62
- data/spec/models/kubernetes_nodes_spec.rb +0 -56
- data/spec/models/label_properties_spec.rb +0 -58
- data/spec/models/label_resource_properties_spec.rb +0 -40
- data/spec/models/label_resource_spec.rb +0 -62
- data/spec/models/label_resources_spec.rb +0 -74
- data/spec/models/label_spec.rb +0 -62
- data/spec/models/labels_spec.rb +0 -56
- data/spec/models/lan_entities_spec.rb +0 -34
- data/spec/models/lan_nics_spec.rb +0 -70
- data/spec/models/lan_post_spec.rb +0 -64
- data/spec/models/lan_properties_post_spec.rb +0 -52
- data/spec/models/lan_properties_spec.rb +0 -52
- data/spec/models/lan_spec.rb +0 -64
- data/spec/models/lans_spec.rb +0 -70
- data/spec/models/loadbalancer_entities_spec.rb +0 -34
- data/spec/models/loadbalancer_properties_spec.rb +0 -46
- data/spec/models/loadbalancer_spec.rb +0 -64
- data/spec/models/loadbalancers_spec.rb +0 -70
- data/spec/models/location_properties_spec.rb +0 -52
- data/spec/models/location_spec.rb +0 -58
- data/spec/models/locations_spec.rb +0 -52
- data/spec/models/nat_gateway_entities_spec.rb +0 -40
- data/spec/models/nat_gateway_lan_properties_spec.rb +0 -40
- data/spec/models/nat_gateway_properties_spec.rb +0 -46
- data/spec/models/nat_gateway_put_spec.rb +0 -52
- data/spec/models/nat_gateway_rule_properties_spec.rb +0 -70
- data/spec/models/nat_gateway_rule_protocol_spec.rb +0 -28
- data/spec/models/nat_gateway_rule_put_spec.rb +0 -52
- data/spec/models/nat_gateway_rule_spec.rb +0 -58
- data/spec/models/nat_gateway_rule_type_spec.rb +0 -28
- data/spec/models/nat_gateway_rules_spec.rb +0 -52
- data/spec/models/nat_gateway_spec.rb +0 -64
- data/spec/models/nat_gateways_spec.rb +0 -70
- data/spec/models/network_load_balancer_entities_spec.rb +0 -40
- data/spec/models/network_load_balancer_forwarding_rule_health_check_spec.rb +0 -52
- data/spec/models/network_load_balancer_forwarding_rule_properties_spec.rb +0 -78
- data/spec/models/network_load_balancer_forwarding_rule_put_spec.rb +0 -52
- data/spec/models/network_load_balancer_forwarding_rule_spec.rb +0 -58
- data/spec/models/network_load_balancer_forwarding_rule_target_health_check_spec.rb +0 -46
- data/spec/models/network_load_balancer_forwarding_rule_target_spec.rb +0 -52
- data/spec/models/network_load_balancer_forwarding_rules_spec.rb +0 -70
- data/spec/models/network_load_balancer_properties_spec.rb +0 -58
- data/spec/models/network_load_balancer_put_spec.rb +0 -52
- data/spec/models/network_load_balancer_spec.rb +0 -64
- data/spec/models/network_load_balancers_spec.rb +0 -70
- data/spec/models/nic_entities_spec.rb +0 -40
- data/spec/models/nic_properties_spec.rb +0 -86
- data/spec/models/nic_put_spec.rb +0 -52
- data/spec/models/nic_spec.rb +0 -64
- data/spec/models/nics_spec.rb +0 -70
- data/spec/models/no_state_meta_data_spec.rb +0 -70
- data/spec/models/pagination_links_spec.rb +0 -46
- data/spec/models/peer_spec.rb +0 -58
- data/spec/models/private_cross_connect_properties_spec.rb +0 -52
- data/spec/models/private_cross_connect_spec.rb +0 -58
- data/spec/models/private_cross_connects_spec.rb +0 -52
- data/spec/models/remote_console_url_spec.rb +0 -34
- data/spec/models/request_metadata_spec.rb +0 -52
- data/spec/models/request_properties_spec.rb +0 -52
- data/spec/models/request_spec.rb +0 -58
- data/spec/models/request_status_metadata_spec.rb +0 -56
- data/spec/models/request_status_spec.rb +0 -52
- data/spec/models/request_target_spec.rb +0 -44
- data/spec/models/requests_spec.rb +0 -70
- data/spec/models/resource_entities_spec.rb +0 -34
- data/spec/models/resource_groups_spec.rb +0 -52
- data/spec/models/resource_limits_spec.rb +0 -160
- data/spec/models/resource_properties_spec.rb +0 -40
- data/spec/models/resource_reference_spec.rb +0 -46
- data/spec/models/resource_spec.rb +0 -64
- data/spec/models/resources_spec.rb +0 -52
- data/spec/models/resources_users_spec.rb +0 -52
- data/spec/models/s3_bucket_spec.rb +0 -34
- data/spec/models/s3_key_metadata_spec.rb +0 -40
- data/spec/models/s3_key_properties_spec.rb +0 -40
- data/spec/models/s3_key_spec.rb +0 -58
- data/spec/models/s3_keys_spec.rb +0 -52
- data/spec/models/s3_object_storage_sso_spec.rb +0 -34
- data/spec/models/server_entities_spec.rb +0 -46
- data/spec/models/server_properties_spec.rb +0 -96
- data/spec/models/server_spec.rb +0 -64
- data/spec/models/servers_spec.rb +0 -70
- data/spec/models/snapshot_properties_spec.rb +0 -128
- data/spec/models/snapshot_spec.rb +0 -58
- data/spec/models/snapshots_spec.rb +0 -52
- data/spec/models/target_port_range_spec.rb +0 -40
- data/spec/models/template_properties_spec.rb +0 -52
- data/spec/models/template_spec.rb +0 -58
- data/spec/models/templates_spec.rb +0 -52
- data/spec/models/token_spec.rb +0 -34
- data/spec/models/type_spec.rb +0 -28
- data/spec/models/user_metadata_spec.rb +0 -46
- data/spec/models/user_post_spec.rb +0 -34
- data/spec/models/user_properties_post_spec.rb +0 -76
- data/spec/models/user_properties_put_spec.rb +0 -70
- data/spec/models/user_properties_spec.rb +0 -76
- data/spec/models/user_put_spec.rb +0 -40
- data/spec/models/user_spec.rb +0 -64
- data/spec/models/users_entities_spec.rb +0 -40
- data/spec/models/users_spec.rb +0 -70
- data/spec/models/volume_properties_spec.rb +0 -164
- data/spec/models/volume_spec.rb +0 -58
- data/spec/models/volumes_spec.rb +0 -70
data/docs/api/LabelsApi.md
CHANGED
@@ -4,42 +4,42 @@ All URIs are relative to *https://api.ionos.com/cloudapi/v6*
|
|
4
4
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
7
|
-
| [**datacenters_labels_delete**](LabelsApi.md#datacenters_labels_delete) | **DELETE** /datacenters/{datacenterId}/labels/{key} | Delete
|
8
|
-
| [**datacenters_labels_find_by_key**](LabelsApi.md#datacenters_labels_find_by_key) | **GET** /datacenters/{datacenterId}/labels/{key} | Retrieve
|
9
|
-
| [**datacenters_labels_get**](LabelsApi.md#datacenters_labels_get) | **GET** /datacenters/{datacenterId}/labels | List
|
10
|
-
| [**datacenters_labels_post**](LabelsApi.md#datacenters_labels_post) | **POST** /datacenters/{datacenterId}/labels |
|
11
|
-
| [**datacenters_labels_put**](LabelsApi.md#datacenters_labels_put) | **PUT** /datacenters/{datacenterId}/labels/{key} | Modify
|
12
|
-
| [**datacenters_servers_labels_delete**](LabelsApi.md#datacenters_servers_labels_delete) | **DELETE** /datacenters/{datacenterId}/servers/{serverId}/labels/{key} | Delete
|
13
|
-
| [**datacenters_servers_labels_find_by_key**](LabelsApi.md#datacenters_servers_labels_find_by_key) | **GET** /datacenters/{datacenterId}/servers/{serverId}/labels/{key} | Retrieve
|
14
|
-
| [**datacenters_servers_labels_get**](LabelsApi.md#datacenters_servers_labels_get) | **GET** /datacenters/{datacenterId}/servers/{serverId}/labels | List
|
15
|
-
| [**datacenters_servers_labels_post**](LabelsApi.md#datacenters_servers_labels_post) | **POST** /datacenters/{datacenterId}/servers/{serverId}/labels |
|
16
|
-
| [**datacenters_servers_labels_put**](LabelsApi.md#datacenters_servers_labels_put) | **PUT** /datacenters/{datacenterId}/servers/{serverId}/labels/{key} | Modify
|
17
|
-
| [**datacenters_volumes_labels_delete**](LabelsApi.md#datacenters_volumes_labels_delete) | **DELETE** /datacenters/{datacenterId}/volumes/{volumeId}/labels/{key} | Delete
|
18
|
-
| [**datacenters_volumes_labels_find_by_key**](LabelsApi.md#datacenters_volumes_labels_find_by_key) | **GET** /datacenters/{datacenterId}/volumes/{volumeId}/labels/{key} | Retrieve
|
19
|
-
| [**datacenters_volumes_labels_get**](LabelsApi.md#datacenters_volumes_labels_get) | **GET** /datacenters/{datacenterId}/volumes/{volumeId}/labels | List
|
20
|
-
| [**datacenters_volumes_labels_post**](LabelsApi.md#datacenters_volumes_labels_post) | **POST** /datacenters/{datacenterId}/volumes/{volumeId}/labels |
|
21
|
-
| [**datacenters_volumes_labels_put**](LabelsApi.md#datacenters_volumes_labels_put) | **PUT** /datacenters/{datacenterId}/volumes/{volumeId}/labels/{key} | Modify
|
22
|
-
| [**ipblocks_labels_delete**](LabelsApi.md#ipblocks_labels_delete) | **DELETE** /ipblocks/{ipblockId}/labels/{key} | Delete
|
23
|
-
| [**ipblocks_labels_find_by_key**](LabelsApi.md#ipblocks_labels_find_by_key) | **GET** /ipblocks/{ipblockId}/labels/{key} | Retrieve
|
24
|
-
| [**ipblocks_labels_get**](LabelsApi.md#ipblocks_labels_get) | **GET** /ipblocks/{ipblockId}/labels | List
|
25
|
-
| [**ipblocks_labels_post**](LabelsApi.md#ipblocks_labels_post) | **POST** /ipblocks/{ipblockId}/labels |
|
26
|
-
| [**ipblocks_labels_put**](LabelsApi.md#ipblocks_labels_put) | **PUT** /ipblocks/{ipblockId}/labels/{key} | Modify
|
27
|
-
| [**labels_find_by_urn**](LabelsApi.md#labels_find_by_urn) | **GET** /labels/{labelurn} |
|
28
|
-
| [**labels_get**](LabelsApi.md#labels_get) | **GET** /labels | List
|
29
|
-
| [**snapshots_labels_delete**](LabelsApi.md#snapshots_labels_delete) | **DELETE** /snapshots/{snapshotId}/labels/{key} | Delete
|
30
|
-
| [**snapshots_labels_find_by_key**](LabelsApi.md#snapshots_labels_find_by_key) | **GET** /snapshots/{snapshotId}/labels/{key} | Retrieve
|
31
|
-
| [**snapshots_labels_get**](LabelsApi.md#snapshots_labels_get) | **GET** /snapshots/{snapshotId}/labels | List
|
32
|
-
| [**snapshots_labels_post**](LabelsApi.md#snapshots_labels_post) | **POST** /snapshots/{snapshotId}/labels |
|
33
|
-
| [**snapshots_labels_put**](LabelsApi.md#snapshots_labels_put) | **PUT** /snapshots/{snapshotId}/labels/{key} | Modify
|
7
|
+
| [**datacenters_labels_delete**](LabelsApi.md#datacenters_labels_delete) | **DELETE** /datacenters/{datacenterId}/labels/{key} | Delete data center labels |
|
8
|
+
| [**datacenters_labels_find_by_key**](LabelsApi.md#datacenters_labels_find_by_key) | **GET** /datacenters/{datacenterId}/labels/{key} | Retrieve data center labels |
|
9
|
+
| [**datacenters_labels_get**](LabelsApi.md#datacenters_labels_get) | **GET** /datacenters/{datacenterId}/labels | List data center labels |
|
10
|
+
| [**datacenters_labels_post**](LabelsApi.md#datacenters_labels_post) | **POST** /datacenters/{datacenterId}/labels | Create data center labels |
|
11
|
+
| [**datacenters_labels_put**](LabelsApi.md#datacenters_labels_put) | **PUT** /datacenters/{datacenterId}/labels/{key} | Modify data center labels |
|
12
|
+
| [**datacenters_servers_labels_delete**](LabelsApi.md#datacenters_servers_labels_delete) | **DELETE** /datacenters/{datacenterId}/servers/{serverId}/labels/{key} | Delete server labels |
|
13
|
+
| [**datacenters_servers_labels_find_by_key**](LabelsApi.md#datacenters_servers_labels_find_by_key) | **GET** /datacenters/{datacenterId}/servers/{serverId}/labels/{key} | Retrieve server labels |
|
14
|
+
| [**datacenters_servers_labels_get**](LabelsApi.md#datacenters_servers_labels_get) | **GET** /datacenters/{datacenterId}/servers/{serverId}/labels | List server labels |
|
15
|
+
| [**datacenters_servers_labels_post**](LabelsApi.md#datacenters_servers_labels_post) | **POST** /datacenters/{datacenterId}/servers/{serverId}/labels | Create server labels |
|
16
|
+
| [**datacenters_servers_labels_put**](LabelsApi.md#datacenters_servers_labels_put) | **PUT** /datacenters/{datacenterId}/servers/{serverId}/labels/{key} | Modify server labels |
|
17
|
+
| [**datacenters_volumes_labels_delete**](LabelsApi.md#datacenters_volumes_labels_delete) | **DELETE** /datacenters/{datacenterId}/volumes/{volumeId}/labels/{key} | Delete volume labels |
|
18
|
+
| [**datacenters_volumes_labels_find_by_key**](LabelsApi.md#datacenters_volumes_labels_find_by_key) | **GET** /datacenters/{datacenterId}/volumes/{volumeId}/labels/{key} | Retrieve volume labels |
|
19
|
+
| [**datacenters_volumes_labels_get**](LabelsApi.md#datacenters_volumes_labels_get) | **GET** /datacenters/{datacenterId}/volumes/{volumeId}/labels | List volume labels |
|
20
|
+
| [**datacenters_volumes_labels_post**](LabelsApi.md#datacenters_volumes_labels_post) | **POST** /datacenters/{datacenterId}/volumes/{volumeId}/labels | Create volume labels |
|
21
|
+
| [**datacenters_volumes_labels_put**](LabelsApi.md#datacenters_volumes_labels_put) | **PUT** /datacenters/{datacenterId}/volumes/{volumeId}/labels/{key} | Modify volume labels |
|
22
|
+
| [**ipblocks_labels_delete**](LabelsApi.md#ipblocks_labels_delete) | **DELETE** /ipblocks/{ipblockId}/labels/{key} | Delete IP block labels |
|
23
|
+
| [**ipblocks_labels_find_by_key**](LabelsApi.md#ipblocks_labels_find_by_key) | **GET** /ipblocks/{ipblockId}/labels/{key} | Retrieve IP block labels |
|
24
|
+
| [**ipblocks_labels_get**](LabelsApi.md#ipblocks_labels_get) | **GET** /ipblocks/{ipblockId}/labels | List IP block labels |
|
25
|
+
| [**ipblocks_labels_post**](LabelsApi.md#ipblocks_labels_post) | **POST** /ipblocks/{ipblockId}/labels | Create IP block labels |
|
26
|
+
| [**ipblocks_labels_put**](LabelsApi.md#ipblocks_labels_put) | **PUT** /ipblocks/{ipblockId}/labels/{key} | Modify IP block labels |
|
27
|
+
| [**labels_find_by_urn**](LabelsApi.md#labels_find_by_urn) | **GET** /labels/{labelurn} | Retrieve labels by URN |
|
28
|
+
| [**labels_get**](LabelsApi.md#labels_get) | **GET** /labels | List labels |
|
29
|
+
| [**snapshots_labels_delete**](LabelsApi.md#snapshots_labels_delete) | **DELETE** /snapshots/{snapshotId}/labels/{key} | Delete snapshot labels |
|
30
|
+
| [**snapshots_labels_find_by_key**](LabelsApi.md#snapshots_labels_find_by_key) | **GET** /snapshots/{snapshotId}/labels/{key} | Retrieve snapshot labels |
|
31
|
+
| [**snapshots_labels_get**](LabelsApi.md#snapshots_labels_get) | **GET** /snapshots/{snapshotId}/labels | List snapshot labels |
|
32
|
+
| [**snapshots_labels_post**](LabelsApi.md#snapshots_labels_post) | **POST** /snapshots/{snapshotId}/labels | Create snapshot labels |
|
33
|
+
| [**snapshots_labels_put**](LabelsApi.md#snapshots_labels_put) | **PUT** /snapshots/{snapshotId}/labels/{key} | Modify snapshot labels |
|
34
34
|
|
35
35
|
|
36
36
|
## datacenters_labels_delete
|
37
37
|
|
38
38
|
> datacenters_labels_delete(datacenter_id, key, opts)
|
39
39
|
|
40
|
-
Delete
|
40
|
+
Delete data center labels
|
41
41
|
|
42
|
-
|
42
|
+
Delete the specified data center label.
|
43
43
|
|
44
44
|
### Examples
|
45
45
|
|
@@ -59,8 +59,8 @@ Ionoscloud.configure do |config|
|
|
59
59
|
end
|
60
60
|
|
61
61
|
api_instance = Ionoscloud::LabelsApi.new
|
62
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
63
|
-
key = 'key_example' # String | The key
|
62
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
63
|
+
key = 'key_example' # String | The label key
|
64
64
|
opts = {
|
65
65
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
66
66
|
depth: 56, # Integer | 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
|
@@ -68,7 +68,7 @@ opts = {
|
|
68
68
|
}
|
69
69
|
|
70
70
|
begin
|
71
|
-
# Delete
|
71
|
+
# Delete data center labels
|
72
72
|
api_instance.datacenters_labels_delete(datacenter_id, key, opts)
|
73
73
|
rescue Ionoscloud::ApiError => e
|
74
74
|
puts "Error when calling LabelsApi->datacenters_labels_delete: #{e}"
|
@@ -83,7 +83,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
|
|
83
83
|
|
84
84
|
```ruby
|
85
85
|
begin
|
86
|
-
# Delete
|
86
|
+
# Delete data center labels
|
87
87
|
data, status_code, headers = api_instance.datacenters_labels_delete_with_http_info(datacenter_id, key, opts)
|
88
88
|
p status_code # => 2xx
|
89
89
|
p headers # => { ... }
|
@@ -97,8 +97,8 @@ end
|
|
97
97
|
|
98
98
|
| Name | Type | Description | Notes |
|
99
99
|
| ---- | ---- | ----------- | ----- |
|
100
|
-
| **datacenter_id** | **String** | The unique ID of the
|
101
|
-
| **key** | **String** | The key
|
100
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
101
|
+
| **key** | **String** | The label key | |
|
102
102
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
103
103
|
| **depth** | **Integer** | 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 | [optional][default to 0] |
|
104
104
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
@@ -121,9 +121,9 @@ Basic Authentication, Token Authentication
|
|
121
121
|
|
122
122
|
> <LabelResource> datacenters_labels_find_by_key(datacenter_id, key, opts)
|
123
123
|
|
124
|
-
Retrieve
|
124
|
+
Retrieve data center labels
|
125
125
|
|
126
|
-
|
126
|
+
Retrieve the properties of the specified data center label.
|
127
127
|
|
128
128
|
### Examples
|
129
129
|
|
@@ -143,8 +143,8 @@ Ionoscloud.configure do |config|
|
|
143
143
|
end
|
144
144
|
|
145
145
|
api_instance = Ionoscloud::LabelsApi.new
|
146
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
147
|
-
key = 'key_example' # String | The key
|
146
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
147
|
+
key = 'key_example' # String | The label key
|
148
148
|
opts = {
|
149
149
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
150
150
|
depth: 56, # Integer | 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
|
@@ -152,7 +152,7 @@ opts = {
|
|
152
152
|
}
|
153
153
|
|
154
154
|
begin
|
155
|
-
# Retrieve
|
155
|
+
# Retrieve data center labels
|
156
156
|
result = api_instance.datacenters_labels_find_by_key(datacenter_id, key, opts)
|
157
157
|
p result
|
158
158
|
rescue Ionoscloud::ApiError => e
|
@@ -168,7 +168,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
168
168
|
|
169
169
|
```ruby
|
170
170
|
begin
|
171
|
-
# Retrieve
|
171
|
+
# Retrieve data center labels
|
172
172
|
data, status_code, headers = api_instance.datacenters_labels_find_by_key_with_http_info(datacenter_id, key, opts)
|
173
173
|
p status_code # => 2xx
|
174
174
|
p headers # => { ... }
|
@@ -182,15 +182,15 @@ end
|
|
182
182
|
|
183
183
|
| Name | Type | Description | Notes |
|
184
184
|
| ---- | ---- | ----------- | ----- |
|
185
|
-
| **datacenter_id** | **String** | The unique ID of the
|
186
|
-
| **key** | **String** | The key
|
185
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
186
|
+
| **key** | **String** | The label key | |
|
187
187
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
188
188
|
| **depth** | **Integer** | 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 | [optional][default to 0] |
|
189
189
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
190
190
|
|
191
191
|
### Return type
|
192
192
|
|
193
|
-
[**LabelResource**](LabelResource.md)
|
193
|
+
[**LabelResource**](../models/LabelResource.md)
|
194
194
|
|
195
195
|
### Authorization
|
196
196
|
|
@@ -206,9 +206,9 @@ Basic Authentication, Token Authentication
|
|
206
206
|
|
207
207
|
> <LabelResources> datacenters_labels_get(datacenter_id, opts)
|
208
208
|
|
209
|
-
List
|
209
|
+
List data center labels
|
210
210
|
|
211
|
-
|
211
|
+
List all the the labels for the specified data center.
|
212
212
|
|
213
213
|
### Examples
|
214
214
|
|
@@ -228,7 +228,7 @@ Ionoscloud.configure do |config|
|
|
228
228
|
end
|
229
229
|
|
230
230
|
api_instance = Ionoscloud::LabelsApi.new
|
231
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
231
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
232
232
|
opts = {
|
233
233
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
234
234
|
depth: 56, # Integer | 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
|
@@ -236,7 +236,7 @@ opts = {
|
|
236
236
|
}
|
237
237
|
|
238
238
|
begin
|
239
|
-
# List
|
239
|
+
# List data center labels
|
240
240
|
result = api_instance.datacenters_labels_get(datacenter_id, opts)
|
241
241
|
p result
|
242
242
|
rescue Ionoscloud::ApiError => e
|
@@ -252,7 +252,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
252
252
|
|
253
253
|
```ruby
|
254
254
|
begin
|
255
|
-
# List
|
255
|
+
# List data center labels
|
256
256
|
data, status_code, headers = api_instance.datacenters_labels_get_with_http_info(datacenter_id, opts)
|
257
257
|
p status_code # => 2xx
|
258
258
|
p headers # => { ... }
|
@@ -266,14 +266,14 @@ end
|
|
266
266
|
|
267
267
|
| Name | Type | Description | Notes |
|
268
268
|
| ---- | ---- | ----------- | ----- |
|
269
|
-
| **datacenter_id** | **String** | The unique ID of the
|
269
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
270
270
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
271
271
|
| **depth** | **Integer** | 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 | [optional][default to 0] |
|
272
272
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
273
273
|
|
274
274
|
### Return type
|
275
275
|
|
276
|
-
[**LabelResources**](LabelResources.md)
|
276
|
+
[**LabelResources**](../models/LabelResources.md)
|
277
277
|
|
278
278
|
### Authorization
|
279
279
|
|
@@ -289,9 +289,9 @@ Basic Authentication, Token Authentication
|
|
289
289
|
|
290
290
|
> <LabelResource> datacenters_labels_post(datacenter_id, label, opts)
|
291
291
|
|
292
|
-
|
292
|
+
Create data center labels
|
293
293
|
|
294
|
-
|
294
|
+
Add a new label to the specified data center.
|
295
295
|
|
296
296
|
### Examples
|
297
297
|
|
@@ -311,8 +311,8 @@ Ionoscloud.configure do |config|
|
|
311
311
|
end
|
312
312
|
|
313
313
|
api_instance = Ionoscloud::LabelsApi.new
|
314
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
315
|
-
label = Ionoscloud::LabelResource.new({properties: Ionoscloud::LabelResourceProperties.new}) # LabelResource |
|
314
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
315
|
+
label = Ionoscloud::LabelResource.new({properties: Ionoscloud::LabelResourceProperties.new}) # LabelResource | The label to create.
|
316
316
|
opts = {
|
317
317
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
318
318
|
depth: 56, # Integer | 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
|
@@ -320,7 +320,7 @@ opts = {
|
|
320
320
|
}
|
321
321
|
|
322
322
|
begin
|
323
|
-
#
|
323
|
+
# Create data center labels
|
324
324
|
result = api_instance.datacenters_labels_post(datacenter_id, label, opts)
|
325
325
|
p result
|
326
326
|
rescue Ionoscloud::ApiError => e
|
@@ -336,7 +336,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
336
336
|
|
337
337
|
```ruby
|
338
338
|
begin
|
339
|
-
#
|
339
|
+
# Create data center labels
|
340
340
|
data, status_code, headers = api_instance.datacenters_labels_post_with_http_info(datacenter_id, label, opts)
|
341
341
|
p status_code # => 2xx
|
342
342
|
p headers # => { ... }
|
@@ -350,15 +350,15 @@ end
|
|
350
350
|
|
351
351
|
| Name | Type | Description | Notes |
|
352
352
|
| ---- | ---- | ----------- | ----- |
|
353
|
-
| **datacenter_id** | **String** | The unique ID of the
|
354
|
-
| **label** | [**LabelResource**](LabelResource.md) |
|
353
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
354
|
+
| **label** | [**LabelResource**](LabelResource.md) | The label to create. | |
|
355
355
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
356
356
|
| **depth** | **Integer** | 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 | [optional][default to 0] |
|
357
357
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
358
358
|
|
359
359
|
### Return type
|
360
360
|
|
361
|
-
[**LabelResource**](LabelResource.md)
|
361
|
+
[**LabelResource**](../models/LabelResource.md)
|
362
362
|
|
363
363
|
### Authorization
|
364
364
|
|
@@ -374,9 +374,9 @@ Basic Authentication, Token Authentication
|
|
374
374
|
|
375
375
|
> <LabelResource> datacenters_labels_put(datacenter_id, key, label, opts)
|
376
376
|
|
377
|
-
Modify
|
377
|
+
Modify data center labels
|
378
378
|
|
379
|
-
|
379
|
+
Modify the specified data center label.
|
380
380
|
|
381
381
|
### Examples
|
382
382
|
|
@@ -396,9 +396,9 @@ Ionoscloud.configure do |config|
|
|
396
396
|
end
|
397
397
|
|
398
398
|
api_instance = Ionoscloud::LabelsApi.new
|
399
|
-
datacenter_id = 'datacenter_id_example' # String | The unique ID of the
|
400
|
-
key = 'key_example' # String | The key
|
401
|
-
label = Ionoscloud::LabelResource.new({properties: Ionoscloud::LabelResourceProperties.new}) # LabelResource |
|
399
|
+
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
400
|
+
key = 'key_example' # String | The label key
|
401
|
+
label = Ionoscloud::LabelResource.new({properties: Ionoscloud::LabelResourceProperties.new}) # LabelResource | The modified label
|
402
402
|
opts = {
|
403
403
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
404
404
|
depth: 56, # Integer | 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
|
@@ -406,7 +406,7 @@ opts = {
|
|
406
406
|
}
|
407
407
|
|
408
408
|
begin
|
409
|
-
# Modify
|
409
|
+
# Modify data center labels
|
410
410
|
result = api_instance.datacenters_labels_put(datacenter_id, key, label, opts)
|
411
411
|
p result
|
412
412
|
rescue Ionoscloud::ApiError => e
|
@@ -422,7 +422,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
422
422
|
|
423
423
|
```ruby
|
424
424
|
begin
|
425
|
-
# Modify
|
425
|
+
# Modify data center labels
|
426
426
|
data, status_code, headers = api_instance.datacenters_labels_put_with_http_info(datacenter_id, key, label, opts)
|
427
427
|
p status_code # => 2xx
|
428
428
|
p headers # => { ... }
|
@@ -436,16 +436,16 @@ end
|
|
436
436
|
|
437
437
|
| Name | Type | Description | Notes |
|
438
438
|
| ---- | ---- | ----------- | ----- |
|
439
|
-
| **datacenter_id** | **String** | The unique ID of the
|
440
|
-
| **key** | **String** | The key
|
441
|
-
| **label** | [**LabelResource**](LabelResource.md) |
|
439
|
+
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
440
|
+
| **key** | **String** | The label key | |
|
441
|
+
| **label** | [**LabelResource**](LabelResource.md) | The modified label | |
|
442
442
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
443
443
|
| **depth** | **Integer** | 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 | [optional][default to 0] |
|
444
444
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
445
445
|
|
446
446
|
### Return type
|
447
447
|
|
448
|
-
[**LabelResource**](LabelResource.md)
|
448
|
+
[**LabelResource**](../models/LabelResource.md)
|
449
449
|
|
450
450
|
### Authorization
|
451
451
|
|
@@ -461,9 +461,9 @@ Basic Authentication, Token Authentication
|
|
461
461
|
|
462
462
|
> datacenters_servers_labels_delete(datacenter_id, server_id, key, opts)
|
463
463
|
|
464
|
-
Delete
|
464
|
+
Delete server labels
|
465
465
|
|
466
|
-
|
466
|
+
Delete the specified server label.
|
467
467
|
|
468
468
|
### Examples
|
469
469
|
|
@@ -484,8 +484,8 @@ end
|
|
484
484
|
|
485
485
|
api_instance = Ionoscloud::LabelsApi.new
|
486
486
|
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
487
|
-
server_id = 'server_id_example' # String | The unique ID of the
|
488
|
-
key = 'key_example' # String | The key
|
487
|
+
server_id = 'server_id_example' # String | The unique ID of the server.
|
488
|
+
key = 'key_example' # String | The label key
|
489
489
|
opts = {
|
490
490
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
491
491
|
depth: 56, # Integer | 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
|
@@ -493,7 +493,7 @@ opts = {
|
|
493
493
|
}
|
494
494
|
|
495
495
|
begin
|
496
|
-
# Delete
|
496
|
+
# Delete server labels
|
497
497
|
api_instance.datacenters_servers_labels_delete(datacenter_id, server_id, key, opts)
|
498
498
|
rescue Ionoscloud::ApiError => e
|
499
499
|
puts "Error when calling LabelsApi->datacenters_servers_labels_delete: #{e}"
|
@@ -508,7 +508,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
|
|
508
508
|
|
509
509
|
```ruby
|
510
510
|
begin
|
511
|
-
# Delete
|
511
|
+
# Delete server labels
|
512
512
|
data, status_code, headers = api_instance.datacenters_servers_labels_delete_with_http_info(datacenter_id, server_id, key, opts)
|
513
513
|
p status_code # => 2xx
|
514
514
|
p headers # => { ... }
|
@@ -523,8 +523,8 @@ end
|
|
523
523
|
| Name | Type | Description | Notes |
|
524
524
|
| ---- | ---- | ----------- | ----- |
|
525
525
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
526
|
-
| **server_id** | **String** | The unique ID of the
|
527
|
-
| **key** | **String** | The key
|
526
|
+
| **server_id** | **String** | The unique ID of the server. | |
|
527
|
+
| **key** | **String** | The label key | |
|
528
528
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
529
529
|
| **depth** | **Integer** | 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 | [optional][default to 0] |
|
530
530
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
@@ -547,9 +547,9 @@ Basic Authentication, Token Authentication
|
|
547
547
|
|
548
548
|
> <LabelResource> datacenters_servers_labels_find_by_key(datacenter_id, server_id, key, opts)
|
549
549
|
|
550
|
-
Retrieve
|
550
|
+
Retrieve server labels
|
551
551
|
|
552
|
-
|
552
|
+
Retrieve the properties of the specified server label.
|
553
553
|
|
554
554
|
### Examples
|
555
555
|
|
@@ -570,8 +570,8 @@ end
|
|
570
570
|
|
571
571
|
api_instance = Ionoscloud::LabelsApi.new
|
572
572
|
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
573
|
-
server_id = 'server_id_example' # String | The unique ID of the
|
574
|
-
key = 'key_example' # String | The key
|
573
|
+
server_id = 'server_id_example' # String | The unique ID of the server.
|
574
|
+
key = 'key_example' # String | The label key
|
575
575
|
opts = {
|
576
576
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
577
577
|
depth: 56, # Integer | 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
|
@@ -579,7 +579,7 @@ opts = {
|
|
579
579
|
}
|
580
580
|
|
581
581
|
begin
|
582
|
-
# Retrieve
|
582
|
+
# Retrieve server labels
|
583
583
|
result = api_instance.datacenters_servers_labels_find_by_key(datacenter_id, server_id, key, opts)
|
584
584
|
p result
|
585
585
|
rescue Ionoscloud::ApiError => e
|
@@ -595,7 +595,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
595
595
|
|
596
596
|
```ruby
|
597
597
|
begin
|
598
|
-
# Retrieve
|
598
|
+
# Retrieve server labels
|
599
599
|
data, status_code, headers = api_instance.datacenters_servers_labels_find_by_key_with_http_info(datacenter_id, server_id, key, opts)
|
600
600
|
p status_code # => 2xx
|
601
601
|
p headers # => { ... }
|
@@ -610,15 +610,15 @@ end
|
|
610
610
|
| Name | Type | Description | Notes |
|
611
611
|
| ---- | ---- | ----------- | ----- |
|
612
612
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
613
|
-
| **server_id** | **String** | The unique ID of the
|
614
|
-
| **key** | **String** | The key
|
613
|
+
| **server_id** | **String** | The unique ID of the server. | |
|
614
|
+
| **key** | **String** | The label key | |
|
615
615
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
616
616
|
| **depth** | **Integer** | 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 | [optional][default to 0] |
|
617
617
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
618
618
|
|
619
619
|
### Return type
|
620
620
|
|
621
|
-
[**LabelResource**](LabelResource.md)
|
621
|
+
[**LabelResource**](../models/LabelResource.md)
|
622
622
|
|
623
623
|
### Authorization
|
624
624
|
|
@@ -634,9 +634,9 @@ Basic Authentication, Token Authentication
|
|
634
634
|
|
635
635
|
> <LabelResources> datacenters_servers_labels_get(datacenter_id, server_id, opts)
|
636
636
|
|
637
|
-
List
|
637
|
+
List server labels
|
638
638
|
|
639
|
-
|
639
|
+
List all the the labels for the specified server.
|
640
640
|
|
641
641
|
### Examples
|
642
642
|
|
@@ -657,7 +657,7 @@ end
|
|
657
657
|
|
658
658
|
api_instance = Ionoscloud::LabelsApi.new
|
659
659
|
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
660
|
-
server_id = 'server_id_example' # String | The unique ID of the
|
660
|
+
server_id = 'server_id_example' # String | The unique ID of the server.
|
661
661
|
opts = {
|
662
662
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
663
663
|
depth: 56, # Integer | 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
|
@@ -665,7 +665,7 @@ opts = {
|
|
665
665
|
}
|
666
666
|
|
667
667
|
begin
|
668
|
-
# List
|
668
|
+
# List server labels
|
669
669
|
result = api_instance.datacenters_servers_labels_get(datacenter_id, server_id, opts)
|
670
670
|
p result
|
671
671
|
rescue Ionoscloud::ApiError => e
|
@@ -681,7 +681,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
681
681
|
|
682
682
|
```ruby
|
683
683
|
begin
|
684
|
-
# List
|
684
|
+
# List server labels
|
685
685
|
data, status_code, headers = api_instance.datacenters_servers_labels_get_with_http_info(datacenter_id, server_id, opts)
|
686
686
|
p status_code # => 2xx
|
687
687
|
p headers # => { ... }
|
@@ -696,14 +696,14 @@ end
|
|
696
696
|
| Name | Type | Description | Notes |
|
697
697
|
| ---- | ---- | ----------- | ----- |
|
698
698
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
699
|
-
| **server_id** | **String** | The unique ID of the
|
699
|
+
| **server_id** | **String** | The unique ID of the server. | |
|
700
700
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
701
701
|
| **depth** | **Integer** | 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 | [optional][default to 0] |
|
702
702
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
703
703
|
|
704
704
|
### Return type
|
705
705
|
|
706
|
-
[**LabelResources**](LabelResources.md)
|
706
|
+
[**LabelResources**](../models/LabelResources.md)
|
707
707
|
|
708
708
|
### Authorization
|
709
709
|
|
@@ -719,9 +719,9 @@ Basic Authentication, Token Authentication
|
|
719
719
|
|
720
720
|
> <LabelResource> datacenters_servers_labels_post(datacenter_id, server_id, label, opts)
|
721
721
|
|
722
|
-
|
722
|
+
Create server labels
|
723
723
|
|
724
|
-
|
724
|
+
Add a new label to the specified server.
|
725
725
|
|
726
726
|
### Examples
|
727
727
|
|
@@ -742,8 +742,8 @@ end
|
|
742
742
|
|
743
743
|
api_instance = Ionoscloud::LabelsApi.new
|
744
744
|
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
745
|
-
server_id = 'server_id_example' # String | The unique ID of the
|
746
|
-
label = Ionoscloud::LabelResource.new({properties: Ionoscloud::LabelResourceProperties.new}) # LabelResource |
|
745
|
+
server_id = 'server_id_example' # String | The unique ID of the server.
|
746
|
+
label = Ionoscloud::LabelResource.new({properties: Ionoscloud::LabelResourceProperties.new}) # LabelResource | The label to create.
|
747
747
|
opts = {
|
748
748
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
749
749
|
depth: 56, # Integer | 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
|
@@ -751,7 +751,7 @@ opts = {
|
|
751
751
|
}
|
752
752
|
|
753
753
|
begin
|
754
|
-
#
|
754
|
+
# Create server labels
|
755
755
|
result = api_instance.datacenters_servers_labels_post(datacenter_id, server_id, label, opts)
|
756
756
|
p result
|
757
757
|
rescue Ionoscloud::ApiError => e
|
@@ -767,7 +767,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
767
767
|
|
768
768
|
```ruby
|
769
769
|
begin
|
770
|
-
#
|
770
|
+
# Create server labels
|
771
771
|
data, status_code, headers = api_instance.datacenters_servers_labels_post_with_http_info(datacenter_id, server_id, label, opts)
|
772
772
|
p status_code # => 2xx
|
773
773
|
p headers # => { ... }
|
@@ -782,15 +782,15 @@ end
|
|
782
782
|
| Name | Type | Description | Notes |
|
783
783
|
| ---- | ---- | ----------- | ----- |
|
784
784
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
785
|
-
| **server_id** | **String** | The unique ID of the
|
786
|
-
| **label** | [**LabelResource**](LabelResource.md) |
|
785
|
+
| **server_id** | **String** | The unique ID of the server. | |
|
786
|
+
| **label** | [**LabelResource**](LabelResource.md) | The label to create. | |
|
787
787
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
788
788
|
| **depth** | **Integer** | 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 | [optional][default to 0] |
|
789
789
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
790
790
|
|
791
791
|
### Return type
|
792
792
|
|
793
|
-
[**LabelResource**](LabelResource.md)
|
793
|
+
[**LabelResource**](../models/LabelResource.md)
|
794
794
|
|
795
795
|
### Authorization
|
796
796
|
|
@@ -806,9 +806,9 @@ Basic Authentication, Token Authentication
|
|
806
806
|
|
807
807
|
> <LabelResource> datacenters_servers_labels_put(datacenter_id, server_id, key, label, opts)
|
808
808
|
|
809
|
-
Modify
|
809
|
+
Modify server labels
|
810
810
|
|
811
|
-
|
811
|
+
Modify the specified server label.
|
812
812
|
|
813
813
|
### Examples
|
814
814
|
|
@@ -829,9 +829,9 @@ end
|
|
829
829
|
|
830
830
|
api_instance = Ionoscloud::LabelsApi.new
|
831
831
|
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
832
|
-
server_id = 'server_id_example' # String | The unique ID of the
|
833
|
-
key = 'key_example' # String | The key
|
834
|
-
label = Ionoscloud::LabelResource.new({properties: Ionoscloud::LabelResourceProperties.new}) # LabelResource |
|
832
|
+
server_id = 'server_id_example' # String | The unique ID of the server.
|
833
|
+
key = 'key_example' # String | The label key
|
834
|
+
label = Ionoscloud::LabelResource.new({properties: Ionoscloud::LabelResourceProperties.new}) # LabelResource | The modified label
|
835
835
|
opts = {
|
836
836
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
837
837
|
depth: 56, # Integer | 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
|
@@ -839,7 +839,7 @@ opts = {
|
|
839
839
|
}
|
840
840
|
|
841
841
|
begin
|
842
|
-
# Modify
|
842
|
+
# Modify server labels
|
843
843
|
result = api_instance.datacenters_servers_labels_put(datacenter_id, server_id, key, label, opts)
|
844
844
|
p result
|
845
845
|
rescue Ionoscloud::ApiError => e
|
@@ -855,7 +855,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
855
855
|
|
856
856
|
```ruby
|
857
857
|
begin
|
858
|
-
# Modify
|
858
|
+
# Modify server labels
|
859
859
|
data, status_code, headers = api_instance.datacenters_servers_labels_put_with_http_info(datacenter_id, server_id, key, label, opts)
|
860
860
|
p status_code # => 2xx
|
861
861
|
p headers # => { ... }
|
@@ -870,16 +870,16 @@ end
|
|
870
870
|
| Name | Type | Description | Notes |
|
871
871
|
| ---- | ---- | ----------- | ----- |
|
872
872
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
873
|
-
| **server_id** | **String** | The unique ID of the
|
874
|
-
| **key** | **String** | The key
|
875
|
-
| **label** | [**LabelResource**](LabelResource.md) |
|
873
|
+
| **server_id** | **String** | The unique ID of the server. | |
|
874
|
+
| **key** | **String** | The label key | |
|
875
|
+
| **label** | [**LabelResource**](LabelResource.md) | The modified label | |
|
876
876
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
877
877
|
| **depth** | **Integer** | 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 | [optional][default to 0] |
|
878
878
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
879
879
|
|
880
880
|
### Return type
|
881
881
|
|
882
|
-
[**LabelResource**](LabelResource.md)
|
882
|
+
[**LabelResource**](../models/LabelResource.md)
|
883
883
|
|
884
884
|
### Authorization
|
885
885
|
|
@@ -895,9 +895,9 @@ Basic Authentication, Token Authentication
|
|
895
895
|
|
896
896
|
> datacenters_volumes_labels_delete(datacenter_id, volume_id, key, opts)
|
897
897
|
|
898
|
-
Delete
|
898
|
+
Delete volume labels
|
899
899
|
|
900
|
-
|
900
|
+
Delete the specified volume label.
|
901
901
|
|
902
902
|
### Examples
|
903
903
|
|
@@ -918,8 +918,8 @@ end
|
|
918
918
|
|
919
919
|
api_instance = Ionoscloud::LabelsApi.new
|
920
920
|
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
921
|
-
volume_id = 'volume_id_example' # String | The unique ID of the
|
922
|
-
key = 'key_example' # String | The key
|
921
|
+
volume_id = 'volume_id_example' # String | The unique ID of the volume.
|
922
|
+
key = 'key_example' # String | The label key
|
923
923
|
opts = {
|
924
924
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
925
925
|
depth: 56, # Integer | 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
|
@@ -927,7 +927,7 @@ opts = {
|
|
927
927
|
}
|
928
928
|
|
929
929
|
begin
|
930
|
-
# Delete
|
930
|
+
# Delete volume labels
|
931
931
|
api_instance.datacenters_volumes_labels_delete(datacenter_id, volume_id, key, opts)
|
932
932
|
rescue Ionoscloud::ApiError => e
|
933
933
|
puts "Error when calling LabelsApi->datacenters_volumes_labels_delete: #{e}"
|
@@ -942,7 +942,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
|
|
942
942
|
|
943
943
|
```ruby
|
944
944
|
begin
|
945
|
-
# Delete
|
945
|
+
# Delete volume labels
|
946
946
|
data, status_code, headers = api_instance.datacenters_volumes_labels_delete_with_http_info(datacenter_id, volume_id, key, opts)
|
947
947
|
p status_code # => 2xx
|
948
948
|
p headers # => { ... }
|
@@ -957,8 +957,8 @@ end
|
|
957
957
|
| Name | Type | Description | Notes |
|
958
958
|
| ---- | ---- | ----------- | ----- |
|
959
959
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
960
|
-
| **volume_id** | **String** | The unique ID of the
|
961
|
-
| **key** | **String** | The key
|
960
|
+
| **volume_id** | **String** | The unique ID of the volume. | |
|
961
|
+
| **key** | **String** | The label key | |
|
962
962
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
963
963
|
| **depth** | **Integer** | 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 | [optional][default to 0] |
|
964
964
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
@@ -981,9 +981,9 @@ Basic Authentication, Token Authentication
|
|
981
981
|
|
982
982
|
> <LabelResource> datacenters_volumes_labels_find_by_key(datacenter_id, volume_id, key, opts)
|
983
983
|
|
984
|
-
Retrieve
|
984
|
+
Retrieve volume labels
|
985
985
|
|
986
|
-
|
986
|
+
Retrieve the properties of the specified volume label.
|
987
987
|
|
988
988
|
### Examples
|
989
989
|
|
@@ -1004,8 +1004,8 @@ end
|
|
1004
1004
|
|
1005
1005
|
api_instance = Ionoscloud::LabelsApi.new
|
1006
1006
|
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
1007
|
-
volume_id = 'volume_id_example' # String | The unique ID of the
|
1008
|
-
key = 'key_example' # String | The key
|
1007
|
+
volume_id = 'volume_id_example' # String | The unique ID of the volume.
|
1008
|
+
key = 'key_example' # String | The label key
|
1009
1009
|
opts = {
|
1010
1010
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1011
1011
|
depth: 56, # Integer | 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
|
@@ -1013,7 +1013,7 @@ opts = {
|
|
1013
1013
|
}
|
1014
1014
|
|
1015
1015
|
begin
|
1016
|
-
# Retrieve
|
1016
|
+
# Retrieve volume labels
|
1017
1017
|
result = api_instance.datacenters_volumes_labels_find_by_key(datacenter_id, volume_id, key, opts)
|
1018
1018
|
p result
|
1019
1019
|
rescue Ionoscloud::ApiError => e
|
@@ -1029,7 +1029,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1029
1029
|
|
1030
1030
|
```ruby
|
1031
1031
|
begin
|
1032
|
-
# Retrieve
|
1032
|
+
# Retrieve volume labels
|
1033
1033
|
data, status_code, headers = api_instance.datacenters_volumes_labels_find_by_key_with_http_info(datacenter_id, volume_id, key, opts)
|
1034
1034
|
p status_code # => 2xx
|
1035
1035
|
p headers # => { ... }
|
@@ -1044,15 +1044,15 @@ end
|
|
1044
1044
|
| Name | Type | Description | Notes |
|
1045
1045
|
| ---- | ---- | ----------- | ----- |
|
1046
1046
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1047
|
-
| **volume_id** | **String** | The unique ID of the
|
1048
|
-
| **key** | **String** | The key
|
1047
|
+
| **volume_id** | **String** | The unique ID of the volume. | |
|
1048
|
+
| **key** | **String** | The label key | |
|
1049
1049
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1050
1050
|
| **depth** | **Integer** | 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 | [optional][default to 0] |
|
1051
1051
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
1052
1052
|
|
1053
1053
|
### Return type
|
1054
1054
|
|
1055
|
-
[**LabelResource**](LabelResource.md)
|
1055
|
+
[**LabelResource**](../models/LabelResource.md)
|
1056
1056
|
|
1057
1057
|
### Authorization
|
1058
1058
|
|
@@ -1068,9 +1068,9 @@ Basic Authentication, Token Authentication
|
|
1068
1068
|
|
1069
1069
|
> <LabelResources> datacenters_volumes_labels_get(datacenter_id, volume_id, opts)
|
1070
1070
|
|
1071
|
-
List
|
1071
|
+
List volume labels
|
1072
1072
|
|
1073
|
-
|
1073
|
+
List all the the labels for the specified volume.
|
1074
1074
|
|
1075
1075
|
### Examples
|
1076
1076
|
|
@@ -1091,7 +1091,7 @@ end
|
|
1091
1091
|
|
1092
1092
|
api_instance = Ionoscloud::LabelsApi.new
|
1093
1093
|
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
1094
|
-
volume_id = 'volume_id_example' # String | The unique ID of the
|
1094
|
+
volume_id = 'volume_id_example' # String | The unique ID of the volume.
|
1095
1095
|
opts = {
|
1096
1096
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1097
1097
|
depth: 56, # Integer | 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
|
@@ -1099,7 +1099,7 @@ opts = {
|
|
1099
1099
|
}
|
1100
1100
|
|
1101
1101
|
begin
|
1102
|
-
# List
|
1102
|
+
# List volume labels
|
1103
1103
|
result = api_instance.datacenters_volumes_labels_get(datacenter_id, volume_id, opts)
|
1104
1104
|
p result
|
1105
1105
|
rescue Ionoscloud::ApiError => e
|
@@ -1115,7 +1115,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1115
1115
|
|
1116
1116
|
```ruby
|
1117
1117
|
begin
|
1118
|
-
# List
|
1118
|
+
# List volume labels
|
1119
1119
|
data, status_code, headers = api_instance.datacenters_volumes_labels_get_with_http_info(datacenter_id, volume_id, opts)
|
1120
1120
|
p status_code # => 2xx
|
1121
1121
|
p headers # => { ... }
|
@@ -1130,14 +1130,14 @@ end
|
|
1130
1130
|
| Name | Type | Description | Notes |
|
1131
1131
|
| ---- | ---- | ----------- | ----- |
|
1132
1132
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1133
|
-
| **volume_id** | **String** | The unique ID of the
|
1133
|
+
| **volume_id** | **String** | The unique ID of the volume. | |
|
1134
1134
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1135
1135
|
| **depth** | **Integer** | 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 | [optional][default to 0] |
|
1136
1136
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
1137
1137
|
|
1138
1138
|
### Return type
|
1139
1139
|
|
1140
|
-
[**LabelResources**](LabelResources.md)
|
1140
|
+
[**LabelResources**](../models/LabelResources.md)
|
1141
1141
|
|
1142
1142
|
### Authorization
|
1143
1143
|
|
@@ -1153,9 +1153,9 @@ Basic Authentication, Token Authentication
|
|
1153
1153
|
|
1154
1154
|
> <LabelResource> datacenters_volumes_labels_post(datacenter_id, volume_id, label, opts)
|
1155
1155
|
|
1156
|
-
|
1156
|
+
Create volume labels
|
1157
1157
|
|
1158
|
-
|
1158
|
+
Add a new label to the specified volume.
|
1159
1159
|
|
1160
1160
|
### Examples
|
1161
1161
|
|
@@ -1176,8 +1176,8 @@ end
|
|
1176
1176
|
|
1177
1177
|
api_instance = Ionoscloud::LabelsApi.new
|
1178
1178
|
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
1179
|
-
volume_id = 'volume_id_example' # String | The unique ID of the
|
1180
|
-
label = Ionoscloud::LabelResource.new({properties: Ionoscloud::LabelResourceProperties.new}) # LabelResource |
|
1179
|
+
volume_id = 'volume_id_example' # String | The unique ID of the volume.
|
1180
|
+
label = Ionoscloud::LabelResource.new({properties: Ionoscloud::LabelResourceProperties.new}) # LabelResource | The label to create.
|
1181
1181
|
opts = {
|
1182
1182
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1183
1183
|
depth: 56, # Integer | 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
|
@@ -1185,7 +1185,7 @@ opts = {
|
|
1185
1185
|
}
|
1186
1186
|
|
1187
1187
|
begin
|
1188
|
-
#
|
1188
|
+
# Create volume labels
|
1189
1189
|
result = api_instance.datacenters_volumes_labels_post(datacenter_id, volume_id, label, opts)
|
1190
1190
|
p result
|
1191
1191
|
rescue Ionoscloud::ApiError => e
|
@@ -1201,7 +1201,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1201
1201
|
|
1202
1202
|
```ruby
|
1203
1203
|
begin
|
1204
|
-
#
|
1204
|
+
# Create volume labels
|
1205
1205
|
data, status_code, headers = api_instance.datacenters_volumes_labels_post_with_http_info(datacenter_id, volume_id, label, opts)
|
1206
1206
|
p status_code # => 2xx
|
1207
1207
|
p headers # => { ... }
|
@@ -1216,15 +1216,15 @@ end
|
|
1216
1216
|
| Name | Type | Description | Notes |
|
1217
1217
|
| ---- | ---- | ----------- | ----- |
|
1218
1218
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1219
|
-
| **volume_id** | **String** | The unique ID of the
|
1220
|
-
| **label** | [**LabelResource**](LabelResource.md) |
|
1219
|
+
| **volume_id** | **String** | The unique ID of the volume. | |
|
1220
|
+
| **label** | [**LabelResource**](LabelResource.md) | The label to create. | |
|
1221
1221
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1222
1222
|
| **depth** | **Integer** | 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 | [optional][default to 0] |
|
1223
1223
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
1224
1224
|
|
1225
1225
|
### Return type
|
1226
1226
|
|
1227
|
-
[**LabelResource**](LabelResource.md)
|
1227
|
+
[**LabelResource**](../models/LabelResource.md)
|
1228
1228
|
|
1229
1229
|
### Authorization
|
1230
1230
|
|
@@ -1240,9 +1240,9 @@ Basic Authentication, Token Authentication
|
|
1240
1240
|
|
1241
1241
|
> <LabelResource> datacenters_volumes_labels_put(datacenter_id, volume_id, key, label, opts)
|
1242
1242
|
|
1243
|
-
Modify
|
1243
|
+
Modify volume labels
|
1244
1244
|
|
1245
|
-
|
1245
|
+
Modify the specified volume label.
|
1246
1246
|
|
1247
1247
|
### Examples
|
1248
1248
|
|
@@ -1263,9 +1263,9 @@ end
|
|
1263
1263
|
|
1264
1264
|
api_instance = Ionoscloud::LabelsApi.new
|
1265
1265
|
datacenter_id = 'datacenter_id_example' # String | The unique ID of the data center.
|
1266
|
-
volume_id = 'volume_id_example' # String | The unique ID of the
|
1267
|
-
key = 'key_example' # String | The key
|
1268
|
-
label = Ionoscloud::LabelResource.new({properties: Ionoscloud::LabelResourceProperties.new}) # LabelResource |
|
1266
|
+
volume_id = 'volume_id_example' # String | The unique ID of the volume.
|
1267
|
+
key = 'key_example' # String | The label key
|
1268
|
+
label = Ionoscloud::LabelResource.new({properties: Ionoscloud::LabelResourceProperties.new}) # LabelResource | The modified label
|
1269
1269
|
opts = {
|
1270
1270
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1271
1271
|
depth: 56, # Integer | 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
|
@@ -1273,7 +1273,7 @@ opts = {
|
|
1273
1273
|
}
|
1274
1274
|
|
1275
1275
|
begin
|
1276
|
-
# Modify
|
1276
|
+
# Modify volume labels
|
1277
1277
|
result = api_instance.datacenters_volumes_labels_put(datacenter_id, volume_id, key, label, opts)
|
1278
1278
|
p result
|
1279
1279
|
rescue Ionoscloud::ApiError => e
|
@@ -1289,7 +1289,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1289
1289
|
|
1290
1290
|
```ruby
|
1291
1291
|
begin
|
1292
|
-
# Modify
|
1292
|
+
# Modify volume labels
|
1293
1293
|
data, status_code, headers = api_instance.datacenters_volumes_labels_put_with_http_info(datacenter_id, volume_id, key, label, opts)
|
1294
1294
|
p status_code # => 2xx
|
1295
1295
|
p headers # => { ... }
|
@@ -1304,16 +1304,16 @@ end
|
|
1304
1304
|
| Name | Type | Description | Notes |
|
1305
1305
|
| ---- | ---- | ----------- | ----- |
|
1306
1306
|
| **datacenter_id** | **String** | The unique ID of the data center. | |
|
1307
|
-
| **volume_id** | **String** | The unique ID of the
|
1308
|
-
| **key** | **String** | The key
|
1309
|
-
| **label** | [**LabelResource**](LabelResource.md) |
|
1307
|
+
| **volume_id** | **String** | The unique ID of the volume. | |
|
1308
|
+
| **key** | **String** | The label key | |
|
1309
|
+
| **label** | [**LabelResource**](LabelResource.md) | The modified label | |
|
1310
1310
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1311
1311
|
| **depth** | **Integer** | 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 | [optional][default to 0] |
|
1312
1312
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
1313
1313
|
|
1314
1314
|
### Return type
|
1315
1315
|
|
1316
|
-
[**LabelResource**](LabelResource.md)
|
1316
|
+
[**LabelResource**](../models/LabelResource.md)
|
1317
1317
|
|
1318
1318
|
### Authorization
|
1319
1319
|
|
@@ -1329,9 +1329,9 @@ Basic Authentication, Token Authentication
|
|
1329
1329
|
|
1330
1330
|
> ipblocks_labels_delete(ipblock_id, key, opts)
|
1331
1331
|
|
1332
|
-
Delete
|
1332
|
+
Delete IP block labels
|
1333
1333
|
|
1334
|
-
|
1334
|
+
Delete the specified IP block label.
|
1335
1335
|
|
1336
1336
|
### Examples
|
1337
1337
|
|
@@ -1351,8 +1351,8 @@ Ionoscloud.configure do |config|
|
|
1351
1351
|
end
|
1352
1352
|
|
1353
1353
|
api_instance = Ionoscloud::LabelsApi.new
|
1354
|
-
ipblock_id = 'ipblock_id_example' # String | The unique ID of the
|
1355
|
-
key = 'key_example' # String | The key
|
1354
|
+
ipblock_id = 'ipblock_id_example' # String | The unique ID of the IP block.
|
1355
|
+
key = 'key_example' # String | The label key
|
1356
1356
|
opts = {
|
1357
1357
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1358
1358
|
depth: 56, # Integer | 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
|
@@ -1360,7 +1360,7 @@ opts = {
|
|
1360
1360
|
}
|
1361
1361
|
|
1362
1362
|
begin
|
1363
|
-
# Delete
|
1363
|
+
# Delete IP block labels
|
1364
1364
|
api_instance.ipblocks_labels_delete(ipblock_id, key, opts)
|
1365
1365
|
rescue Ionoscloud::ApiError => e
|
1366
1366
|
puts "Error when calling LabelsApi->ipblocks_labels_delete: #{e}"
|
@@ -1375,7 +1375,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
|
|
1375
1375
|
|
1376
1376
|
```ruby
|
1377
1377
|
begin
|
1378
|
-
# Delete
|
1378
|
+
# Delete IP block labels
|
1379
1379
|
data, status_code, headers = api_instance.ipblocks_labels_delete_with_http_info(ipblock_id, key, opts)
|
1380
1380
|
p status_code # => 2xx
|
1381
1381
|
p headers # => { ... }
|
@@ -1389,8 +1389,8 @@ end
|
|
1389
1389
|
|
1390
1390
|
| Name | Type | Description | Notes |
|
1391
1391
|
| ---- | ---- | ----------- | ----- |
|
1392
|
-
| **ipblock_id** | **String** | The unique ID of the
|
1393
|
-
| **key** | **String** | The key
|
1392
|
+
| **ipblock_id** | **String** | The unique ID of the IP block. | |
|
1393
|
+
| **key** | **String** | The label key | |
|
1394
1394
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1395
1395
|
| **depth** | **Integer** | 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 | [optional][default to 0] |
|
1396
1396
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
@@ -1413,9 +1413,9 @@ Basic Authentication, Token Authentication
|
|
1413
1413
|
|
1414
1414
|
> <LabelResource> ipblocks_labels_find_by_key(ipblock_id, key, opts)
|
1415
1415
|
|
1416
|
-
Retrieve
|
1416
|
+
Retrieve IP block labels
|
1417
1417
|
|
1418
|
-
|
1418
|
+
Retrieve the properties of the specified IP block label.
|
1419
1419
|
|
1420
1420
|
### Examples
|
1421
1421
|
|
@@ -1435,8 +1435,8 @@ Ionoscloud.configure do |config|
|
|
1435
1435
|
end
|
1436
1436
|
|
1437
1437
|
api_instance = Ionoscloud::LabelsApi.new
|
1438
|
-
ipblock_id = 'ipblock_id_example' # String | The unique ID of the
|
1439
|
-
key = 'key_example' # String | The key
|
1438
|
+
ipblock_id = 'ipblock_id_example' # String | The unique ID of the IP block.
|
1439
|
+
key = 'key_example' # String | The label key
|
1440
1440
|
opts = {
|
1441
1441
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1442
1442
|
depth: 56, # Integer | 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
|
@@ -1444,7 +1444,7 @@ opts = {
|
|
1444
1444
|
}
|
1445
1445
|
|
1446
1446
|
begin
|
1447
|
-
# Retrieve
|
1447
|
+
# Retrieve IP block labels
|
1448
1448
|
result = api_instance.ipblocks_labels_find_by_key(ipblock_id, key, opts)
|
1449
1449
|
p result
|
1450
1450
|
rescue Ionoscloud::ApiError => e
|
@@ -1460,7 +1460,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1460
1460
|
|
1461
1461
|
```ruby
|
1462
1462
|
begin
|
1463
|
-
# Retrieve
|
1463
|
+
# Retrieve IP block labels
|
1464
1464
|
data, status_code, headers = api_instance.ipblocks_labels_find_by_key_with_http_info(ipblock_id, key, opts)
|
1465
1465
|
p status_code # => 2xx
|
1466
1466
|
p headers # => { ... }
|
@@ -1474,15 +1474,15 @@ end
|
|
1474
1474
|
|
1475
1475
|
| Name | Type | Description | Notes |
|
1476
1476
|
| ---- | ---- | ----------- | ----- |
|
1477
|
-
| **ipblock_id** | **String** | The unique ID of the
|
1478
|
-
| **key** | **String** | The key
|
1477
|
+
| **ipblock_id** | **String** | The unique ID of the IP block. | |
|
1478
|
+
| **key** | **String** | The label key | |
|
1479
1479
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1480
1480
|
| **depth** | **Integer** | 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 | [optional][default to 0] |
|
1481
1481
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
1482
1482
|
|
1483
1483
|
### Return type
|
1484
1484
|
|
1485
|
-
[**LabelResource**](LabelResource.md)
|
1485
|
+
[**LabelResource**](../models/LabelResource.md)
|
1486
1486
|
|
1487
1487
|
### Authorization
|
1488
1488
|
|
@@ -1498,9 +1498,9 @@ Basic Authentication, Token Authentication
|
|
1498
1498
|
|
1499
1499
|
> <LabelResources> ipblocks_labels_get(ipblock_id, opts)
|
1500
1500
|
|
1501
|
-
List
|
1501
|
+
List IP block labels
|
1502
1502
|
|
1503
|
-
|
1503
|
+
List all the the labels for the specified IP block.
|
1504
1504
|
|
1505
1505
|
### Examples
|
1506
1506
|
|
@@ -1520,7 +1520,7 @@ Ionoscloud.configure do |config|
|
|
1520
1520
|
end
|
1521
1521
|
|
1522
1522
|
api_instance = Ionoscloud::LabelsApi.new
|
1523
|
-
ipblock_id = 'ipblock_id_example' # String | The unique ID of the
|
1523
|
+
ipblock_id = 'ipblock_id_example' # String | The unique ID of the IP block.
|
1524
1524
|
opts = {
|
1525
1525
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1526
1526
|
depth: 56, # Integer | 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
|
@@ -1528,7 +1528,7 @@ opts = {
|
|
1528
1528
|
}
|
1529
1529
|
|
1530
1530
|
begin
|
1531
|
-
# List
|
1531
|
+
# List IP block labels
|
1532
1532
|
result = api_instance.ipblocks_labels_get(ipblock_id, opts)
|
1533
1533
|
p result
|
1534
1534
|
rescue Ionoscloud::ApiError => e
|
@@ -1544,7 +1544,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1544
1544
|
|
1545
1545
|
```ruby
|
1546
1546
|
begin
|
1547
|
-
# List
|
1547
|
+
# List IP block labels
|
1548
1548
|
data, status_code, headers = api_instance.ipblocks_labels_get_with_http_info(ipblock_id, opts)
|
1549
1549
|
p status_code # => 2xx
|
1550
1550
|
p headers # => { ... }
|
@@ -1558,14 +1558,14 @@ end
|
|
1558
1558
|
|
1559
1559
|
| Name | Type | Description | Notes |
|
1560
1560
|
| ---- | ---- | ----------- | ----- |
|
1561
|
-
| **ipblock_id** | **String** | The unique ID of the
|
1561
|
+
| **ipblock_id** | **String** | The unique ID of the IP block. | |
|
1562
1562
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1563
1563
|
| **depth** | **Integer** | 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 | [optional][default to 0] |
|
1564
1564
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
1565
1565
|
|
1566
1566
|
### Return type
|
1567
1567
|
|
1568
|
-
[**LabelResources**](LabelResources.md)
|
1568
|
+
[**LabelResources**](../models/LabelResources.md)
|
1569
1569
|
|
1570
1570
|
### Authorization
|
1571
1571
|
|
@@ -1581,9 +1581,9 @@ Basic Authentication, Token Authentication
|
|
1581
1581
|
|
1582
1582
|
> <LabelResource> ipblocks_labels_post(ipblock_id, label, opts)
|
1583
1583
|
|
1584
|
-
|
1584
|
+
Create IP block labels
|
1585
1585
|
|
1586
|
-
|
1586
|
+
Add a new label to the specified IP block.
|
1587
1587
|
|
1588
1588
|
### Examples
|
1589
1589
|
|
@@ -1603,8 +1603,8 @@ Ionoscloud.configure do |config|
|
|
1603
1603
|
end
|
1604
1604
|
|
1605
1605
|
api_instance = Ionoscloud::LabelsApi.new
|
1606
|
-
ipblock_id = 'ipblock_id_example' # String | The unique ID of the
|
1607
|
-
label = Ionoscloud::LabelResource.new({properties: Ionoscloud::LabelResourceProperties.new}) # LabelResource |
|
1606
|
+
ipblock_id = 'ipblock_id_example' # String | The unique ID of the IP block.
|
1607
|
+
label = Ionoscloud::LabelResource.new({properties: Ionoscloud::LabelResourceProperties.new}) # LabelResource | The label to create.
|
1608
1608
|
opts = {
|
1609
1609
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1610
1610
|
depth: 56, # Integer | 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
|
@@ -1612,7 +1612,7 @@ opts = {
|
|
1612
1612
|
}
|
1613
1613
|
|
1614
1614
|
begin
|
1615
|
-
#
|
1615
|
+
# Create IP block labels
|
1616
1616
|
result = api_instance.ipblocks_labels_post(ipblock_id, label, opts)
|
1617
1617
|
p result
|
1618
1618
|
rescue Ionoscloud::ApiError => e
|
@@ -1628,7 +1628,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1628
1628
|
|
1629
1629
|
```ruby
|
1630
1630
|
begin
|
1631
|
-
#
|
1631
|
+
# Create IP block labels
|
1632
1632
|
data, status_code, headers = api_instance.ipblocks_labels_post_with_http_info(ipblock_id, label, opts)
|
1633
1633
|
p status_code # => 2xx
|
1634
1634
|
p headers # => { ... }
|
@@ -1642,15 +1642,15 @@ end
|
|
1642
1642
|
|
1643
1643
|
| Name | Type | Description | Notes |
|
1644
1644
|
| ---- | ---- | ----------- | ----- |
|
1645
|
-
| **ipblock_id** | **String** | The unique ID of the
|
1646
|
-
| **label** | [**LabelResource**](LabelResource.md) |
|
1645
|
+
| **ipblock_id** | **String** | The unique ID of the IP block. | |
|
1646
|
+
| **label** | [**LabelResource**](LabelResource.md) | The label to create. | |
|
1647
1647
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1648
1648
|
| **depth** | **Integer** | 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 | [optional][default to 0] |
|
1649
1649
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
1650
1650
|
|
1651
1651
|
### Return type
|
1652
1652
|
|
1653
|
-
[**LabelResource**](LabelResource.md)
|
1653
|
+
[**LabelResource**](../models/LabelResource.md)
|
1654
1654
|
|
1655
1655
|
### Authorization
|
1656
1656
|
|
@@ -1666,9 +1666,9 @@ Basic Authentication, Token Authentication
|
|
1666
1666
|
|
1667
1667
|
> <LabelResource> ipblocks_labels_put(ipblock_id, key, label, opts)
|
1668
1668
|
|
1669
|
-
Modify
|
1669
|
+
Modify IP block labels
|
1670
1670
|
|
1671
|
-
|
1671
|
+
Modify the specified IP block label.
|
1672
1672
|
|
1673
1673
|
### Examples
|
1674
1674
|
|
@@ -1688,9 +1688,9 @@ Ionoscloud.configure do |config|
|
|
1688
1688
|
end
|
1689
1689
|
|
1690
1690
|
api_instance = Ionoscloud::LabelsApi.new
|
1691
|
-
ipblock_id = 'ipblock_id_example' # String | The unique ID of the
|
1692
|
-
key = 'key_example' # String | The key
|
1693
|
-
label = Ionoscloud::LabelResource.new({properties: Ionoscloud::LabelResourceProperties.new}) # LabelResource |
|
1691
|
+
ipblock_id = 'ipblock_id_example' # String | The unique ID of the IP block.
|
1692
|
+
key = 'key_example' # String | The label key
|
1693
|
+
label = Ionoscloud::LabelResource.new({properties: Ionoscloud::LabelResourceProperties.new}) # LabelResource | The modified label
|
1694
1694
|
opts = {
|
1695
1695
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1696
1696
|
depth: 56, # Integer | 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
|
@@ -1698,7 +1698,7 @@ opts = {
|
|
1698
1698
|
}
|
1699
1699
|
|
1700
1700
|
begin
|
1701
|
-
# Modify
|
1701
|
+
# Modify IP block labels
|
1702
1702
|
result = api_instance.ipblocks_labels_put(ipblock_id, key, label, opts)
|
1703
1703
|
p result
|
1704
1704
|
rescue Ionoscloud::ApiError => e
|
@@ -1714,7 +1714,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1714
1714
|
|
1715
1715
|
```ruby
|
1716
1716
|
begin
|
1717
|
-
# Modify
|
1717
|
+
# Modify IP block labels
|
1718
1718
|
data, status_code, headers = api_instance.ipblocks_labels_put_with_http_info(ipblock_id, key, label, opts)
|
1719
1719
|
p status_code # => 2xx
|
1720
1720
|
p headers # => { ... }
|
@@ -1728,16 +1728,16 @@ end
|
|
1728
1728
|
|
1729
1729
|
| Name | Type | Description | Notes |
|
1730
1730
|
| ---- | ---- | ----------- | ----- |
|
1731
|
-
| **ipblock_id** | **String** | The unique ID of the
|
1732
|
-
| **key** | **String** | The key
|
1733
|
-
| **label** | [**LabelResource**](LabelResource.md) |
|
1731
|
+
| **ipblock_id** | **String** | The unique ID of the IP block. | |
|
1732
|
+
| **key** | **String** | The label key | |
|
1733
|
+
| **label** | [**LabelResource**](LabelResource.md) | The modified label | |
|
1734
1734
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1735
1735
|
| **depth** | **Integer** | 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 | [optional][default to 0] |
|
1736
1736
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
1737
1737
|
|
1738
1738
|
### Return type
|
1739
1739
|
|
1740
|
-
[**LabelResource**](LabelResource.md)
|
1740
|
+
[**LabelResource**](../models/LabelResource.md)
|
1741
1741
|
|
1742
1742
|
### Authorization
|
1743
1743
|
|
@@ -1753,9 +1753,9 @@ Basic Authentication, Token Authentication
|
|
1753
1753
|
|
1754
1754
|
> <Label> labels_find_by_urn(labelurn, opts)
|
1755
1755
|
|
1756
|
-
|
1756
|
+
Retrieve labels by URN
|
1757
1757
|
|
1758
|
-
|
1758
|
+
Retrieve a label by label URN. The URN is unique for each label, and consists of: urn:label:<resource_type>:<resource_uuid>:<key>
|
1759
1759
|
|
1760
1760
|
### Examples
|
1761
1761
|
|
@@ -1775,7 +1775,7 @@ Ionoscloud.configure do |config|
|
|
1775
1775
|
end
|
1776
1776
|
|
1777
1777
|
api_instance = Ionoscloud::LabelsApi.new
|
1778
|
-
labelurn = 'labelurn_example' # String | The
|
1778
|
+
labelurn = 'labelurn_example' # String | The label URN; URN is unique for each label, and consists of: urn:label:<resource_type>:<resource_uuid>:<key><key>
|
1779
1779
|
opts = {
|
1780
1780
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1781
1781
|
depth: 56, # Integer | 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
|
@@ -1783,7 +1783,7 @@ opts = {
|
|
1783
1783
|
}
|
1784
1784
|
|
1785
1785
|
begin
|
1786
|
-
#
|
1786
|
+
# Retrieve labels by URN
|
1787
1787
|
result = api_instance.labels_find_by_urn(labelurn, opts)
|
1788
1788
|
p result
|
1789
1789
|
rescue Ionoscloud::ApiError => e
|
@@ -1799,7 +1799,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1799
1799
|
|
1800
1800
|
```ruby
|
1801
1801
|
begin
|
1802
|
-
#
|
1802
|
+
# Retrieve labels by URN
|
1803
1803
|
data, status_code, headers = api_instance.labels_find_by_urn_with_http_info(labelurn, opts)
|
1804
1804
|
p status_code # => 2xx
|
1805
1805
|
p headers # => { ... }
|
@@ -1813,14 +1813,14 @@ end
|
|
1813
1813
|
|
1814
1814
|
| Name | Type | Description | Notes |
|
1815
1815
|
| ---- | ---- | ----------- | ----- |
|
1816
|
-
| **labelurn** | **String** | The
|
1816
|
+
| **labelurn** | **String** | The label URN; URN is unique for each label, and consists of: urn:label:<resource_type>:<resource_uuid>:<key><key> | |
|
1817
1817
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1818
1818
|
| **depth** | **Integer** | 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 | [optional][default to 0] |
|
1819
1819
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
1820
1820
|
|
1821
1821
|
### Return type
|
1822
1822
|
|
1823
|
-
[**Label**](Label.md)
|
1823
|
+
[**Label**](../models/Label.md)
|
1824
1824
|
|
1825
1825
|
### Authorization
|
1826
1826
|
|
@@ -1836,9 +1836,9 @@ Basic Authentication, Token Authentication
|
|
1836
1836
|
|
1837
1837
|
> <Labels> labels_get(opts)
|
1838
1838
|
|
1839
|
-
List
|
1839
|
+
List labels
|
1840
1840
|
|
1841
|
-
|
1841
|
+
List all available labels.
|
1842
1842
|
|
1843
1843
|
### Examples
|
1844
1844
|
|
@@ -1865,7 +1865,7 @@ opts = {
|
|
1865
1865
|
}
|
1866
1866
|
|
1867
1867
|
begin
|
1868
|
-
# List
|
1868
|
+
# List labels
|
1869
1869
|
result = api_instance.labels_get(opts)
|
1870
1870
|
p result
|
1871
1871
|
rescue Ionoscloud::ApiError => e
|
@@ -1881,7 +1881,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
1881
1881
|
|
1882
1882
|
```ruby
|
1883
1883
|
begin
|
1884
|
-
# List
|
1884
|
+
# List labels
|
1885
1885
|
data, status_code, headers = api_instance.labels_get_with_http_info(opts)
|
1886
1886
|
p status_code # => 2xx
|
1887
1887
|
p headers # => { ... }
|
@@ -1901,7 +1901,7 @@ end
|
|
1901
1901
|
|
1902
1902
|
### Return type
|
1903
1903
|
|
1904
|
-
[**Labels**](Labels.md)
|
1904
|
+
[**Labels**](../models/Labels.md)
|
1905
1905
|
|
1906
1906
|
### Authorization
|
1907
1907
|
|
@@ -1917,9 +1917,9 @@ Basic Authentication, Token Authentication
|
|
1917
1917
|
|
1918
1918
|
> snapshots_labels_delete(snapshot_id, key, opts)
|
1919
1919
|
|
1920
|
-
Delete
|
1920
|
+
Delete snapshot labels
|
1921
1921
|
|
1922
|
-
|
1922
|
+
Delete the specified snapshot label.
|
1923
1923
|
|
1924
1924
|
### Examples
|
1925
1925
|
|
@@ -1939,8 +1939,8 @@ Ionoscloud.configure do |config|
|
|
1939
1939
|
end
|
1940
1940
|
|
1941
1941
|
api_instance = Ionoscloud::LabelsApi.new
|
1942
|
-
snapshot_id = 'snapshot_id_example' # String | The unique ID of the
|
1943
|
-
key = 'key_example' # String | The key
|
1942
|
+
snapshot_id = 'snapshot_id_example' # String | The unique ID of the snapshot.
|
1943
|
+
key = 'key_example' # String | The label key
|
1944
1944
|
opts = {
|
1945
1945
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
1946
1946
|
depth: 56, # Integer | 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
|
@@ -1948,7 +1948,7 @@ opts = {
|
|
1948
1948
|
}
|
1949
1949
|
|
1950
1950
|
begin
|
1951
|
-
# Delete
|
1951
|
+
# Delete snapshot labels
|
1952
1952
|
api_instance.snapshots_labels_delete(snapshot_id, key, opts)
|
1953
1953
|
rescue Ionoscloud::ApiError => e
|
1954
1954
|
puts "Error when calling LabelsApi->snapshots_labels_delete: #{e}"
|
@@ -1963,7 +1963,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
|
|
1963
1963
|
|
1964
1964
|
```ruby
|
1965
1965
|
begin
|
1966
|
-
# Delete
|
1966
|
+
# Delete snapshot labels
|
1967
1967
|
data, status_code, headers = api_instance.snapshots_labels_delete_with_http_info(snapshot_id, key, opts)
|
1968
1968
|
p status_code # => 2xx
|
1969
1969
|
p headers # => { ... }
|
@@ -1977,8 +1977,8 @@ end
|
|
1977
1977
|
|
1978
1978
|
| Name | Type | Description | Notes |
|
1979
1979
|
| ---- | ---- | ----------- | ----- |
|
1980
|
-
| **snapshot_id** | **String** | The unique ID of the
|
1981
|
-
| **key** | **String** | The key
|
1980
|
+
| **snapshot_id** | **String** | The unique ID of the snapshot. | |
|
1981
|
+
| **key** | **String** | The label key | |
|
1982
1982
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
1983
1983
|
| **depth** | **Integer** | 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 | [optional][default to 0] |
|
1984
1984
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
@@ -2001,9 +2001,9 @@ Basic Authentication, Token Authentication
|
|
2001
2001
|
|
2002
2002
|
> <LabelResource> snapshots_labels_find_by_key(snapshot_id, key, opts)
|
2003
2003
|
|
2004
|
-
Retrieve
|
2004
|
+
Retrieve snapshot labels
|
2005
2005
|
|
2006
|
-
|
2006
|
+
Retrieve the properties of the specified snapshot label.
|
2007
2007
|
|
2008
2008
|
### Examples
|
2009
2009
|
|
@@ -2023,8 +2023,8 @@ Ionoscloud.configure do |config|
|
|
2023
2023
|
end
|
2024
2024
|
|
2025
2025
|
api_instance = Ionoscloud::LabelsApi.new
|
2026
|
-
snapshot_id = 'snapshot_id_example' # String | The unique ID of the
|
2027
|
-
key = 'key_example' # String | The key
|
2026
|
+
snapshot_id = 'snapshot_id_example' # String | The unique ID of the snapshot.
|
2027
|
+
key = 'key_example' # String | The label key
|
2028
2028
|
opts = {
|
2029
2029
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
2030
2030
|
depth: 56, # Integer | 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
|
@@ -2032,7 +2032,7 @@ opts = {
|
|
2032
2032
|
}
|
2033
2033
|
|
2034
2034
|
begin
|
2035
|
-
# Retrieve
|
2035
|
+
# Retrieve snapshot labels
|
2036
2036
|
result = api_instance.snapshots_labels_find_by_key(snapshot_id, key, opts)
|
2037
2037
|
p result
|
2038
2038
|
rescue Ionoscloud::ApiError => e
|
@@ -2048,7 +2048,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
2048
2048
|
|
2049
2049
|
```ruby
|
2050
2050
|
begin
|
2051
|
-
# Retrieve
|
2051
|
+
# Retrieve snapshot labels
|
2052
2052
|
data, status_code, headers = api_instance.snapshots_labels_find_by_key_with_http_info(snapshot_id, key, opts)
|
2053
2053
|
p status_code # => 2xx
|
2054
2054
|
p headers # => { ... }
|
@@ -2062,15 +2062,15 @@ end
|
|
2062
2062
|
|
2063
2063
|
| Name | Type | Description | Notes |
|
2064
2064
|
| ---- | ---- | ----------- | ----- |
|
2065
|
-
| **snapshot_id** | **String** | The unique ID of the
|
2066
|
-
| **key** | **String** | The key
|
2065
|
+
| **snapshot_id** | **String** | The unique ID of the snapshot. | |
|
2066
|
+
| **key** | **String** | The label key | |
|
2067
2067
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
2068
2068
|
| **depth** | **Integer** | 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 | [optional][default to 0] |
|
2069
2069
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
2070
2070
|
|
2071
2071
|
### Return type
|
2072
2072
|
|
2073
|
-
[**LabelResource**](LabelResource.md)
|
2073
|
+
[**LabelResource**](../models/LabelResource.md)
|
2074
2074
|
|
2075
2075
|
### Authorization
|
2076
2076
|
|
@@ -2086,9 +2086,9 @@ Basic Authentication, Token Authentication
|
|
2086
2086
|
|
2087
2087
|
> <LabelResources> snapshots_labels_get(snapshot_id, opts)
|
2088
2088
|
|
2089
|
-
List
|
2089
|
+
List snapshot labels
|
2090
2090
|
|
2091
|
-
|
2091
|
+
List all the the labels for the specified snapshot.
|
2092
2092
|
|
2093
2093
|
### Examples
|
2094
2094
|
|
@@ -2108,7 +2108,7 @@ Ionoscloud.configure do |config|
|
|
2108
2108
|
end
|
2109
2109
|
|
2110
2110
|
api_instance = Ionoscloud::LabelsApi.new
|
2111
|
-
snapshot_id = 'snapshot_id_example' # String | The unique ID of the
|
2111
|
+
snapshot_id = 'snapshot_id_example' # String | The unique ID of the snapshot.
|
2112
2112
|
opts = {
|
2113
2113
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
2114
2114
|
depth: 56, # Integer | 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
|
@@ -2116,7 +2116,7 @@ opts = {
|
|
2116
2116
|
}
|
2117
2117
|
|
2118
2118
|
begin
|
2119
|
-
# List
|
2119
|
+
# List snapshot labels
|
2120
2120
|
result = api_instance.snapshots_labels_get(snapshot_id, opts)
|
2121
2121
|
p result
|
2122
2122
|
rescue Ionoscloud::ApiError => e
|
@@ -2132,7 +2132,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
2132
2132
|
|
2133
2133
|
```ruby
|
2134
2134
|
begin
|
2135
|
-
# List
|
2135
|
+
# List snapshot labels
|
2136
2136
|
data, status_code, headers = api_instance.snapshots_labels_get_with_http_info(snapshot_id, opts)
|
2137
2137
|
p status_code # => 2xx
|
2138
2138
|
p headers # => { ... }
|
@@ -2146,14 +2146,14 @@ end
|
|
2146
2146
|
|
2147
2147
|
| Name | Type | Description | Notes |
|
2148
2148
|
| ---- | ---- | ----------- | ----- |
|
2149
|
-
| **snapshot_id** | **String** | The unique ID of the
|
2149
|
+
| **snapshot_id** | **String** | The unique ID of the snapshot. | |
|
2150
2150
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
2151
2151
|
| **depth** | **Integer** | 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 | [optional][default to 0] |
|
2152
2152
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
2153
2153
|
|
2154
2154
|
### Return type
|
2155
2155
|
|
2156
|
-
[**LabelResources**](LabelResources.md)
|
2156
|
+
[**LabelResources**](../models/LabelResources.md)
|
2157
2157
|
|
2158
2158
|
### Authorization
|
2159
2159
|
|
@@ -2169,9 +2169,9 @@ Basic Authentication, Token Authentication
|
|
2169
2169
|
|
2170
2170
|
> <LabelResource> snapshots_labels_post(snapshot_id, label, opts)
|
2171
2171
|
|
2172
|
-
|
2172
|
+
Create snapshot labels
|
2173
2173
|
|
2174
|
-
|
2174
|
+
Add a new label to the specified snapshot.
|
2175
2175
|
|
2176
2176
|
### Examples
|
2177
2177
|
|
@@ -2191,8 +2191,8 @@ Ionoscloud.configure do |config|
|
|
2191
2191
|
end
|
2192
2192
|
|
2193
2193
|
api_instance = Ionoscloud::LabelsApi.new
|
2194
|
-
snapshot_id = 'snapshot_id_example' # String | The unique ID of the
|
2195
|
-
label = Ionoscloud::LabelResource.new({properties: Ionoscloud::LabelResourceProperties.new}) # LabelResource |
|
2194
|
+
snapshot_id = 'snapshot_id_example' # String | The unique ID of the snapshot.
|
2195
|
+
label = Ionoscloud::LabelResource.new({properties: Ionoscloud::LabelResourceProperties.new}) # LabelResource | The label to create.
|
2196
2196
|
opts = {
|
2197
2197
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
2198
2198
|
depth: 56, # Integer | 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
|
@@ -2200,7 +2200,7 @@ opts = {
|
|
2200
2200
|
}
|
2201
2201
|
|
2202
2202
|
begin
|
2203
|
-
#
|
2203
|
+
# Create snapshot labels
|
2204
2204
|
result = api_instance.snapshots_labels_post(snapshot_id, label, opts)
|
2205
2205
|
p result
|
2206
2206
|
rescue Ionoscloud::ApiError => e
|
@@ -2216,7 +2216,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
2216
2216
|
|
2217
2217
|
```ruby
|
2218
2218
|
begin
|
2219
|
-
#
|
2219
|
+
# Create snapshot labels
|
2220
2220
|
data, status_code, headers = api_instance.snapshots_labels_post_with_http_info(snapshot_id, label, opts)
|
2221
2221
|
p status_code # => 2xx
|
2222
2222
|
p headers # => { ... }
|
@@ -2230,15 +2230,15 @@ end
|
|
2230
2230
|
|
2231
2231
|
| Name | Type | Description | Notes |
|
2232
2232
|
| ---- | ---- | ----------- | ----- |
|
2233
|
-
| **snapshot_id** | **String** | The unique ID of the
|
2234
|
-
| **label** | [**LabelResource**](LabelResource.md) |
|
2233
|
+
| **snapshot_id** | **String** | The unique ID of the snapshot. | |
|
2234
|
+
| **label** | [**LabelResource**](LabelResource.md) | The label to create. | |
|
2235
2235
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
2236
2236
|
| **depth** | **Integer** | 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 | [optional][default to 0] |
|
2237
2237
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
2238
2238
|
|
2239
2239
|
### Return type
|
2240
2240
|
|
2241
|
-
[**LabelResource**](LabelResource.md)
|
2241
|
+
[**LabelResource**](../models/LabelResource.md)
|
2242
2242
|
|
2243
2243
|
### Authorization
|
2244
2244
|
|
@@ -2254,9 +2254,9 @@ Basic Authentication, Token Authentication
|
|
2254
2254
|
|
2255
2255
|
> <LabelResource> snapshots_labels_put(snapshot_id, key, label, opts)
|
2256
2256
|
|
2257
|
-
Modify
|
2257
|
+
Modify snapshot labels
|
2258
2258
|
|
2259
|
-
|
2259
|
+
Modify the specified snapshot label.
|
2260
2260
|
|
2261
2261
|
### Examples
|
2262
2262
|
|
@@ -2276,9 +2276,9 @@ Ionoscloud.configure do |config|
|
|
2276
2276
|
end
|
2277
2277
|
|
2278
2278
|
api_instance = Ionoscloud::LabelsApi.new
|
2279
|
-
snapshot_id = 'snapshot_id_example' # String | The unique ID of the
|
2280
|
-
key = 'key_example' # String | The key
|
2281
|
-
label = Ionoscloud::LabelResource.new({properties: Ionoscloud::LabelResourceProperties.new}) # LabelResource |
|
2279
|
+
snapshot_id = 'snapshot_id_example' # String | The unique ID of the snapshot.
|
2280
|
+
key = 'key_example' # String | The label key
|
2281
|
+
label = Ionoscloud::LabelResource.new({properties: Ionoscloud::LabelResourceProperties.new}) # LabelResource | The modified label
|
2282
2282
|
opts = {
|
2283
2283
|
pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines).
|
2284
2284
|
depth: 56, # Integer | 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
|
@@ -2286,7 +2286,7 @@ opts = {
|
|
2286
2286
|
}
|
2287
2287
|
|
2288
2288
|
begin
|
2289
|
-
# Modify
|
2289
|
+
# Modify snapshot labels
|
2290
2290
|
result = api_instance.snapshots_labels_put(snapshot_id, key, label, opts)
|
2291
2291
|
p result
|
2292
2292
|
rescue Ionoscloud::ApiError => e
|
@@ -2302,7 +2302,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
2302
2302
|
|
2303
2303
|
```ruby
|
2304
2304
|
begin
|
2305
|
-
# Modify
|
2305
|
+
# Modify snapshot labels
|
2306
2306
|
data, status_code, headers = api_instance.snapshots_labels_put_with_http_info(snapshot_id, key, label, opts)
|
2307
2307
|
p status_code # => 2xx
|
2308
2308
|
p headers # => { ... }
|
@@ -2316,16 +2316,16 @@ end
|
|
2316
2316
|
|
2317
2317
|
| Name | Type | Description | Notes |
|
2318
2318
|
| ---- | ---- | ----------- | ----- |
|
2319
|
-
| **snapshot_id** | **String** | The unique ID of the
|
2320
|
-
| **key** | **String** | The key
|
2321
|
-
| **label** | [**LabelResource**](LabelResource.md) |
|
2319
|
+
| **snapshot_id** | **String** | The unique ID of the snapshot. | |
|
2320
|
+
| **key** | **String** | The label key | |
|
2321
|
+
| **label** | [**LabelResource**](LabelResource.md) | The modified label | |
|
2322
2322
|
| **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] |
|
2323
2323
|
| **depth** | **Integer** | 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 | [optional][default to 0] |
|
2324
2324
|
| **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] |
|
2325
2325
|
|
2326
2326
|
### Return type
|
2327
2327
|
|
2328
|
-
[**LabelResource**](LabelResource.md)
|
2328
|
+
[**LabelResource**](../models/LabelResource.md)
|
2329
2329
|
|
2330
2330
|
### Authorization
|
2331
2331
|
|