ConnectionAnalyzerProperties Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. ConnectionAnalyzerProperties
- com.
Implements
public final class ConnectionAnalyzerProperties
implements JsonSerializable<ConnectionAnalyzerProperties>
Properties of a connection analyzer.
Constructor Summary
| Constructor | Description |
|---|---|
| ConnectionAnalyzerProperties() |
Creates an instance of Connection |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Connection |
destination()
Get the destination property: Destination endpoint of the connection analyzer. |
|
List<Diagnostic |
diagnosticOperations()
Get the diagnostic |
|
Diagnostic |
diagnosticOperationsSettings()
Get the diagnostic |
| Integer |
expiryInDays()
Get the expiry |
|
static
Connection |
fromJson(JsonReader jsonReader)
Reads an instance of Connection |
|
Output |
outputSettings()
Get the output |
|
Protocol |
protocolSettings()
Get the protocol |
|
Common |
provisioningState()
Get the provisioning |
|
Offset |
requestTime()
Get the request |
|
Connection |
source()
Get the source property: Source endpoint of the connection analyzer. |
|
Connection |
status()
Get the status property: Current execution status of the connection analyzer. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Connection |
withDestination(ConnectionAnalyzerEndpoint destination)
Set the destination property: Destination endpoint of the connection analyzer. |
|
Connection |
withDiagnosticOperations(List<DiagnosticOperation> diagnosticOperations)
Set the diagnostic |
|
Connection |
withDiagnosticOperationsSettings(DiagnosticOperationsSettings diagnosticOperationsSettings)
Set the diagnostic |
|
Connection |
withExpiryInDays(Integer expiryInDays)
Set the expiry |
|
Connection |
withOutputSettings(OutputSettings outputSettings)
Set the output |
|
Connection |
withProtocolSettings(ProtocolSettings protocolSettings)
Set the protocol |
|
Connection |
withSource(ConnectionAnalyzerEndpoint source)
Set the source property: Source endpoint of the connection analyzer. |
Methods inherited from java.lang.Object
Constructor Details
ConnectionAnalyzerProperties
public ConnectionAnalyzerProperties()
Creates an instance of ConnectionAnalyzerProperties class.
Method Details
destination
public ConnectionAnalyzerEndpoint destination()
Get the destination property: Destination endpoint of the connection analyzer.
Returns:
diagnosticOperations
public List<DiagnosticOperation> diagnosticOperations()
Get the diagnosticOperations property: List of diagnostic operations to run.
Returns:
diagnosticOperationsSettings
public DiagnosticOperationsSettings diagnosticOperationsSettings()
Get the diagnosticOperationsSettings property: Per-operation diagnostic settings.
Returns:
expiryInDays
public Integer expiryInDays()
Get the expiryInDays property: Time-to-live (days) before the analyzer expires.
Returns:
fromJson
public static ConnectionAnalyzerProperties fromJson(JsonReader jsonReader)
Reads an instance of ConnectionAnalyzerProperties from the JsonReader.
Parameters:
Returns:
Throws:
outputSettings
public OutputSettings outputSettings()
Get the outputSettings property: Output settings (e.g. storage account).
Returns:
protocolSettings
public ProtocolSettings protocolSettings()
Get the protocolSettings property: Protocol-level settings.
Returns:
provisioningState
public CommonProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the connection analyzer resource.
Returns:
requestTime
public OffsetDateTime requestTime()
Get the requestTime property: UTC time when the connection analyzer request was received.
Returns:
source
public ConnectionAnalyzerEndpoint source()
Get the source property: Source endpoint of the connection analyzer.
Returns:
status
public ConnectionAnalyzerStatus status()
Get the status property: Current execution status of the connection analyzer.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDestination
public ConnectionAnalyzerProperties withDestination(ConnectionAnalyzerEndpoint destination)
Set the destination property: Destination endpoint of the connection analyzer.
Parameters:
Returns:
withDiagnosticOperations
public ConnectionAnalyzerProperties withDiagnosticOperations(List<DiagnosticOperation> diagnosticOperations)
Set the diagnosticOperations property: List of diagnostic operations to run.
Parameters:
Returns:
withDiagnosticOperationsSettings
public ConnectionAnalyzerProperties withDiagnosticOperationsSettings(DiagnosticOperationsSettings diagnosticOperationsSettings)
Set the diagnosticOperationsSettings property: Per-operation diagnostic settings.
Parameters:
Returns:
withExpiryInDays
public ConnectionAnalyzerProperties withExpiryInDays(Integer expiryInDays)
Set the expiryInDays property: Time-to-live (days) before the analyzer expires.
Parameters:
Returns:
withOutputSettings
public ConnectionAnalyzerProperties withOutputSettings(OutputSettings outputSettings)
Set the outputSettings property: Output settings (e.g. storage account).
Parameters:
Returns:
withProtocolSettings
public ConnectionAnalyzerProperties withProtocolSettings(ProtocolSettings protocolSettings)
Set the protocolSettings property: Protocol-level settings.
Parameters:
Returns:
withSource
public ConnectionAnalyzerProperties withSource(ConnectionAnalyzerEndpoint source)
Set the source property: Source endpoint of the connection analyzer.
Parameters:
Returns: