132 строки
9.0 KiB
YAML
132 строки
9.0 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.microsoft.azure.management.monitor.MetricSettings"
|
|
fullName: "com.microsoft.azure.management.monitor.MetricSettings"
|
|
name: "MetricSettings"
|
|
nameWithType: "MetricSettings"
|
|
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 **MetricSettings**"
|
|
constructors:
|
|
- uid: "com.microsoft.azure.management.monitor.MetricSettings.MetricSettings()"
|
|
fullName: "com.microsoft.azure.management.monitor.MetricSettings.MetricSettings()"
|
|
name: "MetricSettings()"
|
|
nameWithType: "MetricSettings.MetricSettings()"
|
|
syntax: "public MetricSettings()"
|
|
methods:
|
|
- uid: "com.microsoft.azure.management.monitor.MetricSettings.category()"
|
|
fullName: "com.microsoft.azure.management.monitor.MetricSettings.category()"
|
|
name: "category()"
|
|
nameWithType: "MetricSettings.category()"
|
|
summary: "Get name of a Diagnostic Metric category for a resource type this setting is applied to."
|
|
syntax: "public String category()"
|
|
desc: "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."
|
|
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.MetricSettings.enabled()"
|
|
fullName: "com.microsoft.azure.management.monitor.MetricSettings.enabled()"
|
|
name: "enabled()"
|
|
nameWithType: "MetricSettings.enabled()"
|
|
summary: "Get a value indicating whether this category is enabled."
|
|
syntax: "public boolean enabled()"
|
|
desc: "Get a value indicating whether this category 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.MetricSettings.retentionPolicy()"
|
|
fullName: "com.microsoft.azure.management.monitor.MetricSettings.retentionPolicy()"
|
|
name: "retentionPolicy()"
|
|
nameWithType: "MetricSettings.retentionPolicy()"
|
|
summary: "Get the retention policy for this category."
|
|
syntax: "public RetentionPolicy retentionPolicy()"
|
|
desc: "Get the retention policy for this category."
|
|
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.MetricSettings.timeGrain()"
|
|
fullName: "com.microsoft.azure.management.monitor.MetricSettings.timeGrain()"
|
|
name: "timeGrain()"
|
|
nameWithType: "MetricSettings.timeGrain()"
|
|
summary: "Get the timegrain of the metric in ISO8601 format."
|
|
syntax: "public Period timeGrain()"
|
|
desc: "Get the timegrain of the metric in ISO8601 format."
|
|
returns:
|
|
description: "the timeGrain value"
|
|
type: "<xref href=\"org.joda.time.Period?alt=org.joda.time.Period&text=Period\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.monitor.MetricSettings.withCategory(java.lang.String)"
|
|
fullName: "com.microsoft.azure.management.monitor.MetricSettings.withCategory(String category)"
|
|
name: "withCategory(String category)"
|
|
nameWithType: "MetricSettings.withCategory(String category)"
|
|
summary: "Set name of a Diagnostic Metric 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 MetricSettings withCategory(String category)"
|
|
desc: "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."
|
|
returns:
|
|
description: "the MetricSettings object itself."
|
|
type: "<xref href=\"com.microsoft.azure.management.monitor.MetricSettings?alt=com.microsoft.azure.management.monitor.MetricSettings&text=MetricSettings\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.monitor.MetricSettings.withEnabled(boolean)"
|
|
fullName: "com.microsoft.azure.management.monitor.MetricSettings.withEnabled(boolean enabled)"
|
|
name: "withEnabled(boolean enabled)"
|
|
nameWithType: "MetricSettings.withEnabled(boolean enabled)"
|
|
summary: "Set a value indicating whether this category 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 MetricSettings withEnabled(boolean enabled)"
|
|
desc: "Set a value indicating whether this category is enabled."
|
|
returns:
|
|
description: "the MetricSettings object itself."
|
|
type: "<xref href=\"com.microsoft.azure.management.monitor.MetricSettings?alt=com.microsoft.azure.management.monitor.MetricSettings&text=MetricSettings\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.monitor.MetricSettings.withRetentionPolicy(com.microsoft.azure.management.monitor.RetentionPolicy)"
|
|
fullName: "com.microsoft.azure.management.monitor.MetricSettings.withRetentionPolicy(RetentionPolicy retentionPolicy)"
|
|
name: "withRetentionPolicy(RetentionPolicy retentionPolicy)"
|
|
nameWithType: "MetricSettings.withRetentionPolicy(RetentionPolicy retentionPolicy)"
|
|
summary: "Set the retention policy for this category."
|
|
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 MetricSettings withRetentionPolicy(RetentionPolicy retentionPolicy)"
|
|
desc: "Set the retention policy for this category."
|
|
returns:
|
|
description: "the MetricSettings object itself."
|
|
type: "<xref href=\"com.microsoft.azure.management.monitor.MetricSettings?alt=com.microsoft.azure.management.monitor.MetricSettings&text=MetricSettings\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.monitor.MetricSettings.withTimeGrain(org.joda.time.Period)"
|
|
fullName: "com.microsoft.azure.management.monitor.MetricSettings.withTimeGrain(Period timeGrain)"
|
|
name: "withTimeGrain(Period timeGrain)"
|
|
nameWithType: "MetricSettings.withTimeGrain(Period timeGrain)"
|
|
summary: "Set the timegrain of the metric in ISO8601 format."
|
|
parameters:
|
|
- description: "the timeGrain value to set"
|
|
name: "timeGrain"
|
|
type: "<xref href=\"org.joda.time.Period?alt=org.joda.time.Period&text=Period\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public MetricSettings withTimeGrain(Period timeGrain)"
|
|
desc: "Set the timegrain of the metric in ISO8601 format."
|
|
returns:
|
|
description: "the MetricSettings object itself."
|
|
type: "<xref href=\"com.microsoft.azure.management.monitor.MetricSettings?alt=com.microsoft.azure.management.monitor.MetricSettings&text=MetricSettings\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular metric."
|
|
metadata: {}
|
|
package: "com.microsoft.azure.management.monitor"
|
|
artifact: com.microsoft.azure:azure-mgmt-monitor:1.41.4
|