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

372 строки
25 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.network.MetricSpecification"
fullName: "com.microsoft.azure.management.network.MetricSpecification"
name: "MetricSpecification"
nameWithType: "MetricSpecification"
summary: "Description of metrics specification."
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 **MetricSpecification**"
constructors:
- uid: "com.microsoft.azure.management.network.MetricSpecification.MetricSpecification()"
fullName: "com.microsoft.azure.management.network.MetricSpecification.MetricSpecification()"
name: "MetricSpecification()"
nameWithType: "MetricSpecification.MetricSpecification()"
syntax: "public MetricSpecification()"
methods:
- uid: "com.microsoft.azure.management.network.MetricSpecification.aggregationType()"
fullName: "com.microsoft.azure.management.network.MetricSpecification.aggregationType()"
name: "aggregationType()"
nameWithType: "MetricSpecification.aggregationType()"
summary: "Get the aggregation type."
syntax: "public String aggregationType()"
desc: "Get the aggregation type."
returns:
description: "the aggregationType value"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.MetricSpecification.availabilities()"
fullName: "com.microsoft.azure.management.network.MetricSpecification.availabilities()"
name: "availabilities()"
nameWithType: "MetricSpecification.availabilities()"
summary: "Get list of availability."
syntax: "public List<Availability> availabilities()"
desc: "Get list of availability."
returns:
description: "the availabilities value"
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.network.Availability?alt=com.microsoft.azure.management.network.Availability&text=Availability\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.microsoft.azure.management.network.MetricSpecification.dimensions()"
fullName: "com.microsoft.azure.management.network.MetricSpecification.dimensions()"
name: "dimensions()"
nameWithType: "MetricSpecification.dimensions()"
summary: "Get list of dimensions."
syntax: "public List<Dimension> dimensions()"
desc: "Get list of dimensions."
returns:
description: "the dimensions value"
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.network.Dimension?alt=com.microsoft.azure.management.network.Dimension&text=Dimension\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.microsoft.azure.management.network.MetricSpecification.displayDescription()"
fullName: "com.microsoft.azure.management.network.MetricSpecification.displayDescription()"
name: "displayDescription()"
nameWithType: "MetricSpecification.displayDescription()"
summary: "Get the description of the metric."
syntax: "public String displayDescription()"
desc: "Get the description of the metric."
returns:
description: "the displayDescription value"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.MetricSpecification.displayName()"
fullName: "com.microsoft.azure.management.network.MetricSpecification.displayName()"
name: "displayName()"
nameWithType: "MetricSpecification.displayName()"
summary: "Get the display name of the metric."
syntax: "public String displayName()"
desc: "Get the display name of the metric."
returns:
description: "the displayName value"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.MetricSpecification.enableRegionalMdmAccount()"
fullName: "com.microsoft.azure.management.network.MetricSpecification.enableRegionalMdmAccount()"
name: "enableRegionalMdmAccount()"
nameWithType: "MetricSpecification.enableRegionalMdmAccount()"
summary: "Get whether regional MDM account enabled."
syntax: "public Boolean enableRegionalMdmAccount()"
desc: "Get whether regional MDM account enabled."
returns:
description: "the enableRegionalMdmAccount value"
type: "<xref href=\"java.lang.Boolean?alt=java.lang.Boolean&text=Boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.MetricSpecification.fillGapWithZero()"
fullName: "com.microsoft.azure.management.network.MetricSpecification.fillGapWithZero()"
name: "fillGapWithZero()"
nameWithType: "MetricSpecification.fillGapWithZero()"
summary: "Get whether gaps would be filled with zeros."
syntax: "public Boolean fillGapWithZero()"
desc: "Get whether gaps would be filled with zeros."
returns:
description: "the fillGapWithZero value"
type: "<xref href=\"java.lang.Boolean?alt=java.lang.Boolean&text=Boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.MetricSpecification.isInternal()"
fullName: "com.microsoft.azure.management.network.MetricSpecification.isInternal()"
name: "isInternal()"
nameWithType: "MetricSpecification.isInternal()"
summary: "Get whether the metric is internal."
syntax: "public Boolean isInternal()"
desc: "Get whether the metric is internal."
returns:
description: "the isInternal value"
type: "<xref href=\"java.lang.Boolean?alt=java.lang.Boolean&text=Boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.MetricSpecification.metricFilterPattern()"
fullName: "com.microsoft.azure.management.network.MetricSpecification.metricFilterPattern()"
name: "metricFilterPattern()"
nameWithType: "MetricSpecification.metricFilterPattern()"
summary: "Get pattern for the filter of the metric."
syntax: "public String metricFilterPattern()"
desc: "Get pattern for the filter of the metric."
returns:
description: "the metricFilterPattern value"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.MetricSpecification.name()"
fullName: "com.microsoft.azure.management.network.MetricSpecification.name()"
name: "name()"
nameWithType: "MetricSpecification.name()"
summary: "Get the name of the metric."
syntax: "public String name()"
desc: "Get the name of the metric."
returns:
description: "the name value"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.MetricSpecification.resourceIdDimensionNameOverride()"
fullName: "com.microsoft.azure.management.network.MetricSpecification.resourceIdDimensionNameOverride()"
name: "resourceIdDimensionNameOverride()"
nameWithType: "MetricSpecification.resourceIdDimensionNameOverride()"
summary: "Get the resource Id dimension name override."
syntax: "public String resourceIdDimensionNameOverride()"
desc: "Get the resource Id dimension name override."
returns:
description: "the resourceIdDimensionNameOverride value"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.MetricSpecification.sourceMdmAccount()"
fullName: "com.microsoft.azure.management.network.MetricSpecification.sourceMdmAccount()"
name: "sourceMdmAccount()"
nameWithType: "MetricSpecification.sourceMdmAccount()"
summary: "Get the source MDM account."
syntax: "public String sourceMdmAccount()"
desc: "Get the source MDM account."
returns:
description: "the sourceMdmAccount value"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.MetricSpecification.sourceMdmNamespace()"
fullName: "com.microsoft.azure.management.network.MetricSpecification.sourceMdmNamespace()"
name: "sourceMdmNamespace()"
nameWithType: "MetricSpecification.sourceMdmNamespace()"
summary: "Get the source MDM namespace."
syntax: "public String sourceMdmNamespace()"
desc: "Get the source MDM namespace."
returns:
description: "the sourceMdmNamespace value"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.MetricSpecification.unit()"
fullName: "com.microsoft.azure.management.network.MetricSpecification.unit()"
name: "unit()"
nameWithType: "MetricSpecification.unit()"
summary: "Get units the metric to be displayed in."
syntax: "public String unit()"
desc: "Get units the metric to be displayed in."
returns:
description: "the unit value"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.MetricSpecification.withAggregationType(java.lang.String)"
fullName: "com.microsoft.azure.management.network.MetricSpecification.withAggregationType(String aggregationType)"
name: "withAggregationType(String aggregationType)"
nameWithType: "MetricSpecification.withAggregationType(String aggregationType)"
summary: "Set the aggregation type."
parameters:
- description: "the aggregationType value to set"
name: "aggregationType"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public MetricSpecification withAggregationType(String aggregationType)"
desc: "Set the aggregation type."
returns:
description: "the MetricSpecification object itself."
type: "<xref href=\"com.microsoft.azure.management.network.MetricSpecification?alt=com.microsoft.azure.management.network.MetricSpecification&text=MetricSpecification\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.MetricSpecification.withAvailabilities(java.util.List<com.microsoft.azure.management.network.Availability>)"
fullName: "com.microsoft.azure.management.network.MetricSpecification.withAvailabilities(List<Availability> availabilities)"
name: "withAvailabilities(List<Availability> availabilities)"
nameWithType: "MetricSpecification.withAvailabilities(List<Availability> availabilities)"
summary: "Set list of availability."
parameters:
- description: "the availabilities value to set"
name: "availabilities"
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.network.Availability?alt=com.microsoft.azure.management.network.Availability&text=Availability\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public MetricSpecification withAvailabilities(List<Availability> availabilities)"
desc: "Set list of availability."
returns:
description: "the MetricSpecification object itself."
type: "<xref href=\"com.microsoft.azure.management.network.MetricSpecification?alt=com.microsoft.azure.management.network.MetricSpecification&text=MetricSpecification\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.MetricSpecification.withDimensions(java.util.List<com.microsoft.azure.management.network.Dimension>)"
fullName: "com.microsoft.azure.management.network.MetricSpecification.withDimensions(List<Dimension> dimensions)"
name: "withDimensions(List<Dimension> dimensions)"
nameWithType: "MetricSpecification.withDimensions(List<Dimension> dimensions)"
summary: "Set list of dimensions."
parameters:
- description: "the dimensions value to set"
name: "dimensions"
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.network.Dimension?alt=com.microsoft.azure.management.network.Dimension&text=Dimension\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public MetricSpecification withDimensions(List<Dimension> dimensions)"
desc: "Set list of dimensions."
returns:
description: "the MetricSpecification object itself."
type: "<xref href=\"com.microsoft.azure.management.network.MetricSpecification?alt=com.microsoft.azure.management.network.MetricSpecification&text=MetricSpecification\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.MetricSpecification.withDisplayDescription(java.lang.String)"
fullName: "com.microsoft.azure.management.network.MetricSpecification.withDisplayDescription(String displayDescription)"
name: "withDisplayDescription(String displayDescription)"
nameWithType: "MetricSpecification.withDisplayDescription(String displayDescription)"
summary: "Set the description of the metric."
parameters:
- description: "the displayDescription value to set"
name: "displayDescription"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public MetricSpecification withDisplayDescription(String displayDescription)"
desc: "Set the description of the metric."
returns:
description: "the MetricSpecification object itself."
type: "<xref href=\"com.microsoft.azure.management.network.MetricSpecification?alt=com.microsoft.azure.management.network.MetricSpecification&text=MetricSpecification\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.MetricSpecification.withDisplayName(java.lang.String)"
fullName: "com.microsoft.azure.management.network.MetricSpecification.withDisplayName(String displayName)"
name: "withDisplayName(String displayName)"
nameWithType: "MetricSpecification.withDisplayName(String displayName)"
summary: "Set the display name of the metric."
parameters:
- description: "the displayName value to set"
name: "displayName"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public MetricSpecification withDisplayName(String displayName)"
desc: "Set the display name of the metric."
returns:
description: "the MetricSpecification object itself."
type: "<xref href=\"com.microsoft.azure.management.network.MetricSpecification?alt=com.microsoft.azure.management.network.MetricSpecification&text=MetricSpecification\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.MetricSpecification.withEnableRegionalMdmAccount(java.lang.Boolean)"
fullName: "com.microsoft.azure.management.network.MetricSpecification.withEnableRegionalMdmAccount(Boolean enableRegionalMdmAccount)"
name: "withEnableRegionalMdmAccount(Boolean enableRegionalMdmAccount)"
nameWithType: "MetricSpecification.withEnableRegionalMdmAccount(Boolean enableRegionalMdmAccount)"
summary: "Set whether regional MDM account enabled."
parameters:
- description: "the enableRegionalMdmAccount value to set"
name: "enableRegionalMdmAccount"
type: "<xref href=\"java.lang.Boolean?alt=java.lang.Boolean&text=Boolean\" data-throw-if-not-resolved=\"False\" />"
syntax: "public MetricSpecification withEnableRegionalMdmAccount(Boolean enableRegionalMdmAccount)"
desc: "Set whether regional MDM account enabled."
returns:
description: "the MetricSpecification object itself."
type: "<xref href=\"com.microsoft.azure.management.network.MetricSpecification?alt=com.microsoft.azure.management.network.MetricSpecification&text=MetricSpecification\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.MetricSpecification.withFillGapWithZero(java.lang.Boolean)"
fullName: "com.microsoft.azure.management.network.MetricSpecification.withFillGapWithZero(Boolean fillGapWithZero)"
name: "withFillGapWithZero(Boolean fillGapWithZero)"
nameWithType: "MetricSpecification.withFillGapWithZero(Boolean fillGapWithZero)"
summary: "Set whether gaps would be filled with zeros."
parameters:
- description: "the fillGapWithZero value to set"
name: "fillGapWithZero"
type: "<xref href=\"java.lang.Boolean?alt=java.lang.Boolean&text=Boolean\" data-throw-if-not-resolved=\"False\" />"
syntax: "public MetricSpecification withFillGapWithZero(Boolean fillGapWithZero)"
desc: "Set whether gaps would be filled with zeros."
returns:
description: "the MetricSpecification object itself."
type: "<xref href=\"com.microsoft.azure.management.network.MetricSpecification?alt=com.microsoft.azure.management.network.MetricSpecification&text=MetricSpecification\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.MetricSpecification.withIsInternal(java.lang.Boolean)"
fullName: "com.microsoft.azure.management.network.MetricSpecification.withIsInternal(Boolean isInternal)"
name: "withIsInternal(Boolean isInternal)"
nameWithType: "MetricSpecification.withIsInternal(Boolean isInternal)"
summary: "Set whether the metric is internal."
parameters:
- description: "the isInternal value to set"
name: "isInternal"
type: "<xref href=\"java.lang.Boolean?alt=java.lang.Boolean&text=Boolean\" data-throw-if-not-resolved=\"False\" />"
syntax: "public MetricSpecification withIsInternal(Boolean isInternal)"
desc: "Set whether the metric is internal."
returns:
description: "the MetricSpecification object itself."
type: "<xref href=\"com.microsoft.azure.management.network.MetricSpecification?alt=com.microsoft.azure.management.network.MetricSpecification&text=MetricSpecification\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.MetricSpecification.withMetricFilterPattern(java.lang.String)"
fullName: "com.microsoft.azure.management.network.MetricSpecification.withMetricFilterPattern(String metricFilterPattern)"
name: "withMetricFilterPattern(String metricFilterPattern)"
nameWithType: "MetricSpecification.withMetricFilterPattern(String metricFilterPattern)"
summary: "Set pattern for the filter of the metric."
parameters:
- description: "the metricFilterPattern value to set"
name: "metricFilterPattern"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public MetricSpecification withMetricFilterPattern(String metricFilterPattern)"
desc: "Set pattern for the filter of the metric."
returns:
description: "the MetricSpecification object itself."
type: "<xref href=\"com.microsoft.azure.management.network.MetricSpecification?alt=com.microsoft.azure.management.network.MetricSpecification&text=MetricSpecification\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.MetricSpecification.withName(java.lang.String)"
fullName: "com.microsoft.azure.management.network.MetricSpecification.withName(String name)"
name: "withName(String name)"
nameWithType: "MetricSpecification.withName(String name)"
summary: "Set the name of the metric."
parameters:
- description: "the name value to set"
name: "name"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public MetricSpecification withName(String name)"
desc: "Set the name of the metric."
returns:
description: "the MetricSpecification object itself."
type: "<xref href=\"com.microsoft.azure.management.network.MetricSpecification?alt=com.microsoft.azure.management.network.MetricSpecification&text=MetricSpecification\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.MetricSpecification.withResourceIdDimensionNameOverride(java.lang.String)"
fullName: "com.microsoft.azure.management.network.MetricSpecification.withResourceIdDimensionNameOverride(String resourceIdDimensionNameOverride)"
name: "withResourceIdDimensionNameOverride(String resourceIdDimensionNameOverride)"
nameWithType: "MetricSpecification.withResourceIdDimensionNameOverride(String resourceIdDimensionNameOverride)"
summary: "Set the resource Id dimension name override."
parameters:
- description: "the resourceIdDimensionNameOverride value to set"
name: "resourceIdDimensionNameOverride"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public MetricSpecification withResourceIdDimensionNameOverride(String resourceIdDimensionNameOverride)"
desc: "Set the resource Id dimension name override."
returns:
description: "the MetricSpecification object itself."
type: "<xref href=\"com.microsoft.azure.management.network.MetricSpecification?alt=com.microsoft.azure.management.network.MetricSpecification&text=MetricSpecification\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.MetricSpecification.withSourceMdmAccount(java.lang.String)"
fullName: "com.microsoft.azure.management.network.MetricSpecification.withSourceMdmAccount(String sourceMdmAccount)"
name: "withSourceMdmAccount(String sourceMdmAccount)"
nameWithType: "MetricSpecification.withSourceMdmAccount(String sourceMdmAccount)"
summary: "Set the source MDM account."
parameters:
- description: "the sourceMdmAccount value to set"
name: "sourceMdmAccount"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public MetricSpecification withSourceMdmAccount(String sourceMdmAccount)"
desc: "Set the source MDM account."
returns:
description: "the MetricSpecification object itself."
type: "<xref href=\"com.microsoft.azure.management.network.MetricSpecification?alt=com.microsoft.azure.management.network.MetricSpecification&text=MetricSpecification\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.MetricSpecification.withSourceMdmNamespace(java.lang.String)"
fullName: "com.microsoft.azure.management.network.MetricSpecification.withSourceMdmNamespace(String sourceMdmNamespace)"
name: "withSourceMdmNamespace(String sourceMdmNamespace)"
nameWithType: "MetricSpecification.withSourceMdmNamespace(String sourceMdmNamespace)"
summary: "Set the source MDM namespace."
parameters:
- description: "the sourceMdmNamespace value to set"
name: "sourceMdmNamespace"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public MetricSpecification withSourceMdmNamespace(String sourceMdmNamespace)"
desc: "Set the source MDM namespace."
returns:
description: "the MetricSpecification object itself."
type: "<xref href=\"com.microsoft.azure.management.network.MetricSpecification?alt=com.microsoft.azure.management.network.MetricSpecification&text=MetricSpecification\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.MetricSpecification.withUnit(java.lang.String)"
fullName: "com.microsoft.azure.management.network.MetricSpecification.withUnit(String unit)"
name: "withUnit(String unit)"
nameWithType: "MetricSpecification.withUnit(String unit)"
summary: "Set units the metric to be displayed in."
parameters:
- description: "the unit value to set"
name: "unit"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public MetricSpecification withUnit(String unit)"
desc: "Set units the metric to be displayed in."
returns:
description: "the MetricSpecification object itself."
type: "<xref href=\"com.microsoft.azure.management.network.MetricSpecification?alt=com.microsoft.azure.management.network.MetricSpecification&text=MetricSpecification\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Description of metrics specification."
metadata: {}
package: "com.microsoft.azure.management.network"
artifact: com.microsoft.azure:azure-mgmt-network:1.41.4