Skip to content
Start here

Directory

DirectoryServices

List Workers VPC connectivity services
connectivity.directory.services.list(ServiceListParams**kwargs) -> SyncV4PagePaginationArray[ServiceListResponse]
GET/accounts/{account_id}/connectivity/directory/services
Create Workers VPC connectivity service
connectivity.directory.services.create(ServiceCreateParams**kwargs) -> ServiceCreateResponse
POST/accounts/{account_id}/connectivity/directory/services
Get Workers VPC connectivity service
connectivity.directory.services.get(strservice_id, ServiceGetParams**kwargs) -> ServiceGetResponse
GET/accounts/{account_id}/connectivity/directory/services/{service_id}
Update Workers VPC connectivity service
connectivity.directory.services.update(strservice_id, ServiceUpdateParams**kwargs) -> ServiceUpdateResponse
PUT/accounts/{account_id}/connectivity/directory/services/{service_id}
Delete Workers VPC connectivity service
connectivity.directory.services.delete(strservice_id, ServiceDeleteParams**kwargs)
DELETE/accounts/{account_id}/connectivity/directory/services/{service_id}
ModelsExpand Collapse
class ServiceListResponse:
host: Host
One of the following:
class HostInfraIPv4Host:
ipv4: str
network: HostInfraIPv4HostNetwork
tunnel_id: str
formatuuid
class HostInfraIPv6Host:
ipv6: str
network: HostInfraIPv6HostNetwork
tunnel_id: str
formatuuid
class HostInfraDualStackHost:
ipv4: str
ipv6: str
network: HostInfraDualStackHostNetwork
tunnel_id: str
formatuuid
class HostInfraHostnameHost:
hostname: str
resolver_network: HostInfraHostnameHostResolverNetwork
tunnel_id: str
formatuuid
resolver_ips: Optional[List[str]]
name: str
type: Literal["http"]
created_at: Optional[datetime]
formatdate-time
http_port: Optional[int]
formatint32
minimum1
https_port: Optional[int]
formatint32
minimum1
service_id: Optional[str]
formatuuid
updated_at: Optional[datetime]
formatdate-time
class ServiceCreateResponse:
host: Host
One of the following:
class HostInfraIPv4Host:
ipv4: str
network: HostInfraIPv4HostNetwork
tunnel_id: str
formatuuid
class HostInfraIPv6Host:
ipv6: str
network: HostInfraIPv6HostNetwork
tunnel_id: str
formatuuid
class HostInfraDualStackHost:
ipv4: str
ipv6: str
network: HostInfraDualStackHostNetwork
tunnel_id: str
formatuuid
class HostInfraHostnameHost:
hostname: str
resolver_network: HostInfraHostnameHostResolverNetwork
tunnel_id: str
formatuuid
resolver_ips: Optional[List[str]]
name: str
type: Literal["http"]
created_at: Optional[datetime]
formatdate-time
http_port: Optional[int]
formatint32
minimum1
https_port: Optional[int]
formatint32
minimum1
service_id: Optional[str]
formatuuid
updated_at: Optional[datetime]
formatdate-time
class ServiceGetResponse:
host: Host
One of the following:
class HostInfraIPv4Host:
ipv4: str
network: HostInfraIPv4HostNetwork
tunnel_id: str
formatuuid
class HostInfraIPv6Host:
ipv6: str
network: HostInfraIPv6HostNetwork
tunnel_id: str
formatuuid
class HostInfraDualStackHost:
ipv4: str
ipv6: str
network: HostInfraDualStackHostNetwork
tunnel_id: str
formatuuid
class HostInfraHostnameHost:
hostname: str
resolver_network: HostInfraHostnameHostResolverNetwork
tunnel_id: str
formatuuid
resolver_ips: Optional[List[str]]
name: str
type: Literal["http"]
created_at: Optional[datetime]
formatdate-time
http_port: Optional[int]
formatint32
minimum1
https_port: Optional[int]
formatint32
minimum1
service_id: Optional[str]
formatuuid
updated_at: Optional[datetime]
formatdate-time
class ServiceUpdateResponse:
host: Host
One of the following:
class HostInfraIPv4Host:
ipv4: str
network: HostInfraIPv4HostNetwork
tunnel_id: str
formatuuid
class HostInfraIPv6Host:
ipv6: str
network: HostInfraIPv6HostNetwork
tunnel_id: str
formatuuid
class HostInfraDualStackHost:
ipv4: str
ipv6: str
network: HostInfraDualStackHostNetwork
tunnel_id: str
formatuuid
class HostInfraHostnameHost:
hostname: str
resolver_network: HostInfraHostnameHostResolverNetwork
tunnel_id: str
formatuuid
resolver_ips: Optional[List[str]]
name: str
type: Literal["http"]
created_at: Optional[datetime]
formatdate-time
http_port: Optional[int]
formatint32
minimum1
https_port: Optional[int]
formatint32
minimum1
service_id: Optional[str]
formatuuid
updated_at: Optional[datetime]
formatdate-time