azure-docs-sdk-java/legacy/docs-ref-autogen/com.microsoft.azure.managem...

108 строки
7.3 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.monitor.LogSettings"
fullName: "com.microsoft.azure.management.monitor.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: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"java.lang.Object.clone()?alt=java.lang.Object.clone&text=clone\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.equals(java.lang.Object)?alt=java.lang.Object.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.finalize()?alt=java.lang.Object.finalize&text=finalize\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.getClass()?alt=java.lang.Object.getClass&text=getClass\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.hashCode()?alt=java.lang.Object.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notify()?alt=java.lang.Object.notify&text=notify\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notifyAll()?alt=java.lang.Object.notifyAll&text=notifyAll\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.toString()?alt=java.lang.Object.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait()?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long,int)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
syntax: "public class **LogSettings**"
constructors:
- uid: "com.microsoft.azure.management.monitor.LogSettings.LogSettings()"
fullName: "com.microsoft.azure.management.monitor.LogSettings.LogSettings()"
name: "LogSettings()"
nameWithType: "LogSettings.LogSettings()"
syntax: "public LogSettings()"
methods:
- uid: "com.microsoft.azure.management.monitor.LogSettings.category()"
fullName: "com.microsoft.azure.management.monitor.LogSettings.category()"
name: "category()"
nameWithType: "LogSettings.category()"
summary: "Get name of a Diagnostic Log category for a resource type this setting is applied to."
syntax: "public String category()"
desc: "Get 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: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.LogSettings.enabled()"
fullName: "com.microsoft.azure.management.monitor.LogSettings.enabled()"
name: "enabled()"
nameWithType: "LogSettings.enabled()"
summary: "Get a value indicating whether this log is enabled."
syntax: "public boolean enabled()"
desc: "Get 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.microsoft.azure.management.monitor.LogSettings.retentionPolicy()"
fullName: "com.microsoft.azure.management.monitor.LogSettings.retentionPolicy()"
name: "retentionPolicy()"
nameWithType: "LogSettings.retentionPolicy()"
summary: "Get the retention policy for this log."
syntax: "public RetentionPolicy retentionPolicy()"
desc: "Get the retention policy for this log."
returns:
description: "the retentionPolicy value"
type: "<xref href=\"com.microsoft.azure.management.monitor.RetentionPolicy?alt=com.microsoft.azure.management.monitor.RetentionPolicy&text=RetentionPolicy\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.LogSettings.withCategory(java.lang.String)"
fullName: "com.microsoft.azure.management.monitor.LogSettings.withCategory(String category)"
name: "withCategory(String category)"
nameWithType: "LogSettings.withCategory(String category)"
summary: "Set 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: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public LogSettings withCategory(String category)"
desc: "Set 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.microsoft.azure.management.monitor.LogSettings?alt=com.microsoft.azure.management.monitor.LogSettings&text=LogSettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.LogSettings.withEnabled(boolean)"
fullName: "com.microsoft.azure.management.monitor.LogSettings.withEnabled(boolean enabled)"
name: "withEnabled(boolean enabled)"
nameWithType: "LogSettings.withEnabled(boolean enabled)"
summary: "Set 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 a value indicating whether this log is enabled."
returns:
description: "the LogSettings object itself."
type: "<xref href=\"com.microsoft.azure.management.monitor.LogSettings?alt=com.microsoft.azure.management.monitor.LogSettings&text=LogSettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.monitor.LogSettings.withRetentionPolicy(com.microsoft.azure.management.monitor.RetentionPolicy)"
fullName: "com.microsoft.azure.management.monitor.LogSettings.withRetentionPolicy(RetentionPolicy retentionPolicy)"
name: "withRetentionPolicy(RetentionPolicy retentionPolicy)"
nameWithType: "LogSettings.withRetentionPolicy(RetentionPolicy retentionPolicy)"
summary: "Set the retention policy for this log."
parameters:
- description: "the retentionPolicy value to set"
name: "retentionPolicy"
type: "<xref href=\"com.microsoft.azure.management.monitor.RetentionPolicy?alt=com.microsoft.azure.management.monitor.RetentionPolicy&text=RetentionPolicy\" data-throw-if-not-resolved=\"False\" />"
syntax: "public LogSettings withRetentionPolicy(RetentionPolicy retentionPolicy)"
desc: "Set the retention policy for this log."
returns:
description: "the LogSettings object itself."
type: "<xref href=\"com.microsoft.azure.management.monitor.LogSettings?alt=com.microsoft.azure.management.monitor.LogSettings&text=LogSettings\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log."
metadata: {}
package: "com.microsoft.azure.management.monitor"
artifact: com.microsoft.azure:azure-mgmt-monitor:1.41.4