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: strongdm/models.py
+152Lines changed: 152 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3846,6 +3846,158 @@ def from_dict(cls, d):
3846
3846
)
3847
3847
3848
3848
3849
+
class Aerospike:
3850
+
'''
3851
+
Aerospike is currently unstable, and its API may change, or it may be removed,
3852
+
without a major version bump.
3853
+
'''
3854
+
__slots__ = [
3855
+
'bind_interface',
3856
+
'egress_filter',
3857
+
'healthy',
3858
+
'hostname',
3859
+
'id',
3860
+
'name',
3861
+
'password',
3862
+
'port',
3863
+
'port_override',
3864
+
'proxy_cluster_id',
3865
+
'secret_store_id',
3866
+
'subdomain',
3867
+
'tags',
3868
+
'username',
3869
+
]
3870
+
3871
+
def __init__(
3872
+
self,
3873
+
bind_interface=None,
3874
+
egress_filter=None,
3875
+
healthy=None,
3876
+
hostname=None,
3877
+
id=None,
3878
+
name=None,
3879
+
password=None,
3880
+
port=None,
3881
+
port_override=None,
3882
+
proxy_cluster_id=None,
3883
+
secret_store_id=None,
3884
+
subdomain=None,
3885
+
tags=None,
3886
+
username=None,
3887
+
):
3888
+
self.bind_interface = bind_interface if bind_interface is not None else ''
3889
+
'''
3890
+
The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
3891
+
'''
3892
+
self.egress_filter = egress_filter if egress_filter is not None else ''
3893
+
'''
3894
+
A filter applied to the routing logic to pin datasource to nodes.
3895
+
'''
3896
+
self.healthy = healthy if healthy is not None else False
3897
+
'''
3898
+
True if the datasource is reachable and the credentials are valid.
3899
+
'''
3900
+
self.hostname = hostname if hostname is not None else ''
3901
+
'''
3902
+
The host to dial to initiate a connection from the egress node to this resource.
3903
+
'''
3904
+
self.id = id if id is not None else ''
3905
+
'''
3906
+
Unique identifier of the Resource.
3907
+
'''
3908
+
self.name = name if name is not None else ''
3909
+
'''
3910
+
Unique human-readable name of the Resource.
3911
+
'''
3912
+
self.password = password if password is not None else ''
3913
+
'''
3914
+
The password to authenticate with.
3915
+
'''
3916
+
self.port = port if port is not None else 0
3917
+
'''
3918
+
The port to dial to initiate a connection from the egress node to this resource.
3919
+
'''
3920
+
self.port_override = port_override if port_override is not None else 0
3921
+
'''
3922
+
The local port used by clients to connect to this resource.
3923
+
'''
3924
+
self.proxy_cluster_id = proxy_cluster_id if proxy_cluster_id is not None else ''
3925
+
'''
3926
+
ID of the proxy cluster for this resource, if any.
3927
+
'''
3928
+
self.secret_store_id = secret_store_id if secret_store_id is not None else ''
3929
+
'''
3930
+
ID of the secret store containing credentials for this resource, if any.
3931
+
'''
3932
+
self.subdomain = subdomain if subdomain is not None else ''
3933
+
'''
3934
+
Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
3935
+
'''
3936
+
self.tags = tags if tags is not None else _porcelain_zero_value_tags()
3937
+
'''
3938
+
Tags is a map of key, value pairs.
3939
+
'''
3940
+
self.username = username if username is not None else ''
0 commit comments