AdhocGetPathAnalysisDetails¶
- class oci.vn_monitoring.models.AdhocGetPathAnalysisDetails(**kwargs)¶
Bases:
GetPathAnalysisDetailsDefines the configuration for getting an ad-hoc path analysis.
Attributes:
A constant which can be used with the type property of a GetPathAnalysisDetails.
A constant which can be used with the type property of a GetPathAnalysisDetails.
[Required] Gets the compartment_id of this AdhocGetPathAnalysisDetails.
[Required] Gets the destination_endpoint of this AdhocGetPathAnalysisDetails.
[Required] Gets the protocol of this AdhocGetPathAnalysisDetails.
Gets the protocol_parameters of this AdhocGetPathAnalysisDetails.
Gets the query_options of this AdhocGetPathAnalysisDetails.
[Required] Gets the source_endpoint of this AdhocGetPathAnalysisDetails.
[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'¶
A constant which can be used with the type property of a GetPathAnalysisDetails. This constant has a value of “ADHOC_QUERY”
- TYPE_PERSISTED_QUERY = 'PERSISTED_QUERY'¶
A constant which can be used with the type property of a GetPathAnalysisDetails. This constant has a value of “PERSISTED_QUERY”
- __init__(**kwargs)¶
Initializes a new AdhocGetPathAnalysisDetails object with values from keyword arguments. The default value of the
typeattribute of this class isADHOC_QUERYand 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.
- property 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
- property destination_endpoint¶
[Required] Gets the destination_endpoint of this AdhocGetPathAnalysisDetails.
- Returns
The destination_endpoint of this AdhocGetPathAnalysisDetails.
- Return type
- 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.
- property 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
- property protocol_parameters¶
Gets the protocol_parameters of this AdhocGetPathAnalysisDetails.
- Returns
The protocol_parameters of this AdhocGetPathAnalysisDetails.
- Return type
- property query_options¶
Gets the query_options of this AdhocGetPathAnalysisDetails.
- Returns
The query_options of this AdhocGetPathAnalysisDetails.
- Return type
- property source_endpoint¶
[Required] Gets the source_endpoint of this AdhocGetPathAnalysisDetails.
- Returns
The source_endpoint of this AdhocGetPathAnalysisDetails.
- Return type
- property 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