Class LogAnalyticsConfiguration
java.lang.Object
com.azure.resourcemanager.appcontainers.models.LogAnalyticsConfiguration
Log analytics configuration.
-
Constructor Summary
ConstructorDescriptionCreates an instance of LogAnalyticsConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionGet the customerId property: Log analytics customer id.Get the sharedKey property: Log analytics customer key.void
validate()
Validates the instance.withCustomerId
(String customerId) Set the customerId property: Log analytics customer id.withSharedKey
(String sharedKey) Set the sharedKey property: Log analytics customer key.
-
Constructor Details
-
LogAnalyticsConfiguration
public LogAnalyticsConfiguration()Creates an instance of LogAnalyticsConfiguration class.
-
-
Method Details
-
customerId
Get the customerId property: Log analytics customer id.- Returns:
- the customerId value.
-
withCustomerId
Set the customerId property: Log analytics customer id.- Parameters:
customerId
- the customerId value to set.- Returns:
- the LogAnalyticsConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-