98 строки
4.9 KiB
YAML
98 строки
4.9 KiB
YAML
### YamlMime:JavaType
|
|
inheritances:
|
|
- <xref href="java.lang.Object" data-throw-if-not-resolved="False"/>
|
|
methods:
|
|
- fullName: com.microsoft.azure.management.monitor.LogSettings.category()
|
|
name: category()
|
|
nameWithType: LogSettings.category()
|
|
returns:
|
|
description: <p>the category value </p>
|
|
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
|
|
summary: >-
|
|
<p>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.</p>
|
|
|
|
<p></p>
|
|
syntax: public String category()
|
|
uid: com.microsoft.azure.management.monitor.LogSettings.category()
|
|
- fullName: com.microsoft.azure.management.monitor.LogSettings.enabled()
|
|
name: enabled()
|
|
nameWithType: LogSettings.enabled()
|
|
returns:
|
|
description: <p>the enabled value </p>
|
|
type: <xref href="boolean?alt=boolean&text=boolean" data-throw-if-not-resolved="False"/>
|
|
summary: >-
|
|
<p>Get a value indicating whether this log is enabled.</p>
|
|
|
|
<p></p>
|
|
syntax: public boolean enabled()
|
|
uid: com.microsoft.azure.management.monitor.LogSettings.enabled()
|
|
- fullName: com.microsoft.azure.management.monitor.LogSettings.retentionPolicy()
|
|
name: retentionPolicy()
|
|
nameWithType: LogSettings.retentionPolicy()
|
|
returns:
|
|
description: <p>the retentionPolicy value </p>
|
|
type: <xref href="com.microsoft.azure.management.monitor.RetentionPolicy?alt=com.microsoft.azure.management.monitor.RetentionPolicy&text=RetentionPolicy" data-throw-if-not-resolved="False"/>
|
|
summary: >-
|
|
<p>Get the retention policy for this log.</p>
|
|
|
|
<p></p>
|
|
syntax: public RetentionPolicy retentionPolicy()
|
|
uid: com.microsoft.azure.management.monitor.LogSettings.retentionPolicy()
|
|
- fullName: com.microsoft.azure.management.monitor.LogSettings.withCategory(String category)
|
|
name: withCategory(String category)
|
|
nameWithType: LogSettings.withCategory(String category)
|
|
parameters:
|
|
- description: <p>the category value to set </p>
|
|
name: category
|
|
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
|
|
returns:
|
|
description: <p>the LogSettings object itself. </p>
|
|
type: <xref href="com.microsoft.azure.management.monitor.LogSettings?alt=com.microsoft.azure.management.monitor.LogSettings&text=LogSettings" data-throw-if-not-resolved="False"/>
|
|
summary: >-
|
|
<p>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.</p>
|
|
|
|
<p></p>
|
|
syntax: public LogSettings withCategory(String category)
|
|
uid: com.microsoft.azure.management.monitor.LogSettings.withCategory(String)
|
|
- fullName: com.microsoft.azure.management.monitor.LogSettings.withEnabled(boolean enabled)
|
|
name: withEnabled(boolean enabled)
|
|
nameWithType: LogSettings.withEnabled(boolean enabled)
|
|
parameters:
|
|
- description: <p>the enabled value to set </p>
|
|
name: enabled
|
|
type: <xref href="boolean?alt=boolean&text=boolean" data-throw-if-not-resolved="False"/>
|
|
returns:
|
|
description: <p>the LogSettings object itself. </p>
|
|
type: <xref href="com.microsoft.azure.management.monitor.LogSettings?alt=com.microsoft.azure.management.monitor.LogSettings&text=LogSettings" data-throw-if-not-resolved="False"/>
|
|
summary: >-
|
|
<p>Set a value indicating whether this log is enabled.</p>
|
|
|
|
<p></p>
|
|
syntax: public LogSettings withEnabled(boolean enabled)
|
|
uid: com.microsoft.azure.management.monitor.LogSettings.withEnabled(boolean)
|
|
- fullName: com.microsoft.azure.management.monitor.LogSettings.withRetentionPolicy(RetentionPolicy retentionPolicy)
|
|
name: withRetentionPolicy(RetentionPolicy retentionPolicy)
|
|
nameWithType: LogSettings.withRetentionPolicy(RetentionPolicy retentionPolicy)
|
|
parameters:
|
|
- description: <p>the retentionPolicy value to set </p>
|
|
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"/>
|
|
returns:
|
|
description: <p>the LogSettings object itself. </p>
|
|
type: <xref href="com.microsoft.azure.management.monitor.LogSettings?alt=com.microsoft.azure.management.monitor.LogSettings&text=LogSettings" data-throw-if-not-resolved="False"/>
|
|
summary: >-
|
|
<p>Set the retention policy for this log.</p>
|
|
|
|
<p></p>
|
|
syntax: public LogSettings withRetentionPolicy(RetentionPolicy retentionPolicy)
|
|
uid: com.microsoft.azure.management.monitor.LogSettings.withRetentionPolicy(RetentionPolicy)
|
|
nameWithType: LogSettings
|
|
syntax: public class LogSettings
|
|
type: class
|
|
uid: com.microsoft.azure.management.monitor.LogSettings
|
|
fullName: com.microsoft.azure.management.monitor.LogSettings
|
|
name: LogSettings
|
|
package: com.microsoft.azure.management.monitor
|
|
summary: <p>Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log. </p>
|
|
metadata: {}
|