-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(api): update via SDK Studio (#256)
- Loading branch information
1 parent
a9f75be
commit c31e274
Showing
8 changed files
with
263 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
65 changes: 65 additions & 0 deletions
65
src/cloudflare/types/zero_trust/devices/posture_create_response.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
|
||
from typing import List, Optional | ||
from typing_extensions import Literal | ||
|
||
from ...._models import BaseModel | ||
from .device_input import DeviceInput | ||
from .device_match import DeviceMatch | ||
|
||
__all__ = ["PostureCreateResponse"] | ||
|
||
|
||
class PostureCreateResponse(BaseModel): | ||
id: Optional[str] = None | ||
"""API UUID.""" | ||
|
||
description: Optional[str] = None | ||
"""The description of the device posture rule.""" | ||
|
||
expiration: Optional[str] = None | ||
"""Sets the expiration time for a posture check result. | ||
If empty, the result remains valid until it is overwritten by new data from the | ||
WARP client. | ||
""" | ||
|
||
input: Optional[DeviceInput] = None | ||
"""The value to be checked against.""" | ||
|
||
match: Optional[List[DeviceMatch]] = None | ||
"""The conditions that the client must match to run the rule.""" | ||
|
||
name: Optional[str] = None | ||
"""The name of the device posture rule.""" | ||
|
||
schedule: Optional[str] = None | ||
"""Polling frequency for the WARP client posture check. | ||
Default: `5m` (poll every five minutes). Minimum: `1m`. | ||
""" | ||
|
||
type: Optional[ | ||
Literal[ | ||
"file", | ||
"application", | ||
"tanium", | ||
"gateway", | ||
"warp", | ||
"disk_encryption", | ||
"sentinelone", | ||
"carbonblack", | ||
"firewall", | ||
"os_version", | ||
"domain_joined", | ||
"client_certificate", | ||
"unique_client_id", | ||
"kolide", | ||
"tanium_s2s", | ||
"crowdstrike_s2s", | ||
"intune", | ||
"workspace_one", | ||
"sentinelone_s2s", | ||
] | ||
] = None | ||
"""The type of device posture rule.""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
65 changes: 65 additions & 0 deletions
65
src/cloudflare/types/zero_trust/devices/posture_list_response.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
|
||
from typing import List, Optional | ||
from typing_extensions import Literal | ||
|
||
from ...._models import BaseModel | ||
from .device_input import DeviceInput | ||
from .device_match import DeviceMatch | ||
|
||
__all__ = ["PostureListResponse"] | ||
|
||
|
||
class PostureListResponse(BaseModel): | ||
id: Optional[str] = None | ||
"""API UUID.""" | ||
|
||
description: Optional[str] = None | ||
"""The description of the device posture rule.""" | ||
|
||
expiration: Optional[str] = None | ||
"""Sets the expiration time for a posture check result. | ||
If empty, the result remains valid until it is overwritten by new data from the | ||
WARP client. | ||
""" | ||
|
||
input: Optional[DeviceInput] = None | ||
"""The value to be checked against.""" | ||
|
||
match: Optional[List[DeviceMatch]] = None | ||
"""The conditions that the client must match to run the rule.""" | ||
|
||
name: Optional[str] = None | ||
"""The name of the device posture rule.""" | ||
|
||
schedule: Optional[str] = None | ||
"""Polling frequency for the WARP client posture check. | ||
Default: `5m` (poll every five minutes). Minimum: `1m`. | ||
""" | ||
|
||
type: Optional[ | ||
Literal[ | ||
"file", | ||
"application", | ||
"tanium", | ||
"gateway", | ||
"warp", | ||
"disk_encryption", | ||
"sentinelone", | ||
"carbonblack", | ||
"firewall", | ||
"os_version", | ||
"domain_joined", | ||
"client_certificate", | ||
"unique_client_id", | ||
"kolide", | ||
"tanium_s2s", | ||
"crowdstrike_s2s", | ||
"intune", | ||
"workspace_one", | ||
"sentinelone_s2s", | ||
] | ||
] = None | ||
"""The type of device posture rule.""" |
Oops, something went wrong.