com.vmware.nsx_policy.global_infra.settings.firewall.security package¶
Subpackages¶
Submodules¶
com.vmware.nsx_policy.global_infra.settings.firewall.security.intrusion_services_client module¶
-
class
com.vmware.nsx_policy.global_infra.settings.firewall.security.intrusion_services_client.
ClusterConfigs
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
get
(cluster_id)¶ Read intrusion detection system cluster config
Parameters: cluster_id ( str
) – User entered ID (required)Return type: com.vmware.nsx_policy.model_client.IdsClusterConfig
Returns: com.vmware.nsx_policy.model.IdsClusterConfig Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found
-
list
(cursor=None, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ List intrusion detection system cluster configs.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - included_fields (
str
orNone
) – Comma separated list of fields that should be included in query result (optional) - page_size (
long
orNone
) – Maximum number of results to return in this page (server may return fewer) (optional, default to 1000) - sort_ascending (
bool
orNone
) – (optional) - sort_by (
str
orNone
) – Field by which records are sorted (optional)
Return type: com.vmware.nsx_policy.model_client.IdsClusterConfigListResult
Returns: com.vmware.nsx_policy.model.IdsClusterConfigListResult
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- cursor (
-
patch
(cluster_id, ids_cluster_config)¶ Patch intrusion detection system on cluster level.
Parameters: - cluster_id (
str
) – User entered ID (required) - ids_cluster_config (
com.vmware.nsx_policy.model_client.IdsClusterConfig
) – (required)
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- cluster_id (
-
update
(cluster_id, ids_cluster_config)¶ Update intrusion detection system on cluster level.
Parameters: - cluster_id (
str
) – User entered ID (required) - ids_cluster_config (
com.vmware.nsx_policy.model_client.IdsClusterConfig
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.IdsClusterConfig
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- cluster_id (
-
-
class
com.vmware.nsx_policy.global_infra.settings.firewall.security.intrusion_services_client.
IdsStandaloneHostConfig
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
get
()¶ Read intrusion detection system config of standalone hosts.
Return type: com.vmware.nsx_policy.model_client.IdsStandaloneHostConfig
Returns: com.vmware.nsx_policy.model.IdsStandaloneHostConfig Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found
-
patch
(ids_standalone_host_config)¶ Patch intrusion detection system configuration on standalone hosts.
Parameters: ids_standalone_host_config ( com.vmware.nsx_policy.model_client.IdsStandaloneHostConfig
) – (required)Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found
-
update
(ids_standalone_host_config)¶ Update intrusion detection system configuration on standalone hosts.
Parameters: ids_standalone_host_config ( com.vmware.nsx_policy.model_client.IdsStandaloneHostConfig
) – (required)Return type: com.vmware.nsx_policy.model_client.IdsStandaloneHostConfig
Returns: com.vmware.nsx_policy.model.IdsStandaloneHostConfig Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found
-
-
class
com.vmware.nsx_policy.global_infra.settings.firewall.security.intrusion_services_client.
Profiles
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
delete
(profile_id)¶ Delete intrusion detection profile.
Parameters: profile_id ( str
) – Profile ID (required)Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found
-
get
(profile_id)¶ Read intrusion detection profile
Parameters: profile_id ( str
) – Profile ID (required)Return type: com.vmware.nsx_policy.model_client.IdsProfile
Returns: com.vmware.nsx_policy.model.IdsProfile Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found
-
list
(cursor=None, include_mark_for_delete_objects=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ List intrusion detection profiles.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - include_mark_for_delete_objects (
bool
orNone
) – Include objects that are marked for deletion in results (optional, default to false) - included_fields (
str
orNone
) – Comma separated list of fields that should be included in query result (optional) - page_size (
long
orNone
) – Maximum number of results to return in this page (server may return fewer) (optional, default to 1000) - sort_ascending (
bool
orNone
) – (optional) - sort_by (
str
orNone
) – Field by which records are sorted (optional)
Return type: Returns: com.vmware.nsx_policy.model.IdsProfileListResult
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- cursor (
-
patch
(profile_id, ids_profile)¶ Patch intrusion detection system profile.
Parameters: - profile_id (
str
) – Profile ID (required) - ids_profile (
com.vmware.nsx_policy.model_client.IdsProfile
) – (required)
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- profile_id (
-
update
(profile_id, ids_profile)¶ Update intrusion detection profile.
Parameters: - profile_id (
str
) – Profile ID (required) - ids_profile (
com.vmware.nsx_policy.model_client.IdsProfile
) – (required)
Return type: Returns: com.vmware.nsx_policy.model.IdsProfile
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- profile_id (
-
-
class
com.vmware.nsx_policy.global_infra.settings.firewall.security.intrusion_services_client.
SignatureVersions
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
list
(cursor=None, included_fields=None, page_size=None, sort_ascending=None, sort_by=None)¶ Intrusion detection system signature versions.
Parameters: - cursor (
str
orNone
) – Opaque cursor to be used for getting next page of records (supplied by current result page) (optional) - included_fields (
str
orNone
) – Comma separated list of fields that should be included in query result (optional) - page_size (
long
orNone
) – Maximum number of results to return in this page (server may return fewer) (optional, default to 1000) - sort_ascending (
bool
orNone
) – (optional) - sort_by (
str
orNone
) – Field by which records are sorted (optional)
Return type: com.vmware.nsx_policy.model_client.IdsSignatureVersionListResult
Returns: com.vmware.nsx_policy.model.IdsSignatureVersionListResult
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found- cursor (
-
makeactiveversion
(ids_signature_version)¶ Make this IDS Signature version as ACTIVE version and other versions as NOTACTIVE.
Parameters: ids_signature_version ( com.vmware.nsx_policy.model_client.IdsSignatureVersion
) – (required)Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found
-
-
class
com.vmware.nsx_policy.global_infra.settings.firewall.security.intrusion_services_client.
Signatures
(config)¶ Bases:
vmware.vapi.bindings.stub.VapiInterface
Parameters: config ( vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.-
updatesignatures
()¶ Trigger the process to Download and update the IDS signatures manually.
Raise: com.vmware.vapi.std.errors_client.ServiceUnavailable
Service UnavailableRaise: com.vmware.vapi.std.errors_client.InvalidRequest
Bad Request, Precondition FailedRaise: com.vmware.vapi.std.errors_client.InternalServerError
Internal Server ErrorRaise: com.vmware.vapi.std.errors_client.Unauthorized
ForbiddenRaise: com.vmware.vapi.std.errors_client.NotFound
Not Found
-
-
class
com.vmware.nsx_policy.global_infra.settings.firewall.security.intrusion_services_client.
StubFactory
(stub_config)¶ Bases:
vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
Parameters: stub_config ( vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance