AdhocGetPathAnalysisDetails

class oci.vn_monitoring.models.AdhocGetPathAnalysisDetails(**kwargs)

Bases: oci.vn_monitoring.models.get_path_analysis_details.GetPathAnalysisDetails

Defines the configuration for getting an ad-hoc path analysis.

Attributes

TYPE_ADHOC_QUERY str(object=’’) -> str
TYPE_PERSISTED_QUERY str(object=’’) -> str
compartment_id [Required] Gets the compartment_id of this AdhocGetPathAnalysisDetails.
destination_endpoint [Required] Gets the destination_endpoint of this AdhocGetPathAnalysisDetails.
protocol [Required] Gets the protocol of this AdhocGetPathAnalysisDetails.
protocol_parameters Gets the protocol_parameters of this AdhocGetPathAnalysisDetails.
query_options Gets the query_options of this AdhocGetPathAnalysisDetails.
source_endpoint [Required] Gets the source_endpoint of this AdhocGetPathAnalysisDetails.
type [Required] Gets the type of this GetPathAnalysisDetails.

Methods

__init__(**kwargs) Initializes a new AdhocGetPathAnalysisDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
TYPE_ADHOC_QUERY = 'ADHOC_QUERY'
TYPE_PERSISTED_QUERY = 'PERSISTED_QUERY'
__init__(**kwargs)

Initializes a new AdhocGetPathAnalysisDetails object with values from keyword arguments. The default value of the type attribute of this class is ADHOC_QUERY and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • type (str) – The value to assign to the type property of this AdhocGetPathAnalysisDetails. Allowed values for this property are: “PERSISTED_QUERY”, “ADHOC_QUERY”
  • compartment_id (str) – The value to assign to the compartment_id property of this AdhocGetPathAnalysisDetails.
  • protocol (int) – The value to assign to the protocol property of this AdhocGetPathAnalysisDetails.
  • source_endpoint (oci.vn_monitoring.models.Endpoint) – The value to assign to the source_endpoint property of this AdhocGetPathAnalysisDetails.
  • destination_endpoint (oci.vn_monitoring.models.Endpoint) – The value to assign to the destination_endpoint property of this AdhocGetPathAnalysisDetails.
  • protocol_parameters (oci.vn_monitoring.models.ProtocolParameters) – The value to assign to the protocol_parameters property of this AdhocGetPathAnalysisDetails.
  • query_options (oci.vn_monitoring.models.QueryOptions) – The value to assign to the query_options property of this AdhocGetPathAnalysisDetails.
compartment_id

[Required] Gets the compartment_id of this AdhocGetPathAnalysisDetails. The OCID for the compartment.

Returns:The compartment_id of this AdhocGetPathAnalysisDetails.
Return type:str
destination_endpoint

[Required] Gets the destination_endpoint of this AdhocGetPathAnalysisDetails.

Returns:The destination_endpoint of this AdhocGetPathAnalysisDetails.
Return type:oci.vn_monitoring.models.Endpoint
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

protocol

[Required] Gets the protocol of this AdhocGetPathAnalysisDetails. The IP protocol to used for the path analysis.

Returns:The protocol of this AdhocGetPathAnalysisDetails.
Return type:int
protocol_parameters

Gets the protocol_parameters of this AdhocGetPathAnalysisDetails.

Returns:The protocol_parameters of this AdhocGetPathAnalysisDetails.
Return type:oci.vn_monitoring.models.ProtocolParameters
query_options

Gets the query_options of this AdhocGetPathAnalysisDetails.

Returns:The query_options of this AdhocGetPathAnalysisDetails.
Return type:oci.vn_monitoring.models.QueryOptions
source_endpoint

[Required] Gets the source_endpoint of this AdhocGetPathAnalysisDetails.

Returns:The source_endpoint of this AdhocGetPathAnalysisDetails.
Return type:oci.vn_monitoring.models.Endpoint
type

[Required] Gets the type of this GetPathAnalysisDetails. The type of the PathAnalysis query.

Allowed values for this property are: “PERSISTED_QUERY”, “ADHOC_QUERY”

Returns:The type of this GetPathAnalysisDetails.
Return type:str