stackit-certificates 1.4.0__tar.gz → 1.5.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_certificates-1.4.0 → stackit_certificates-1.5.0}/PKG-INFO +1 -1
- {stackit_certificates-1.4.0 → stackit_certificates-1.5.0}/pyproject.toml +1 -1
- {stackit_certificates-1.4.0 → stackit_certificates-1.5.0}/src/stackit/certificates/models/create_certificate_payload.py +6 -1
- {stackit_certificates-1.4.0 → stackit_certificates-1.5.0}/src/stackit/certificates/models/get_certificate_response.py +6 -1
- {stackit_certificates-1.4.0 → stackit_certificates-1.5.0}/.gitignore +0 -0
- {stackit_certificates-1.4.0 → stackit_certificates-1.5.0}/LICENSE.md +0 -0
- {stackit_certificates-1.4.0 → stackit_certificates-1.5.0}/NOTICE.txt +0 -0
- {stackit_certificates-1.4.0 → stackit_certificates-1.5.0}/README.md +0 -0
- {stackit_certificates-1.4.0 → stackit_certificates-1.5.0}/src/stackit/certificates/__init__.py +0 -0
- {stackit_certificates-1.4.0 → stackit_certificates-1.5.0}/src/stackit/certificates/api/__init__.py +0 -0
- {stackit_certificates-1.4.0 → stackit_certificates-1.5.0}/src/stackit/certificates/api/default_api.py +0 -0
- {stackit_certificates-1.4.0 → stackit_certificates-1.5.0}/src/stackit/certificates/api_client.py +0 -0
- {stackit_certificates-1.4.0 → stackit_certificates-1.5.0}/src/stackit/certificates/api_response.py +0 -0
- {stackit_certificates-1.4.0 → stackit_certificates-1.5.0}/src/stackit/certificates/configuration.py +0 -0
- {stackit_certificates-1.4.0 → stackit_certificates-1.5.0}/src/stackit/certificates/exceptions.py +0 -0
- {stackit_certificates-1.4.0 → stackit_certificates-1.5.0}/src/stackit/certificates/models/__init__.py +0 -0
- {stackit_certificates-1.4.0 → stackit_certificates-1.5.0}/src/stackit/certificates/models/certificates_quota.py +0 -0
- {stackit_certificates-1.4.0 → stackit_certificates-1.5.0}/src/stackit/certificates/models/get_quota_response.py +0 -0
- {stackit_certificates-1.4.0 → stackit_certificates-1.5.0}/src/stackit/certificates/models/google_protobuf_any.py +0 -0
- {stackit_certificates-1.4.0 → stackit_certificates-1.5.0}/src/stackit/certificates/models/list_certificates_response.py +0 -0
- {stackit_certificates-1.4.0 → stackit_certificates-1.5.0}/src/stackit/certificates/models/quotas.py +0 -0
- {stackit_certificates-1.4.0 → stackit_certificates-1.5.0}/src/stackit/certificates/models/status.py +0 -0
- {stackit_certificates-1.4.0 → stackit_certificates-1.5.0}/src/stackit/certificates/py.typed +0 -0
- {stackit_certificates-1.4.0 → stackit_certificates-1.5.0}/src/stackit/certificates/rest.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: stackit-certificates
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.5.0
|
|
4
4
|
Summary: Load Balancer Certificates API
|
|
5
5
|
Project-URL: Homepage, https://github.com/stackitcloud/stackit-sdk-python
|
|
6
6
|
Project-URL: Issues, https://github.com/stackitcloud/stackit-sdk-python/issues
|
|
@@ -29,6 +29,10 @@ class CreateCertificatePayload(BaseModel):
|
|
|
29
29
|
Uploads a PEM encoded X509 public/private key pair
|
|
30
30
|
""" # noqa: E501
|
|
31
31
|
|
|
32
|
+
labels: Optional[Dict[str, StrictStr]] = Field(
|
|
33
|
+
default=None,
|
|
34
|
+
description="Labels represent user-defined metadata as key-value pairs. Label count should not exceed 64 per Certificate. **Key Formatting Rules:** Length: 1-63 characters. Characters: Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. Keys starting with 'stackit-' are system-reserved; users MUST NOT manage them. **Value Formatting Rules:** Length: 0-63 characters (empty string explicitly allowed). Characters (for non-empty values): Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. ",
|
|
35
|
+
)
|
|
32
36
|
name: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="TLS certificate name")
|
|
33
37
|
private_key: Optional[StrictStr] = Field(
|
|
34
38
|
default=None, description="The PEM encoded private key part", alias="privateKey"
|
|
@@ -38,7 +42,7 @@ class CreateCertificatePayload(BaseModel):
|
|
|
38
42
|
default=None, description="The PEM encoded public key part", alias="publicKey"
|
|
39
43
|
)
|
|
40
44
|
region: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="Region")
|
|
41
|
-
__properties: ClassVar[List[str]] = ["name", "privateKey", "projectId", "publicKey", "region"]
|
|
45
|
+
__properties: ClassVar[List[str]] = ["labels", "name", "privateKey", "projectId", "publicKey", "region"]
|
|
42
46
|
|
|
43
47
|
@field_validator("name")
|
|
44
48
|
def name_validate_regular_expression(cls, value):
|
|
@@ -138,6 +142,7 @@ class CreateCertificatePayload(BaseModel):
|
|
|
138
142
|
|
|
139
143
|
_obj = cls.model_validate(
|
|
140
144
|
{
|
|
145
|
+
"labels": obj.get("labels"),
|
|
141
146
|
"name": obj.get("name"),
|
|
142
147
|
"privateKey": obj.get("privateKey"),
|
|
143
148
|
"projectId": obj.get("projectId"),
|
|
@@ -29,12 +29,16 @@ class GetCertificateResponse(BaseModel):
|
|
|
29
29
|
""" # noqa: E501
|
|
30
30
|
|
|
31
31
|
id: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The certificates resource id")
|
|
32
|
+
labels: Optional[Dict[str, StrictStr]] = Field(
|
|
33
|
+
default=None,
|
|
34
|
+
description="Labels represent user-defined metadata as key-value pairs. Label count should not exceed 64 per Certificate. **Key Formatting Rules:** Length: 1-63 characters. Characters: Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. Keys starting with 'stackit-' are system-reserved; users MUST NOT manage them. **Value Formatting Rules:** Length: 0-63 characters (empty string explicitly allowed). Characters (for non-empty values): Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. ",
|
|
35
|
+
)
|
|
32
36
|
name: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="TLS certificate name")
|
|
33
37
|
public_key: Optional[StrictStr] = Field(
|
|
34
38
|
default=None, description="The PEM encoded public key part", alias="publicKey"
|
|
35
39
|
)
|
|
36
40
|
region: Optional[StrictStr] = Field(default=None, description="Region of the LoadBalancer")
|
|
37
|
-
__properties: ClassVar[List[str]] = ["id", "name", "publicKey", "region"]
|
|
41
|
+
__properties: ClassVar[List[str]] = ["id", "labels", "name", "publicKey", "region"]
|
|
38
42
|
|
|
39
43
|
@field_validator("id")
|
|
40
44
|
def id_validate_regular_expression(cls, value):
|
|
@@ -113,6 +117,7 @@ class GetCertificateResponse(BaseModel):
|
|
|
113
117
|
_obj = cls.model_validate(
|
|
114
118
|
{
|
|
115
119
|
"id": obj.get("id"),
|
|
120
|
+
"labels": obj.get("labels"),
|
|
116
121
|
"name": obj.get("name"),
|
|
117
122
|
"publicKey": obj.get("publicKey"),
|
|
118
123
|
"region": obj.get("region"),
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stackit_certificates-1.4.0 → stackit_certificates-1.5.0}/src/stackit/certificates/__init__.py
RENAMED
|
File without changes
|
{stackit_certificates-1.4.0 → stackit_certificates-1.5.0}/src/stackit/certificates/api/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{stackit_certificates-1.4.0 → stackit_certificates-1.5.0}/src/stackit/certificates/api_client.py
RENAMED
|
File without changes
|
{stackit_certificates-1.4.0 → stackit_certificates-1.5.0}/src/stackit/certificates/api_response.py
RENAMED
|
File without changes
|
{stackit_certificates-1.4.0 → stackit_certificates-1.5.0}/src/stackit/certificates/configuration.py
RENAMED
|
File without changes
|
{stackit_certificates-1.4.0 → stackit_certificates-1.5.0}/src/stackit/certificates/exceptions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stackit_certificates-1.4.0 → stackit_certificates-1.5.0}/src/stackit/certificates/models/quotas.py
RENAMED
|
File without changes
|
{stackit_certificates-1.4.0 → stackit_certificates-1.5.0}/src/stackit/certificates/models/status.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|