Class LocalDiagnosticsAccessConfiguration
java.lang.Object
com.azure.resourcemanager.mobilenetwork.models.LocalDiagnosticsAccessConfiguration
The kubernetes ingress configuration to control access to packet core diagnostics over local APIs.
-
Constructor Summary
ConstructorDescriptionCreates an instance of LocalDiagnosticsAccessConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionGet the authenticationType property: How to authenticate users who access local diagnostics APIs.Get the httpsServerCertificate property: The HTTPS server TLS certificate used to secure local access to diagnostics.void
validate()
Validates the instance.withAuthenticationType
(AuthenticationType authenticationType) Set the authenticationType property: How to authenticate users who access local diagnostics APIs.withHttpsServerCertificate
(HttpsServerCertificate httpsServerCertificate) Set the httpsServerCertificate property: The HTTPS server TLS certificate used to secure local access to diagnostics.
-
Constructor Details
-
LocalDiagnosticsAccessConfiguration
public LocalDiagnosticsAccessConfiguration()Creates an instance of LocalDiagnosticsAccessConfiguration class.
-
-
Method Details
-
authenticationType
Get the authenticationType property: How to authenticate users who access local diagnostics APIs.- Returns:
- the authenticationType value.
-
withAuthenticationType
public LocalDiagnosticsAccessConfiguration withAuthenticationType(AuthenticationType authenticationType) Set the authenticationType property: How to authenticate users who access local diagnostics APIs.- Parameters:
authenticationType
- the authenticationType value to set.- Returns:
- the LocalDiagnosticsAccessConfiguration object itself.
-
httpsServerCertificate
Get the httpsServerCertificate property: The HTTPS server TLS certificate used to secure local access to diagnostics.- Returns:
- the httpsServerCertificate value.
-
withHttpsServerCertificate
public LocalDiagnosticsAccessConfiguration withHttpsServerCertificate(HttpsServerCertificate httpsServerCertificate) Set the httpsServerCertificate property: The HTTPS server TLS certificate used to secure local access to diagnostics.- Parameters:
httpsServerCertificate
- the httpsServerCertificate value to set.- Returns:
- the LocalDiagnosticsAccessConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-