You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/stackit_dns_record-set_update.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ stackit dns record-set update RECORD_SET_ID [flags]
24
24
-h, --help Help for "stackit dns record-set update"
25
25
--name string Name of the record, should be compliant with RFC1035, Section 2.3.4
26
26
--record strings Records belonging to the record set. If this flag is used, records already created that aren't set when running the command will be deleted
27
-
--ttl int Time to live, if not provided defaults to the zone's default TTL
27
+
--ttl int32 Time to live, if not provided defaults to the zone's default TTL
cmd.Flags().String(nameFlag, "", "Name of the record, should be compliant with RFC1035, Section 2.3.4")
119
-
cmd.Flags().Int64(ttlFlag, 0, "Time to live, if not provided defaults to the zone's default TTL")
116
+
cmd.Flags().Int32(ttlFlag, 0, "Time to live, if not provided defaults to the zone's default TTL")
120
117
cmd.Flags().StringSlice(recordFlag, []string{}, "Records belonging to the record set")
121
-
cmd.Flags().Var(flags.EnumFlag(false, string(defaultType), typeFlagOptions...), typeFlag, fmt.Sprintf("Record type, one of %q", typeFlagOptions))
118
+
cmd.Flags().Var(flags.EnumFlag(false, string(defaultType), sdkUtils.EnumSliceToStringSlice(dns.AllowedCreateRecordSetPayloadTypeEnumValues)...), typeFlag, fmt.Sprintf("Record type, one of %q", utils.FormatPossibleValues(sdkUtils.EnumSliceToStringSlice(dns.AllowedCreateRecordSetPayloadTypeEnumValues)...)))
0 commit comments