stackit-dns 0.3.2__tar.gz → 0.4.0__tar.gz
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.
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/PKG-INFO +1 -1
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/pyproject.toml +1 -1
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/create_record_set_payload.py +6 -2
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/record_set.py +31 -3
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/LICENSE.md +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/NOTICE.txt +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/README.md +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/__init__.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/api/__init__.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/api/default_api.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/api_client.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/api_response.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/configuration.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/exceptions.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/__init__.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/clone_zone_payload.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/create_label_payload.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/create_label_response.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/create_zone_payload.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/delete_label_response.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/domain_extensions.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/domain_observability_extension.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/error_message.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/export_record_sets_payload.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/import_record_sets_payload.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/import_record_sets_response.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/import_summary.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/label.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/list_labels_response.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/list_record_sets_response.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/list_zones_response.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/message.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/move_code_response.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/move_zone_payload.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/partial_update_record_payload.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/partial_update_record_set_payload.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/partial_update_zone_payload.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/record.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/record_data_exchange.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/record_payload.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/record_set_response.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/validate_move_code_payload.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/zone.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/zone_data_exchange.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/zone_extensions.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/zone_models_import_record_model.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/zone_models_import_zone_json.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/zone_observability_extension.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/zone_response.py +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/py.typed +0 -0
- {stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/rest.py +0 -0
|
@@ -33,7 +33,7 @@ class CreateRecordSetPayload(BaseModel):
|
|
|
33
33
|
default=None, description="user comment"
|
|
34
34
|
)
|
|
35
35
|
name: Annotated[str, Field(min_length=1, strict=True, max_length=253)] = Field(
|
|
36
|
-
description="name of the record which should be a valid domain according to rfc1035 Section 2.3.4"
|
|
36
|
+
description="name of the record which should be a valid domain according to rfc1035 Section 2.3.4. For APEX records (same as zone name), the zone name itself has to be put in here."
|
|
37
37
|
)
|
|
38
38
|
records: List[RecordPayload] = Field(description="records")
|
|
39
39
|
ttl: Optional[Annotated[int, Field(le=99999999, strict=True, ge=60)]] = Field(
|
|
@@ -68,10 +68,14 @@ class CreateRecordSetPayload(BaseModel):
|
|
|
68
68
|
"URI",
|
|
69
69
|
"CERT",
|
|
70
70
|
"SVCB",
|
|
71
|
+
"TYPE",
|
|
72
|
+
"CSYNC",
|
|
73
|
+
"HINFO",
|
|
74
|
+
"HTTPS",
|
|
71
75
|
]
|
|
72
76
|
):
|
|
73
77
|
raise ValueError(
|
|
74
|
-
"must be one of enum values ('A', 'AAAA', 'SOA', 'CNAME', 'NS', 'MX', 'TXT', 'SRV', 'PTR', 'ALIAS', 'DNAME', 'CAA', 'DNSKEY', 'DS', 'LOC', 'NAPTR', 'SSHFP', 'TLSA', 'URI', 'CERT', 'SVCB')"
|
|
78
|
+
"must be one of enum values ('A', 'AAAA', 'SOA', 'CNAME', 'NS', 'MX', 'TXT', 'SRV', 'PTR', 'ALIAS', 'DNAME', 'CAA', 'DNSKEY', 'DS', 'LOC', 'NAPTR', 'SSHFP', 'TLSA', 'URI', 'CERT', 'SVCB', 'TYPE', 'CSYNC', 'HINFO', 'HTTPS')"
|
|
75
79
|
)
|
|
76
80
|
return value
|
|
77
81
|
|
|
@@ -45,7 +45,7 @@ class RecordSet(BaseModel):
|
|
|
45
45
|
)
|
|
46
46
|
id: StrictStr = Field(description="rr set id")
|
|
47
47
|
name: Annotated[str, Field(min_length=1, strict=True, max_length=253)] = Field(
|
|
48
|
-
description="name of the record which should be a valid domain according to rfc1035 Section 2.3.4"
|
|
48
|
+
description="name of the record which should be a valid domain according to rfc1035 Section 2.3.4. For APEX records (same as zone name), the zone name itself has to be put in here."
|
|
49
49
|
)
|
|
50
50
|
records: Annotated[List[Record], Field(min_length=1)] = Field(description="records")
|
|
51
51
|
state: StrictStr = Field(description="record set state")
|
|
@@ -93,9 +93,37 @@ class RecordSet(BaseModel):
|
|
|
93
93
|
@field_validator("type")
|
|
94
94
|
def type_validate_enum(cls, value):
|
|
95
95
|
"""Validates the enum"""
|
|
96
|
-
if value not in set(
|
|
96
|
+
if value not in set(
|
|
97
|
+
[
|
|
98
|
+
"A",
|
|
99
|
+
"AAAA",
|
|
100
|
+
"SOA",
|
|
101
|
+
"CNAME",
|
|
102
|
+
"NS",
|
|
103
|
+
"MX",
|
|
104
|
+
"TXT",
|
|
105
|
+
"SRV",
|
|
106
|
+
"PTR",
|
|
107
|
+
"ALIAS",
|
|
108
|
+
"DNAME",
|
|
109
|
+
"CAA",
|
|
110
|
+
"DNSKEY",
|
|
111
|
+
"DS",
|
|
112
|
+
"LOC",
|
|
113
|
+
"NAPTR",
|
|
114
|
+
"SSHFP",
|
|
115
|
+
"TLSA",
|
|
116
|
+
"URI",
|
|
117
|
+
"CERT",
|
|
118
|
+
"SVCB",
|
|
119
|
+
"TYPE",
|
|
120
|
+
"CSYNC",
|
|
121
|
+
"HINFO",
|
|
122
|
+
"HTTPS",
|
|
123
|
+
]
|
|
124
|
+
):
|
|
97
125
|
raise ValueError(
|
|
98
|
-
"must be one of enum values ('A', 'AAAA', 'SOA', 'CNAME', 'NS', 'MX', 'TXT', 'SRV', 'PTR', 'ALIAS', 'DNAME', 'CAA')"
|
|
126
|
+
"must be one of enum values ('A', 'AAAA', 'SOA', 'CNAME', 'NS', 'MX', 'TXT', 'SRV', 'PTR', 'ALIAS', 'DNAME', 'CAA', 'DNSKEY', 'DS', 'LOC', 'NAPTR', 'SSHFP', 'TLSA', 'URI', 'CERT', 'SVCB', 'TYPE', 'CSYNC', 'HINFO', 'HTTPS')"
|
|
99
127
|
)
|
|
100
128
|
return value
|
|
101
129
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/domain_observability_extension.py
RENAMED
|
File without changes
|
|
File without changes
|
{stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/export_record_sets_payload.py
RENAMED
|
File without changes
|
{stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/import_record_sets_payload.py
RENAMED
|
File without changes
|
{stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/import_record_sets_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/partial_update_record_payload.py
RENAMED
|
File without changes
|
{stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/partial_update_record_set_payload.py
RENAMED
|
File without changes
|
{stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/partial_update_zone_payload.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/validate_move_code_payload.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/zone_models_import_record_model.py
RENAMED
|
File without changes
|
{stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/zone_models_import_zone_json.py
RENAMED
|
File without changes
|
{stackit_dns-0.3.2 → stackit_dns-0.4.0}/src/stackit/dns/models/zone_observability_extension.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|