174 строки
13 KiB
YAML
174 строки
13 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.monitor.models.LogSettings"
|
|
fullName: "com.azure.resourcemanager.monitor.models.LogSettings"
|
|
name: "LogSettings"
|
|
nameWithType: "LogSettings"
|
|
summary: "Part of Multi<wbr>Tenant<wbr>Diagnostic<wbr>Settings."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
methodsRef:
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
|
|
syntax: "public final class **LogSettings**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.monitor.models.LogSettings?alt=com.azure.resourcemanager.monitor.models.LogSettings&text=LogSettings\" data-throw-if-not-resolved=\"False\" />>"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.monitor.models.LogSettings.LogSettings()"
|
|
fullName: "com.azure.resourcemanager.monitor.models.LogSettings.LogSettings()"
|
|
name: "LogSettings()"
|
|
nameWithType: "LogSettings.LogSettings()"
|
|
summary: "Creates an instance of Log<wbr>Settings class."
|
|
syntax: "public LogSettings()"
|
|
desc: "Creates an instance of LogSettings class."
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.monitor.models.LogSettings.category()"
|
|
fullName: "com.azure.resourcemanager.monitor.models.LogSettings.category()"
|
|
name: "category()"
|
|
nameWithType: "LogSettings.category()"
|
|
summary: "Get the category property: Name of a Diagnostic Log category for a resource type this setting is applied to."
|
|
syntax: "public String category()"
|
|
desc: "Get the category property: Name of a Diagnostic Log category for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation."
|
|
returns:
|
|
description: "the category value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.monitor.models.LogSettings.categoryGroup()"
|
|
fullName: "com.azure.resourcemanager.monitor.models.LogSettings.categoryGroup()"
|
|
name: "categoryGroup()"
|
|
nameWithType: "LogSettings.categoryGroup()"
|
|
summary: "Get the category<wbr>Group property: Name of a Diagnostic Log category group for a resource type this setting is applied to."
|
|
syntax: "public String categoryGroup()"
|
|
desc: "Get the categoryGroup property: Name of a Diagnostic Log category group for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation."
|
|
returns:
|
|
description: "the categoryGroup value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.monitor.models.LogSettings.enabled()"
|
|
fullName: "com.azure.resourcemanager.monitor.models.LogSettings.enabled()"
|
|
name: "enabled()"
|
|
nameWithType: "LogSettings.enabled()"
|
|
summary: "Get the enabled property: a value indicating whether this log is enabled."
|
|
syntax: "public boolean enabled()"
|
|
desc: "Get the enabled property: a value indicating whether this log is enabled."
|
|
returns:
|
|
description: "the enabled value."
|
|
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.monitor.models.LogSettings.fromJson(com.azure.json.JsonReader)"
|
|
fullName: "com.azure.resourcemanager.monitor.models.LogSettings.fromJson(JsonReader jsonReader)"
|
|
name: "fromJson(JsonReader jsonReader)"
|
|
nameWithType: "LogSettings.fromJson(JsonReader jsonReader)"
|
|
summary: "Reads an instance of Log<wbr>Settings from the Json<wbr>Reader."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "The JsonReader being read."
|
|
name: "jsonReader"
|
|
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static LogSettings fromJson(JsonReader jsonReader)"
|
|
exceptions:
|
|
- description: "If the deserialized JSON object was missing any required properties."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
desc: "Reads an instance of LogSettings from the JsonReader."
|
|
returns:
|
|
description: "An instance of LogSettings if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
|
|
type: "<xref href=\"com.azure.resourcemanager.monitor.models.LogSettings?alt=com.azure.resourcemanager.monitor.models.LogSettings&text=LogSettings\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.monitor.models.LogSettings.retentionPolicy()"
|
|
fullName: "com.azure.resourcemanager.monitor.models.LogSettings.retentionPolicy()"
|
|
name: "retentionPolicy()"
|
|
nameWithType: "LogSettings.retentionPolicy()"
|
|
summary: "Get the retention<wbr>Policy property: the retention policy for this log."
|
|
syntax: "public RetentionPolicy retentionPolicy()"
|
|
desc: "Get the retentionPolicy property: the retention policy for this log."
|
|
returns:
|
|
description: "the retentionPolicy value."
|
|
type: "<xref href=\"com.azure.resourcemanager.monitor.models.RetentionPolicy?alt=com.azure.resourcemanager.monitor.models.RetentionPolicy&text=RetentionPolicy\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.monitor.models.LogSettings.toJson(com.azure.json.JsonWriter)"
|
|
fullName: "com.azure.resourcemanager.monitor.models.LogSettings.toJson(JsonWriter jsonWriter)"
|
|
name: "toJson(JsonWriter jsonWriter)"
|
|
nameWithType: "LogSettings.toJson(JsonWriter jsonWriter)"
|
|
parameters:
|
|
- name: "jsonWriter"
|
|
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
|
|
exceptions:
|
|
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
returns:
|
|
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.monitor.models.LogSettings.validate()"
|
|
fullName: "com.azure.resourcemanager.monitor.models.LogSettings.validate()"
|
|
name: "validate()"
|
|
nameWithType: "LogSettings.validate()"
|
|
summary: "Validates the instance."
|
|
syntax: "public void validate()"
|
|
desc: "Validates the instance."
|
|
- uid: "com.azure.resourcemanager.monitor.models.LogSettings.withCategory(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.monitor.models.LogSettings.withCategory(String category)"
|
|
name: "withCategory(String category)"
|
|
nameWithType: "LogSettings.withCategory(String category)"
|
|
summary: "Set the category property: Name of a Diagnostic Log category for a resource type this setting is applied to."
|
|
parameters:
|
|
- description: "the category value to set."
|
|
name: "category"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public LogSettings withCategory(String category)"
|
|
desc: "Set the category property: Name of a Diagnostic Log category for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation."
|
|
returns:
|
|
description: "the LogSettings object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.monitor.models.LogSettings?alt=com.azure.resourcemanager.monitor.models.LogSettings&text=LogSettings\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.monitor.models.LogSettings.withCategoryGroup(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.monitor.models.LogSettings.withCategoryGroup(String categoryGroup)"
|
|
name: "withCategoryGroup(String categoryGroup)"
|
|
nameWithType: "LogSettings.withCategoryGroup(String categoryGroup)"
|
|
summary: "Set the category<wbr>Group property: Name of a Diagnostic Log category group for a resource type this setting is applied to."
|
|
parameters:
|
|
- description: "the categoryGroup value to set."
|
|
name: "categoryGroup"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public LogSettings withCategoryGroup(String categoryGroup)"
|
|
desc: "Set the categoryGroup property: Name of a Diagnostic Log category group for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation."
|
|
returns:
|
|
description: "the LogSettings object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.monitor.models.LogSettings?alt=com.azure.resourcemanager.monitor.models.LogSettings&text=LogSettings\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.monitor.models.LogSettings.withEnabled(boolean)"
|
|
fullName: "com.azure.resourcemanager.monitor.models.LogSettings.withEnabled(boolean enabled)"
|
|
name: "withEnabled(boolean enabled)"
|
|
nameWithType: "LogSettings.withEnabled(boolean enabled)"
|
|
summary: "Set the enabled property: a value indicating whether this log is enabled."
|
|
parameters:
|
|
- description: "the enabled value to set."
|
|
name: "enabled"
|
|
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public LogSettings withEnabled(boolean enabled)"
|
|
desc: "Set the enabled property: a value indicating whether this log is enabled."
|
|
returns:
|
|
description: "the LogSettings object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.monitor.models.LogSettings?alt=com.azure.resourcemanager.monitor.models.LogSettings&text=LogSettings\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.monitor.models.LogSettings.withRetentionPolicy(com.azure.resourcemanager.monitor.models.RetentionPolicy)"
|
|
fullName: "com.azure.resourcemanager.monitor.models.LogSettings.withRetentionPolicy(RetentionPolicy retentionPolicy)"
|
|
name: "withRetentionPolicy(RetentionPolicy retentionPolicy)"
|
|
nameWithType: "LogSettings.withRetentionPolicy(RetentionPolicy retentionPolicy)"
|
|
summary: "Set the retention<wbr>Policy property: the retention policy for this log."
|
|
parameters:
|
|
- description: "the retentionPolicy value to set."
|
|
name: "retentionPolicy"
|
|
type: "<xref href=\"com.azure.resourcemanager.monitor.models.RetentionPolicy?alt=com.azure.resourcemanager.monitor.models.RetentionPolicy&text=RetentionPolicy\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public LogSettings withRetentionPolicy(RetentionPolicy retentionPolicy)"
|
|
desc: "Set the retentionPolicy property: the retention policy for this log."
|
|
returns:
|
|
description: "the LogSettings object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.monitor.models.LogSettings?alt=com.azure.resourcemanager.monitor.models.LogSettings&text=LogSettings\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log."
|
|
implements:
|
|
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.monitor.models.LogSettings?alt=com.azure.resourcemanager.monitor.models.LogSettings&text=LogSettings\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.monitor.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-monitor:2.44.0
|