From d13e89c17f57d0d622c6838e6ec1ebae3aa6b325 Mon Sep 17 00:00:00 2001 From: Scaleway Bot Date: Thu, 13 Jul 2023 15:11:36 +0200 Subject: [PATCH] feat: add resource type baremetal PrivateNic (#1781) --- api/ipam/v1alpha1/ipam_sdk.go | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/api/ipam/v1alpha1/ipam_sdk.go b/api/ipam/v1alpha1/ipam_sdk.go index f7c7b3a06..a5876af8c 100644 --- a/api/ipam/v1alpha1/ipam_sdk.go +++ b/api/ipam/v1alpha1/ipam_sdk.go @@ -88,18 +88,19 @@ func (enum *ListIPsRequestOrderBy) UnmarshalJSON(data []byte) error { type ResourceType string const ( - ResourceTypeUnknownType = ResourceType("unknown_type") - ResourceTypeInstanceServer = ResourceType("instance_server") - ResourceTypeInstanceIP = ResourceType("instance_ip") - ResourceTypeInstancePrivateNic = ResourceType("instance_private_nic") - ResourceTypeLBServer = ResourceType("lb_server") - ResourceTypeFipIP = ResourceType("fip_ip") - ResourceTypeVpcGateway = ResourceType("vpc_gateway") - ResourceTypeVpcGatewayNetwork = ResourceType("vpc_gateway_network") - ResourceTypeK8sNode = ResourceType("k8s_node") - ResourceTypeRdbInstance = ResourceType("rdb_instance") - ResourceTypeRedisCluster = ResourceType("redis_cluster") - ResourceTypeBaremetalServer = ResourceType("baremetal_server") + ResourceTypeUnknownType = ResourceType("unknown_type") + ResourceTypeInstanceServer = ResourceType("instance_server") + ResourceTypeInstanceIP = ResourceType("instance_ip") + ResourceTypeInstancePrivateNic = ResourceType("instance_private_nic") + ResourceTypeLBServer = ResourceType("lb_server") + ResourceTypeFipIP = ResourceType("fip_ip") + ResourceTypeVpcGateway = ResourceType("vpc_gateway") + ResourceTypeVpcGatewayNetwork = ResourceType("vpc_gateway_network") + ResourceTypeK8sNode = ResourceType("k8s_node") + ResourceTypeRdbInstance = ResourceType("rdb_instance") + ResourceTypeRedisCluster = ResourceType("redis_cluster") + ResourceTypeBaremetalServer = ResourceType("baremetal_server") + ResourceTypeBaremetalPrivateNic = ResourceType("baremetal_private_nic") ) func (enum ResourceType) String() string {