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

84 строки
6.1 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.apimanagement.v2019_01_01.SamplingSettings"
fullName: "com.microsoft.azure.management.apimanagement.v2019_01_01.SamplingSettings"
name: "SamplingSettings"
nameWithType: "SamplingSettings"
summary: "Sampling settings for Diagnostic."
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 **SamplingSettings**"
constructors:
- uid: "com.microsoft.azure.management.apimanagement.v2019_01_01.SamplingSettings.SamplingSettings()"
fullName: "com.microsoft.azure.management.apimanagement.v2019_01_01.SamplingSettings.SamplingSettings()"
name: "SamplingSettings()"
nameWithType: "SamplingSettings.SamplingSettings()"
syntax: "public SamplingSettings()"
methods:
- uid: "com.microsoft.azure.management.apimanagement.v2019_01_01.SamplingSettings.percentage()"
fullName: "com.microsoft.azure.management.apimanagement.v2019_01_01.SamplingSettings.percentage()"
name: "percentage()"
nameWithType: "SamplingSettings.percentage()"
summary: "Get rate of sampling for fixed-rate sampling."
syntax: "public Double percentage()"
desc: "Get rate of sampling for fixed-rate sampling."
returns:
description: "the percentage value"
type: "<xref href=\"java.lang.Double?alt=java.lang.Double&text=Double\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.apimanagement.v2019_01_01.SamplingSettings.samplingType()"
fullName: "com.microsoft.azure.management.apimanagement.v2019_01_01.SamplingSettings.samplingType()"
name: "samplingType()"
nameWithType: "SamplingSettings.samplingType()"
summary: "Get sampling type."
syntax: "public SamplingType samplingType()"
desc: "Get sampling type. Possible values include: 'fixed'."
returns:
description: "the samplingType value"
type: "<xref href=\"com.microsoft.azure.management.apimanagement.v2019_01_01.SamplingType?alt=com.microsoft.azure.management.apimanagement.v2019_01_01.SamplingType&text=SamplingType\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.apimanagement.v2019_01_01.SamplingSettings.withPercentage(java.lang.Double)"
fullName: "com.microsoft.azure.management.apimanagement.v2019_01_01.SamplingSettings.withPercentage(Double percentage)"
name: "withPercentage(Double percentage)"
nameWithType: "SamplingSettings.withPercentage(Double percentage)"
summary: "Set rate of sampling for fixed-rate sampling."
parameters:
- description: "the percentage value to set"
name: "percentage"
type: "<xref href=\"java.lang.Double?alt=java.lang.Double&text=Double\" data-throw-if-not-resolved=\"False\" />"
syntax: "public SamplingSettings withPercentage(Double percentage)"
desc: "Set rate of sampling for fixed-rate sampling."
returns:
description: "the SamplingSettings object itself."
type: "<xref href=\"com.microsoft.azure.management.apimanagement.v2019_01_01.SamplingSettings?alt=com.microsoft.azure.management.apimanagement.v2019_01_01.SamplingSettings&text=SamplingSettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.apimanagement.v2019_01_01.SamplingSettings.withSamplingType(com.microsoft.azure.management.apimanagement.v2019_01_01.SamplingType)"
fullName: "com.microsoft.azure.management.apimanagement.v2019_01_01.SamplingSettings.withSamplingType(SamplingType samplingType)"
name: "withSamplingType(SamplingType samplingType)"
nameWithType: "SamplingSettings.withSamplingType(SamplingType samplingType)"
summary: "Set sampling type."
parameters:
- description: "the samplingType value to set"
name: "samplingType"
type: "<xref href=\"com.microsoft.azure.management.apimanagement.v2019_01_01.SamplingType?alt=com.microsoft.azure.management.apimanagement.v2019_01_01.SamplingType&text=SamplingType\" data-throw-if-not-resolved=\"False\" />"
syntax: "public SamplingSettings withSamplingType(SamplingType samplingType)"
desc: "Set sampling type. Possible values include: 'fixed'."
returns:
description: "the SamplingSettings object itself."
type: "<xref href=\"com.microsoft.azure.management.apimanagement.v2019_01_01.SamplingSettings?alt=com.microsoft.azure.management.apimanagement.v2019_01_01.SamplingSettings&text=SamplingSettings\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Sampling settings for Diagnostic."
metadata: {}
package: "com.microsoft.azure.management.apimanagement.v2019_01_01"
artifact: com.microsoft.azure.apimanagement.v2019_01_01:azure-mgmt-apimanagement:1.0.0-beta-1