126 строки
6.4 KiB
YAML
126 строки
6.4 KiB
YAML
### YamlMime:JavaType
|
|
inheritances:
|
|
- <xref href="java.lang.Object" data-throw-if-not-resolved="False"/>
|
|
methods:
|
|
- fullName: com.microsoft.azure.management.monitor.MetricSettings.category()
|
|
name: category()
|
|
nameWithType: MetricSettings.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 Metric category for a resource type this setting is applied to. To obtain the list of Diagnostic metric categories for a resource, first perform a GET diagnostic settings operation.</p>
|
|
|
|
<p></p>
|
|
syntax: public String category()
|
|
uid: com.microsoft.azure.management.monitor.MetricSettings.category()
|
|
- fullName: com.microsoft.azure.management.monitor.MetricSettings.enabled()
|
|
name: enabled()
|
|
nameWithType: MetricSettings.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 category is enabled.</p>
|
|
|
|
<p></p>
|
|
syntax: public boolean enabled()
|
|
uid: com.microsoft.azure.management.monitor.MetricSettings.enabled()
|
|
- fullName: com.microsoft.azure.management.monitor.MetricSettings.retentionPolicy()
|
|
name: retentionPolicy()
|
|
nameWithType: MetricSettings.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 category.</p>
|
|
|
|
<p></p>
|
|
syntax: public RetentionPolicy retentionPolicy()
|
|
uid: com.microsoft.azure.management.monitor.MetricSettings.retentionPolicy()
|
|
- fullName: com.microsoft.azure.management.monitor.MetricSettings.timeGrain()
|
|
name: timeGrain()
|
|
nameWithType: MetricSettings.timeGrain()
|
|
returns:
|
|
description: <p>the timeGrain value </p>
|
|
type: <xref href="Period?alt=Period&text=Period" data-throw-if-not-resolved="False"/>
|
|
summary: >-
|
|
<p>Get the timegrain of the metric in ISO8601 format.</p>
|
|
|
|
<p></p>
|
|
syntax: public Period timeGrain()
|
|
uid: com.microsoft.azure.management.monitor.MetricSettings.timeGrain()
|
|
- fullName: com.microsoft.azure.management.monitor.MetricSettings.withCategory(String category)
|
|
name: withCategory(String category)
|
|
nameWithType: MetricSettings.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 MetricSettings object itself. </p>
|
|
type: <xref href="com.microsoft.azure.management.monitor.MetricSettings?alt=com.microsoft.azure.management.monitor.MetricSettings&text=MetricSettings" data-throw-if-not-resolved="False"/>
|
|
summary: >-
|
|
<p>Set name of a Diagnostic Metric category for a resource type this setting is applied to. To obtain the list of Diagnostic metric categories for a resource, first perform a GET diagnostic settings operation.</p>
|
|
|
|
<p></p>
|
|
syntax: public MetricSettings withCategory(String category)
|
|
uid: com.microsoft.azure.management.monitor.MetricSettings.withCategory(String)
|
|
- fullName: com.microsoft.azure.management.monitor.MetricSettings.withEnabled(boolean enabled)
|
|
name: withEnabled(boolean enabled)
|
|
nameWithType: MetricSettings.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 MetricSettings object itself. </p>
|
|
type: <xref href="com.microsoft.azure.management.monitor.MetricSettings?alt=com.microsoft.azure.management.monitor.MetricSettings&text=MetricSettings" data-throw-if-not-resolved="False"/>
|
|
summary: >-
|
|
<p>Set a value indicating whether this category is enabled.</p>
|
|
|
|
<p></p>
|
|
syntax: public MetricSettings withEnabled(boolean enabled)
|
|
uid: com.microsoft.azure.management.monitor.MetricSettings.withEnabled(boolean)
|
|
- fullName: com.microsoft.azure.management.monitor.MetricSettings.withRetentionPolicy(RetentionPolicy retentionPolicy)
|
|
name: withRetentionPolicy(RetentionPolicy retentionPolicy)
|
|
nameWithType: MetricSettings.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 MetricSettings object itself. </p>
|
|
type: <xref href="com.microsoft.azure.management.monitor.MetricSettings?alt=com.microsoft.azure.management.monitor.MetricSettings&text=MetricSettings" data-throw-if-not-resolved="False"/>
|
|
summary: >-
|
|
<p>Set the retention policy for this category.</p>
|
|
|
|
<p></p>
|
|
syntax: public MetricSettings withRetentionPolicy(RetentionPolicy retentionPolicy)
|
|
uid: com.microsoft.azure.management.monitor.MetricSettings.withRetentionPolicy(RetentionPolicy)
|
|
- fullName: com.microsoft.azure.management.monitor.MetricSettings.withTimeGrain(Period timeGrain)
|
|
name: withTimeGrain(Period timeGrain)
|
|
nameWithType: MetricSettings.withTimeGrain(Period timeGrain)
|
|
parameters:
|
|
- description: <p>the timeGrain value to set </p>
|
|
name: timeGrain
|
|
type: <xref href="Period?alt=Period&text=Period" data-throw-if-not-resolved="False"/>
|
|
returns:
|
|
description: <p>the MetricSettings object itself. </p>
|
|
type: <xref href="com.microsoft.azure.management.monitor.MetricSettings?alt=com.microsoft.azure.management.monitor.MetricSettings&text=MetricSettings" data-throw-if-not-resolved="False"/>
|
|
summary: >-
|
|
<p>Set the timegrain of the metric in ISO8601 format.</p>
|
|
|
|
<p></p>
|
|
syntax: public MetricSettings withTimeGrain(Period timeGrain)
|
|
uid: com.microsoft.azure.management.monitor.MetricSettings.withTimeGrain(Period)
|
|
nameWithType: MetricSettings
|
|
syntax: public class MetricSettings
|
|
type: class
|
|
uid: com.microsoft.azure.management.monitor.MetricSettings
|
|
fullName: com.microsoft.azure.management.monitor.MetricSettings
|
|
name: MetricSettings
|
|
package: com.microsoft.azure.management.monitor
|
|
summary: <p>Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular metric. </p>
|
|
metadata: {}
|