The vmware_nsx.api_client.exception Module

exception vmware_nsx.api_client.exception.BadRequest(**kwargs)

Bases: vmware_nsx.api_client.exception.NsxApiException

message = u'The server is unable to fulfill the request due to a bad syntax'
exception vmware_nsx.api_client.exception.Conflict(**kwargs)

Bases: vmware_nsx.api_client.exception.NsxApiException

message = u'Request conflicts with configuration on a different entity.'
exception vmware_nsx.api_client.exception.Forbidden(**kwargs)

Bases: vmware_nsx.api_client.exception.NsxApiException

message = u'The request is forbidden from accessing the referenced resource.'
exception vmware_nsx.api_client.exception.InvalidSecurityCertificate(**kwargs)

Bases: vmware_nsx.api_client.exception.BadRequest

message = u'The backend received an invalid security certificate.'
exception vmware_nsx.api_client.exception.NsxApiException(**kwargs)

Bases: exceptions.Exception

Base NSX API Client Exception.

To correctly use this class, inherit from it and define a ‘message’ property. That message will get printf’d with the keyword arguments provided to the constructor.

message = u'An unknown exception occurred.'
exception vmware_nsx.api_client.exception.ReadOnlyMode(**kwargs)

Bases: vmware_nsx.api_client.exception.Forbidden

message = u'Create/Update actions are forbidden when in read-only mode.'
exception vmware_nsx.api_client.exception.RequestTimeout(**kwargs)

Bases: vmware_nsx.api_client.exception.NsxApiException

message = u'The request has timed out.'
exception vmware_nsx.api_client.exception.ResourceNotFound(**kwargs)

Bases: vmware_nsx.api_client.exception.NsxApiException

message = u'An entity referenced in the request was not found.'
exception vmware_nsx.api_client.exception.ServiceUnavailable(**kwargs)

Bases: vmware_nsx.api_client.exception.NsxApiException

message = u'Request could not completed because the associated resource could not be reached.'
exception vmware_nsx.api_client.exception.UnAuthorizedRequest(**kwargs)

Bases: vmware_nsx.api_client.exception.NsxApiException

message = u"Server denied session's authentication credentials."
vmware_nsx.api_client.exception.fiveZeroThree(response=None)
vmware_nsx.api_client.exception.fourZeroFour(response=None)
vmware_nsx.api_client.exception.fourZeroNine(response=None)
vmware_nsx.api_client.exception.fourZeroThree(response=None)
vmware_nsx.api_client.exception.fourZeroZero(response=None)
vmware_nsx.api_client.exception.zero(self, response=None)