diff --git a/services/sfs/model_create_resource_pool_payload.go b/services/sfs/model_create_resource_pool_payload.go index d59d0f3a9e..7d22ff92a0 100644 --- a/services/sfs/model_create_resource_pool_payload.go +++ b/services/sfs/model_create_resource_pool_payload.go @@ -243,7 +243,7 @@ type CreateResourcePoolPayload struct { // List of IPs that can mount the Resource Pool in read-only; IPs must have a subnet mask (e.g. \"172.16.0.0/24\" for a range of IPs, or \"172.16.0.250/32\" for a specific IP) // REQUIRED IpAcl CreateResourcePoolPayloadGetIpAclAttributeType `json:"ipAcl" required:"true"` - // An optional object that represents the labels associated with the resource pool keys are validated using the following regex '^[\\\\p{Ll}][\\\\p{Ll}\\\\p{N}_-]*$' and cannot be empty values are validated using the following regex '^[\\\\p{Ll}\\\\p{N}_-]*$' + // An optional object that represents the labels associated with the resource pool. Labels CreateResourcePoolPayloadGetLabelsAttributeType `json:"labels,omitempty"` // Name of the Resource Pool // REQUIRED diff --git a/services/sfs/model_create_share_export_policy_payload.go b/services/sfs/model_create_share_export_policy_payload.go index 6ec2c1a6a8..4bcb5ae4dd 100644 --- a/services/sfs/model_create_share_export_policy_payload.go +++ b/services/sfs/model_create_share_export_policy_payload.go @@ -102,7 +102,7 @@ func setCreateShareExportPolicyPayloadGetRulesAttributeType(arg *CreateShareExpo // CreateShareExportPolicyPayload struct for CreateShareExportPolicyPayload // Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead type CreateShareExportPolicyPayload struct { - // An optional object that represents the labels associated with the share export policy keys are validated using the following regex '^[\\\\p{Ll}][\\\\p{Ll}\\\\p{N}_-]*$' and cannot be empty values are validated using the following regex '^[\\\\p{Ll}\\\\p{N}_-]*$' + // An optional object that represents the labels associated with the share export policy. Labels CreateShareExportPolicyPayloadGetLabelsAttributeType `json:"labels,omitempty"` // Name of the Share Export Policy // REQUIRED diff --git a/services/sfs/model_create_share_export_policy_response_share_export_policy.go b/services/sfs/model_create_share_export_policy_response_share_export_policy.go index c041a3111d..7af38710e1 100644 --- a/services/sfs/model_create_share_export_policy_response_share_export_policy.go +++ b/services/sfs/model_create_share_export_policy_response_share_export_policy.go @@ -187,7 +187,7 @@ type CreateShareExportPolicyResponseShareExportPolicy struct { CreatedAt CreateShareExportPolicyResponseShareExportPolicyGetCreatedAtAttributeType `json:"createdAt,omitempty"` // ID of the Share Export Policy Id CreateShareExportPolicyResponseShareExportPolicyGetIdAttributeType `json:"id,omitempty"` - // An optional object that represents the labels associated with the share export policy keys are validated using the following regex '^[\\\\p{Ll}][\\\\p{Ll}\\\\p{N}_-]*$' and cannot be empty values are validated using the following regex '^[\\\\p{Ll}\\\\p{N}_-]*$' + // An optional object that represents the labels associated with the share export policy. Labels CreateShareExportPolicyResponseShareExportPolicyGetLabelsAttributeType `json:"labels,omitempty"` // Name of the Share Export Policy Name CreateShareExportPolicyResponseShareExportPolicyGetNameAttributeType `json:"name,omitempty"` diff --git a/services/sfs/model_create_share_payload.go b/services/sfs/model_create_share_payload.go index a1e331a617..ae36fce5b2 100644 --- a/services/sfs/model_create_share_payload.go +++ b/services/sfs/model_create_share_payload.go @@ -135,7 +135,7 @@ func setCreateSharePayloadGetSpaceHardLimitGigabytesAttributeType(arg *CreateSha type CreateSharePayload struct { // Name of the Share Export Policy to use in the Share. Note that if this is not set, the Share can only be mounted in read only by clients with IPs matching the IP ACL of the Resource Pool hosting this Share. You can also assign a Share Export Policy after creating the Share ExportPolicyName CreateSharePayloadGetExportPolicyNameAttributeType `json:"exportPolicyName,omitempty"` - // An optional object that represents the labels associated with the share keys are validated using the following regex '^[\\\\p{Ll}][\\\\p{Ll}\\\\p{N}_-]*$' and cannot be empty values are validated using the following regex '^[\\\\p{Ll}\\\\p{N}_-]*$' + // An optional object that represents the labels associated with the share. Labels CreateSharePayloadGetLabelsAttributeType `json:"labels,omitempty"` // Name of the Share // REQUIRED diff --git a/services/sfs/model_create_share_response_share.go b/services/sfs/model_create_share_response_share.go index dd3f2e2605..860ff63582 100644 --- a/services/sfs/model_create_share_response_share.go +++ b/services/sfs/model_create_share_response_share.go @@ -242,7 +242,7 @@ type CreateShareResponseShare struct { ExportPolicy CreateShareResponseShareGetExportPolicyAttributeType `json:"exportPolicy,omitempty"` // ID of the Share Id CreateShareResponseShareGetIdAttributeType `json:"id,omitempty"` - // An optional object that represents the labels associated with the share keys are validated using the following regex '^[\\\\p{Ll}][\\\\p{Ll}\\\\p{N}_-]*$' and cannot be empty values are validated using the following regex '^[\\\\p{Ll}\\\\p{N}_-]*$' + // An optional object that represents the labels associated with the share. Labels CreateShareResponseShareGetLabelsAttributeType `json:"labels,omitempty"` // Mount path of the Share, used to mount the Share MountPath CreateShareResponseShareGetMountPathAttributeType `json:"mountPath,omitempty"` diff --git a/services/sfs/model_get_share_export_policy_response_share_export_policy.go b/services/sfs/model_get_share_export_policy_response_share_export_policy.go index eeeca573ce..e0de50440f 100644 --- a/services/sfs/model_get_share_export_policy_response_share_export_policy.go +++ b/services/sfs/model_get_share_export_policy_response_share_export_policy.go @@ -187,7 +187,7 @@ type GetShareExportPolicyResponseShareExportPolicy struct { CreatedAt GetShareExportPolicyResponseShareExportPolicyGetCreatedAtAttributeType `json:"createdAt,omitempty"` // ID of the Share Export Policy Id GetShareExportPolicyResponseShareExportPolicyGetIdAttributeType `json:"id,omitempty"` - // An optional object that represents the labels associated with the share export policy keys are validated using the following regex '^[\\\\p{Ll}][\\\\p{Ll}\\\\p{N}_-]*$' and cannot be empty values are validated using the following regex '^[\\\\p{Ll}\\\\p{N}_-]*$' + // An optional object that represents the labels associated with the share export policy. Labels GetShareExportPolicyResponseShareExportPolicyGetLabelsAttributeType `json:"labels,omitempty"` // Name of the Share Export Policy Name GetShareExportPolicyResponseShareExportPolicyGetNameAttributeType `json:"name,omitempty"` diff --git a/services/sfs/model_get_share_response_share.go b/services/sfs/model_get_share_response_share.go index 23946dd65a..23a1922bd7 100644 --- a/services/sfs/model_get_share_response_share.go +++ b/services/sfs/model_get_share_response_share.go @@ -242,7 +242,7 @@ type GetShareResponseShare struct { ExportPolicy GetShareResponseShareGetExportPolicyAttributeType `json:"exportPolicy,omitempty"` // ID of the Share Id GetShareResponseShareGetIdAttributeType `json:"id,omitempty"` - // An optional object that represents the labels associated with the share keys are validated using the following regex '^[\\\\p{Ll}][\\\\p{Ll}\\\\p{N}_-]*$' and cannot be empty values are validated using the following regex '^[\\\\p{Ll}\\\\p{N}_-]*$' + // An optional object that represents the labels associated with the share. Labels GetShareResponseShareGetLabelsAttributeType `json:"labels,omitempty"` // Mount path of the Share, used to mount the Share MountPath GetShareResponseShareGetMountPathAttributeType `json:"mountPath,omitempty"` diff --git a/services/sfs/model_share.go b/services/sfs/model_share.go index 1af2f72319..bcffcf4772 100644 --- a/services/sfs/model_share.go +++ b/services/sfs/model_share.go @@ -242,7 +242,7 @@ type Share struct { ExportPolicy ShareGetExportPolicyAttributeType `json:"exportPolicy,omitempty"` // ID of the Share Id ShareGetIdAttributeType `json:"id,omitempty"` - // An optional object that represents the labels associated with the share keys are validated using the following regex '^[\\\\p{Ll}][\\\\p{Ll}\\\\p{N}_-]*$' and cannot be empty values are validated using the following regex '^[\\\\p{Ll}\\\\p{N}_-]*$' + // An optional object that represents the labels associated with the share. Labels ShareGetLabelsAttributeType `json:"labels,omitempty"` // Mount path of the Share, used to mount the Share MountPath ShareGetMountPathAttributeType `json:"mountPath,omitempty"` diff --git a/services/sfs/model_share_export_policy.go b/services/sfs/model_share_export_policy.go index 86656b9876..279babfbf6 100644 --- a/services/sfs/model_share_export_policy.go +++ b/services/sfs/model_share_export_policy.go @@ -187,7 +187,7 @@ type ShareExportPolicy struct { CreatedAt ShareExportPolicyGetCreatedAtAttributeType `json:"createdAt,omitempty"` // ID of the Share Export Policy Id ShareExportPolicyGetIdAttributeType `json:"id,omitempty"` - // An optional object that represents the labels associated with the share export policy keys are validated using the following regex '^[\\\\p{Ll}][\\\\p{Ll}\\\\p{N}_-]*$' and cannot be empty values are validated using the following regex '^[\\\\p{Ll}\\\\p{N}_-]*$' + // An optional object that represents the labels associated with the share export policy. Labels ShareExportPolicyGetLabelsAttributeType `json:"labels,omitempty"` // Name of the Share Export Policy Name ShareExportPolicyGetNameAttributeType `json:"name,omitempty"` diff --git a/services/sfs/model_update_resource_pool_payload.go b/services/sfs/model_update_resource_pool_payload.go index deef32fe41..614ffbbc37 100644 --- a/services/sfs/model_update_resource_pool_payload.go +++ b/services/sfs/model_update_resource_pool_payload.go @@ -189,7 +189,7 @@ func setUpdateResourcePoolPayloadgetSnapshotsAreVisibleAttributeType(arg *Update type UpdateResourcePoolPayload struct { // (optional) List of IPs that can mount the Resource Pool in read-only; IPs must have a subnet mask (e.g. \"172.16.0.0/24\" for a range of IPs, or \"172.16.0.250/32\" for a specific IP) IpAcl UpdateResourcePoolPayloadGetIpAclAttributeType `json:"ipAcl,omitempty"` - // An optional object that represents the labels associated with the resource pool keys are validated using the following regex '^[\\\\p{Ll}][\\\\p{Ll}\\\\p{N}_-]*$' and cannot be empty values are validated using the following regex '^[\\\\p{Ll}\\\\p{N}_-]*$' + // An optional object that represents the labels associated with the resource pool. Labels UpdateResourcePoolPayloadGetLabelsAttributeType `json:"labels,omitempty"` // (optional) Name of the performance class PerformanceClass UpdateResourcePoolPayloadGetPerformanceClassAttributeType `json:"performanceClass,omitempty"` diff --git a/services/sfs/model_update_share_export_policy_payload.go b/services/sfs/model_update_share_export_policy_payload.go index 7f67c3913d..4a8678eb3d 100644 --- a/services/sfs/model_update_share_export_policy_payload.go +++ b/services/sfs/model_update_share_export_policy_payload.go @@ -75,7 +75,7 @@ func setUpdateShareExportPolicyPayloadGetRulesAttributeType(arg *UpdateShareExpo // UpdateShareExportPolicyPayload struct for UpdateShareExportPolicyPayload // Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead type UpdateShareExportPolicyPayload struct { - // An optional object that represents the labels associated with the share export policy keys are validated using the following regex '^[\\\\p{Ll}][\\\\p{Ll}\\\\p{N}_-]*$' and cannot be empty values are validated using the following regex '^[\\\\p{Ll}\\\\p{N}_-]*$' + // An optional object that represents the labels associated with the share export policy. Labels UpdateShareExportPolicyPayloadGetLabelsAttributeType `json:"labels,omitempty"` // List of rules of the Share Export Policy. The order of the rules within the array does not matter - what matters is the field \"order\" within each rule. The whole set of rules needs to be sent in the same request, e.g. if 1 rule is sent, the share export policy will have just that 1 rule, as opposed to extending the existing set of rules with the 1 rule that was sent Important note: the array of rules passed always overwrites the rule array (i.e. sending an empty array removes all rules) Rules UpdateShareExportPolicyPayloadGetRulesAttributeType `json:"rules,omitempty"` diff --git a/services/sfs/model_update_share_payload.go b/services/sfs/model_update_share_payload.go index 65b482ecb8..a90771acfe 100644 --- a/services/sfs/model_update_share_payload.go +++ b/services/sfs/model_update_share_payload.go @@ -108,7 +108,7 @@ func setUpdateSharePayloadGetSpaceHardLimitGigabytesAttributeType(arg *UpdateSha type UpdateSharePayload struct { // Name of the Share Export Policy to use in the Share. The behavior depends on the value: - If not set (null): Keep the existing export policy (if any) - If set to empty string (\"\"): Remove the existing export policy - If set to a policy name: Update to use the specified policy, creating a new association if none exists ExportPolicyName UpdateSharePayloadGetExportPolicyNameAttributeType `json:"exportPolicyName,omitempty"` - // An optional object that represents the labels associated with the share keys are validated using the following regex '^[\\\\p{Ll}][\\\\p{Ll}\\\\p{N}_-]*$' and cannot be empty values are validated using the following regex '^[\\\\p{Ll}\\\\p{N}_-]*$' + // An optional object that represents the labels associated with the share. Labels UpdateSharePayloadGetLabelsAttributeType `json:"labels,omitempty"` // Space hard limit for the Share. If zero, the Share will have access to the full space of the Resource Pool it lives in. (unit: gibibytes) // Can be cast to int32 without loss of precision. diff --git a/services/sfs/model_update_share_response_share.go b/services/sfs/model_update_share_response_share.go index b37f63211b..40d6cdf5b0 100644 --- a/services/sfs/model_update_share_response_share.go +++ b/services/sfs/model_update_share_response_share.go @@ -242,7 +242,7 @@ type UpdateShareResponseShare struct { ExportPolicy UpdateShareResponseShareGetExportPolicyAttributeType `json:"exportPolicy,omitempty"` // ID of the Share Id UpdateShareResponseShareGetIdAttributeType `json:"id,omitempty"` - // An optional object that represents the labels associated with the share keys are validated using the following regex '^[\\\\p{Ll}][\\\\p{Ll}\\\\p{N}_-]*$' and cannot be empty values are validated using the following regex '^[\\\\p{Ll}\\\\p{N}_-]*$' + // An optional object that represents the labels associated with the share. Labels UpdateShareResponseShareGetLabelsAttributeType `json:"labels,omitempty"` // Mount path of the Share, used to mount the Share MountPath UpdateShareResponseShareGetMountPathAttributeType `json:"mountPath,omitempty"` diff --git a/services/sfs/oas_commit b/services/sfs/oas_commit index bd2b35caa4..2ea49f464d 100644 --- a/services/sfs/oas_commit +++ b/services/sfs/oas_commit @@ -1 +1 @@ -65b23dbe0b98f70b02c92e87cb955a9e58ea6a14 +348a79bbb21981a9b864e9b0636f56624df5f55c diff --git a/services/sfs/v1api/model_create_resource_pool_payload.go b/services/sfs/v1api/model_create_resource_pool_payload.go index c5aa0541f8..06e2749f36 100644 --- a/services/sfs/v1api/model_create_resource_pool_payload.go +++ b/services/sfs/v1api/model_create_resource_pool_payload.go @@ -24,7 +24,7 @@ type CreateResourcePoolPayload struct { AvailabilityZone string `json:"availabilityZone"` // List of IPs that can mount the Resource Pool in read-only; IPs must have a subnet mask (e.g. \"172.16.0.0/24\" for a range of IPs, or \"172.16.0.250/32\" for a specific IP) IpAcl []string `json:"ipAcl"` - // An optional object that represents the labels associated with the resource pool keys are validated using the following regex '^[\\\\p{Ll}][\\\\p{Ll}\\\\p{N}_-]*$' and cannot be empty values are validated using the following regex '^[\\\\p{Ll}\\\\p{N}_-]*$' + // An optional object that represents the labels associated with the resource pool. Labels *map[string]string `json:"labels,omitempty"` // Name of the Resource Pool Name string `json:"name"` diff --git a/services/sfs/v1api/model_create_share_export_policy_payload.go b/services/sfs/v1api/model_create_share_export_policy_payload.go index c5e5e64065..e1c44d6d04 100644 --- a/services/sfs/v1api/model_create_share_export_policy_payload.go +++ b/services/sfs/v1api/model_create_share_export_policy_payload.go @@ -20,7 +20,7 @@ var _ MappedNullable = &CreateShareExportPolicyPayload{} // CreateShareExportPolicyPayload struct for CreateShareExportPolicyPayload type CreateShareExportPolicyPayload struct { - // An optional object that represents the labels associated with the share export policy keys are validated using the following regex '^[\\\\p{Ll}][\\\\p{Ll}\\\\p{N}_-]*$' and cannot be empty values are validated using the following regex '^[\\\\p{Ll}\\\\p{N}_-]*$' + // An optional object that represents the labels associated with the share export policy. Labels *map[string]string `json:"labels,omitempty"` // Name of the Share Export Policy Name string `json:"name"` diff --git a/services/sfs/v1api/model_create_share_payload.go b/services/sfs/v1api/model_create_share_payload.go index 7d4dc2b919..76b87a7343 100644 --- a/services/sfs/v1api/model_create_share_payload.go +++ b/services/sfs/v1api/model_create_share_payload.go @@ -22,7 +22,7 @@ var _ MappedNullable = &CreateSharePayload{} type CreateSharePayload struct { // Name of the Share Export Policy to use in the Share. Note that if this is not set, the Share can only be mounted in read only by clients with IPs matching the IP ACL of the Resource Pool hosting this Share. You can also assign a Share Export Policy after creating the Share ExportPolicyName NullableString `json:"exportPolicyName,omitempty"` - // An optional object that represents the labels associated with the share keys are validated using the following regex '^[\\\\p{Ll}][\\\\p{Ll}\\\\p{N}_-]*$' and cannot be empty values are validated using the following regex '^[\\\\p{Ll}\\\\p{N}_-]*$' + // An optional object that represents the labels associated with the share. Labels *map[string]string `json:"labels,omitempty"` // Name of the Share Name string `json:"name"` diff --git a/services/sfs/v1api/model_share.go b/services/sfs/v1api/model_share.go index 5a3e4eb037..cb90a6c048 100644 --- a/services/sfs/v1api/model_share.go +++ b/services/sfs/v1api/model_share.go @@ -25,7 +25,7 @@ type Share struct { ExportPolicy NullableShareExportPolicy `json:"exportPolicy,omitempty"` // ID of the Share Id *string `json:"id,omitempty"` - // An optional object that represents the labels associated with the share keys are validated using the following regex '^[\\\\p{Ll}][\\\\p{Ll}\\\\p{N}_-]*$' and cannot be empty values are validated using the following regex '^[\\\\p{Ll}\\\\p{N}_-]*$' + // An optional object that represents the labels associated with the share. Labels *map[string]string `json:"labels,omitempty"` // Mount path of the Share, used to mount the Share MountPath *string `json:"mountPath,omitempty"` diff --git a/services/sfs/v1api/model_share_export_policy.go b/services/sfs/v1api/model_share_export_policy.go index 3162397fbf..b17929fa6e 100644 --- a/services/sfs/v1api/model_share_export_policy.go +++ b/services/sfs/v1api/model_share_export_policy.go @@ -23,7 +23,7 @@ type ShareExportPolicy struct { CreatedAt *time.Time `json:"createdAt,omitempty"` // ID of the Share Export Policy Id *string `json:"id,omitempty"` - // An optional object that represents the labels associated with the share export policy keys are validated using the following regex '^[\\\\p{Ll}][\\\\p{Ll}\\\\p{N}_-]*$' and cannot be empty values are validated using the following regex '^[\\\\p{Ll}\\\\p{N}_-]*$' + // An optional object that represents the labels associated with the share export policy. Labels *map[string]string `json:"labels,omitempty"` // Name of the Share Export Policy Name *string `json:"name,omitempty"` diff --git a/services/sfs/v1api/model_update_resource_pool_payload.go b/services/sfs/v1api/model_update_resource_pool_payload.go index 7738ea13df..f501c38770 100644 --- a/services/sfs/v1api/model_update_resource_pool_payload.go +++ b/services/sfs/v1api/model_update_resource_pool_payload.go @@ -21,7 +21,7 @@ var _ MappedNullable = &UpdateResourcePoolPayload{} type UpdateResourcePoolPayload struct { // (optional) List of IPs that can mount the Resource Pool in read-only; IPs must have a subnet mask (e.g. \"172.16.0.0/24\" for a range of IPs, or \"172.16.0.250/32\" for a specific IP) IpAcl []string `json:"ipAcl,omitempty"` - // An optional object that represents the labels associated with the resource pool keys are validated using the following regex '^[\\\\p{Ll}][\\\\p{Ll}\\\\p{N}_-]*$' and cannot be empty values are validated using the following regex '^[\\\\p{Ll}\\\\p{N}_-]*$' + // An optional object that represents the labels associated with the resource pool. Labels *map[string]string `json:"labels,omitempty"` // (optional) Name of the performance class PerformanceClass *string `json:"performanceClass,omitempty"` diff --git a/services/sfs/v1api/model_update_share_export_policy_payload.go b/services/sfs/v1api/model_update_share_export_policy_payload.go index 030572c771..c1f1f549a4 100644 --- a/services/sfs/v1api/model_update_share_export_policy_payload.go +++ b/services/sfs/v1api/model_update_share_export_policy_payload.go @@ -19,7 +19,7 @@ var _ MappedNullable = &UpdateShareExportPolicyPayload{} // UpdateShareExportPolicyPayload struct for UpdateShareExportPolicyPayload type UpdateShareExportPolicyPayload struct { - // An optional object that represents the labels associated with the share export policy keys are validated using the following regex '^[\\\\p{Ll}][\\\\p{Ll}\\\\p{N}_-]*$' and cannot be empty values are validated using the following regex '^[\\\\p{Ll}\\\\p{N}_-]*$' + // An optional object that represents the labels associated with the share export policy. Labels *map[string]string `json:"labels,omitempty"` // List of rules of the Share Export Policy. The order of the rules within the array does not matter - what matters is the field \"order\" within each rule. The whole set of rules needs to be sent in the same request, e.g. if 1 rule is sent, the share export policy will have just that 1 rule, as opposed to extending the existing set of rules with the 1 rule that was sent Important note: the array of rules passed always overwrites the rule array (i.e. sending an empty array removes all rules) Rules []UpdateShareExportPolicyBodyRule `json:"rules,omitempty"` diff --git a/services/sfs/v1api/model_update_share_payload.go b/services/sfs/v1api/model_update_share_payload.go index b1a0c58f3e..c27dfcdd17 100644 --- a/services/sfs/v1api/model_update_share_payload.go +++ b/services/sfs/v1api/model_update_share_payload.go @@ -21,7 +21,7 @@ var _ MappedNullable = &UpdateSharePayload{} type UpdateSharePayload struct { // Name of the Share Export Policy to use in the Share. The behavior depends on the value: - If not set (null): Keep the existing export policy (if any) - If set to empty string (\"\"): Remove the existing export policy - If set to a policy name: Update to use the specified policy, creating a new association if none exists ExportPolicyName NullableString `json:"exportPolicyName,omitempty"` - // An optional object that represents the labels associated with the share keys are validated using the following regex '^[\\\\p{Ll}][\\\\p{Ll}\\\\p{N}_-]*$' and cannot be empty values are validated using the following regex '^[\\\\p{Ll}\\\\p{N}_-]*$' + // An optional object that represents the labels associated with the share. Labels *map[string]string `json:"labels,omitempty"` // Space hard limit for the Share. If zero, the Share will have access to the full space of the Resource Pool it lives in. (unit: gibibytes) SpaceHardLimitGigabytes NullableInt32 `json:"spaceHardLimitGigabytes,omitempty"` diff --git a/services/sfs/v1betaapi/model_create_resource_pool_payload.go b/services/sfs/v1betaapi/model_create_resource_pool_payload.go index 890d3151eb..209d168ed3 100644 --- a/services/sfs/v1betaapi/model_create_resource_pool_payload.go +++ b/services/sfs/v1betaapi/model_create_resource_pool_payload.go @@ -23,7 +23,7 @@ type CreateResourcePoolPayload struct { AvailabilityZone *string `json:"availabilityZone,omitempty"` // List of IPs that can mount the Resource Pool in read-only; IPs must have a subnet mask (e.g. \"172.16.0.0/24\" for a range of IPs, or \"172.16.0.250/32\" for a specific IP) IpAcl []string `json:"ipAcl,omitempty"` - // An optional object that represents the labels associated with the resource pool keys are validated using the following regex '^[\\\\p{Ll}][\\\\p{Ll}\\\\p{N}_-]*$' and cannot be empty values are validated using the following regex '^[\\\\p{Ll}\\\\p{N}_-]*$' + // An optional object that represents the labels associated with the resource pool. Labels *map[string]string `json:"labels,omitempty"` // Name of the Resource Pool Name *string `json:"name,omitempty"` diff --git a/services/sfs/v1betaapi/model_create_share_export_policy_payload.go b/services/sfs/v1betaapi/model_create_share_export_policy_payload.go index 095814c50c..07af531b93 100644 --- a/services/sfs/v1betaapi/model_create_share_export_policy_payload.go +++ b/services/sfs/v1betaapi/model_create_share_export_policy_payload.go @@ -19,7 +19,7 @@ var _ MappedNullable = &CreateShareExportPolicyPayload{} // CreateShareExportPolicyPayload struct for CreateShareExportPolicyPayload type CreateShareExportPolicyPayload struct { - // An optional object that represents the labels associated with the share export policy keys are validated using the following regex '^[\\\\p{Ll}][\\\\p{Ll}\\\\p{N}_-]*$' and cannot be empty values are validated using the following regex '^[\\\\p{Ll}\\\\p{N}_-]*$' + // An optional object that represents the labels associated with the share export policy. Labels *map[string]string `json:"labels,omitempty"` // Name of the Share Export Policy Name *string `json:"name,omitempty"` diff --git a/services/sfs/v1betaapi/model_create_share_payload.go b/services/sfs/v1betaapi/model_create_share_payload.go index dff5141384..c334f998be 100644 --- a/services/sfs/v1betaapi/model_create_share_payload.go +++ b/services/sfs/v1betaapi/model_create_share_payload.go @@ -21,7 +21,7 @@ var _ MappedNullable = &CreateSharePayload{} type CreateSharePayload struct { // Name of the Share Export Policy to use in the Share. Note that if this is not set, the Share can only be mounted in read only by clients with IPs matching the IP ACL of the Resource Pool hosting this Share. You can also assign a Share Export Policy after creating the Share ExportPolicyName NullableString `json:"exportPolicyName,omitempty"` - // An optional object that represents the labels associated with the share keys are validated using the following regex '^[\\\\p{Ll}][\\\\p{Ll}\\\\p{N}_-]*$' and cannot be empty values are validated using the following regex '^[\\\\p{Ll}\\\\p{N}_-]*$' + // An optional object that represents the labels associated with the share. Labels *map[string]string `json:"labels,omitempty"` // Name of the Share Name *string `json:"name,omitempty"` diff --git a/services/sfs/v1betaapi/model_share.go b/services/sfs/v1betaapi/model_share.go index b370a33fd4..bb09d567d9 100644 --- a/services/sfs/v1betaapi/model_share.go +++ b/services/sfs/v1betaapi/model_share.go @@ -25,7 +25,7 @@ type Share struct { ExportPolicy NullableShareExportPolicy `json:"exportPolicy,omitempty"` // ID of the Share Id *string `json:"id,omitempty"` - // An optional object that represents the labels associated with the share keys are validated using the following regex '^[\\\\p{Ll}][\\\\p{Ll}\\\\p{N}_-]*$' and cannot be empty values are validated using the following regex '^[\\\\p{Ll}\\\\p{N}_-]*$' + // An optional object that represents the labels associated with the share. Labels *map[string]string `json:"labels,omitempty"` // Mount path of the Share, used to mount the Share MountPath *string `json:"mountPath,omitempty"` diff --git a/services/sfs/v1betaapi/model_share_export_policy.go b/services/sfs/v1betaapi/model_share_export_policy.go index ca3728bdb1..c3f97f0185 100644 --- a/services/sfs/v1betaapi/model_share_export_policy.go +++ b/services/sfs/v1betaapi/model_share_export_policy.go @@ -23,7 +23,7 @@ type ShareExportPolicy struct { CreatedAt *time.Time `json:"createdAt,omitempty"` // ID of the Share Export Policy Id *string `json:"id,omitempty"` - // An optional object that represents the labels associated with the share export policy keys are validated using the following regex '^[\\\\p{Ll}][\\\\p{Ll}\\\\p{N}_-]*$' and cannot be empty values are validated using the following regex '^[\\\\p{Ll}\\\\p{N}_-]*$' + // An optional object that represents the labels associated with the share export policy. Labels *map[string]string `json:"labels,omitempty"` // Name of the Share Export Policy Name *string `json:"name,omitempty"` diff --git a/services/sfs/v1betaapi/model_update_resource_pool_payload.go b/services/sfs/v1betaapi/model_update_resource_pool_payload.go index 7f93ec4a43..2f5502b5ac 100644 --- a/services/sfs/v1betaapi/model_update_resource_pool_payload.go +++ b/services/sfs/v1betaapi/model_update_resource_pool_payload.go @@ -21,7 +21,7 @@ var _ MappedNullable = &UpdateResourcePoolPayload{} type UpdateResourcePoolPayload struct { // (optional) List of IPs that can mount the Resource Pool in read-only; IPs must have a subnet mask (e.g. \"172.16.0.0/24\" for a range of IPs, or \"172.16.0.250/32\" for a specific IP) IpAcl []string `json:"ipAcl,omitempty"` - // An optional object that represents the labels associated with the resource pool keys are validated using the following regex '^[\\\\p{Ll}][\\\\p{Ll}\\\\p{N}_-]*$' and cannot be empty values are validated using the following regex '^[\\\\p{Ll}\\\\p{N}_-]*$' + // An optional object that represents the labels associated with the resource pool. Labels *map[string]string `json:"labels,omitempty"` // (optional) Name of the performance class PerformanceClass *string `json:"performanceClass,omitempty"` diff --git a/services/sfs/v1betaapi/model_update_share_export_policy_payload.go b/services/sfs/v1betaapi/model_update_share_export_policy_payload.go index 0f06766b12..5540428ea7 100644 --- a/services/sfs/v1betaapi/model_update_share_export_policy_payload.go +++ b/services/sfs/v1betaapi/model_update_share_export_policy_payload.go @@ -19,7 +19,7 @@ var _ MappedNullable = &UpdateShareExportPolicyPayload{} // UpdateShareExportPolicyPayload struct for UpdateShareExportPolicyPayload type UpdateShareExportPolicyPayload struct { - // An optional object that represents the labels associated with the share export policy keys are validated using the following regex '^[\\\\p{Ll}][\\\\p{Ll}\\\\p{N}_-]*$' and cannot be empty values are validated using the following regex '^[\\\\p{Ll}\\\\p{N}_-]*$' + // An optional object that represents the labels associated with the share export policy. Labels *map[string]string `json:"labels,omitempty"` // List of rules of the Share Export Policy. The order of the rules within the array does not matter - what matters is the field \"order\" within each rule. The whole set of rules needs to be sent in the same request, e.g. if 1 rule is sent, the share export policy will have just that 1 rule, as opposed to extending the existing set of rules with the 1 rule that was sent Important note: the array of rules passed always overwrites the rule array (i.e. sending an empty array removes all rules) Rules []UpdateShareExportPolicyBodyRule `json:"rules,omitempty"` diff --git a/services/sfs/v1betaapi/model_update_share_payload.go b/services/sfs/v1betaapi/model_update_share_payload.go index c4667b3279..2422eb8078 100644 --- a/services/sfs/v1betaapi/model_update_share_payload.go +++ b/services/sfs/v1betaapi/model_update_share_payload.go @@ -21,7 +21,7 @@ var _ MappedNullable = &UpdateSharePayload{} type UpdateSharePayload struct { // Name of the Share Export Policy to use in the Share. The behavior depends on the value: - If not set (null): Keep the existing export policy (if any) - If set to empty string (\"\"): Remove the existing export policy - If set to a policy name: Update to use the specified policy, creating a new association if none exists ExportPolicyName NullableString `json:"exportPolicyName,omitempty"` - // An optional object that represents the labels associated with the share keys are validated using the following regex '^[\\\\p{Ll}][\\\\p{Ll}\\\\p{N}_-]*$' and cannot be empty values are validated using the following regex '^[\\\\p{Ll}\\\\p{N}_-]*$' + // An optional object that represents the labels associated with the share. Labels *map[string]string `json:"labels,omitempty"` // Space hard limit for the Share. If zero, the Share will have access to the full space of the Resource Pool it lives in. (unit: gibibytes) SpaceHardLimitGigabytes NullableInt32 `json:"spaceHardLimitGigabytes,omitempty"`