LogAnalyticsConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. LogAnalyticsConfiguration
- com.
Implements
public final class LogAnalyticsConfiguration
implements JsonSerializable<LogAnalyticsConfiguration>
The LogAnalyticsConfiguration model.
Constructor Summary
Constructor | Description |
---|---|
LogAnalyticsConfiguration() |
Creates an instance of Log |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
customerId()
Get the customer |
static
Log |
fromJson(JsonReader jsonReader)
Reads an instance of Log |
String |
sharedKey()
Get the shared |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Log |
withCustomerId(String customerId)
Set the customer |
Log |
withSharedKey(String sharedKey)
Set the shared |
Methods inherited from java.lang.Object
Constructor Details
LogAnalyticsConfiguration
public LogAnalyticsConfiguration()
Creates an instance of LogAnalyticsConfiguration class.
Method Details
customerId
public String customerId()
Get the customerId property: The customerId property.
Returns:
fromJson
public static LogAnalyticsConfiguration fromJson(JsonReader jsonReader)
Reads an instance of LogAnalyticsConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
sharedKey
public String sharedKey()
Get the sharedKey property: The sharedKey property.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCustomerId
public LogAnalyticsConfiguration withCustomerId(String customerId)
Set the customerId property: The customerId property.
Parameters:
Returns:
withSharedKey
public LogAnalyticsConfiguration withSharedKey(String sharedKey)
Set the sharedKey property: The sharedKey property.
Parameters:
Returns:
Applies to
Azure SDK for Java