azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.n...

222 строки
17 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.network.models.QosDefinition"
fullName: "com.azure.resourcemanager.network.models.QosDefinition"
name: "QosDefinition"
nameWithType: "QosDefinition"
summary: "Quality of Service defines the traffic configuration between endpoints."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **QosDefinition**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.network.models.QosDefinition?alt=com.azure.resourcemanager.network.models.QosDefinition&text=QosDefinition\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.network.models.QosDefinition.QosDefinition()"
fullName: "com.azure.resourcemanager.network.models.QosDefinition.QosDefinition()"
name: "QosDefinition()"
nameWithType: "QosDefinition.QosDefinition()"
summary: "Creates an instance of Qos<wbr>Definition class."
syntax: "public QosDefinition()"
desc: "Creates an instance of QosDefinition class."
methods:
- uid: "com.azure.resourcemanager.network.models.QosDefinition.destinationIpRanges()"
fullName: "com.azure.resourcemanager.network.models.QosDefinition.destinationIpRanges()"
name: "destinationIpRanges()"
nameWithType: "QosDefinition.destinationIpRanges()"
summary: "Get the destination<wbr>IpRanges property: Destination IP ranges."
syntax: "public List<QosIpRange> destinationIpRanges()"
desc: "Get the destinationIpRanges property: Destination IP ranges."
returns:
description: "the destinationIpRanges value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.network.models.QosIpRange?alt=com.azure.resourcemanager.network.models.QosIpRange&text=QosIpRange\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.network.models.QosDefinition.destinationPortRanges()"
fullName: "com.azure.resourcemanager.network.models.QosDefinition.destinationPortRanges()"
name: "destinationPortRanges()"
nameWithType: "QosDefinition.destinationPortRanges()"
summary: "Get the destination<wbr>Port<wbr>Ranges property: Destination port ranges."
syntax: "public List<QosPortRange> destinationPortRanges()"
desc: "Get the destinationPortRanges property: Destination port ranges."
returns:
description: "the destinationPortRanges value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.network.models.QosPortRange?alt=com.azure.resourcemanager.network.models.QosPortRange&text=QosPortRange\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.network.models.QosDefinition.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.network.models.QosDefinition.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "QosDefinition.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Qos<wbr>Definition from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static QosDefinition fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the QosDefinition."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of QosDefinition from the JsonReader."
returns:
description: "An instance of QosDefinition if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
type: "<xref href=\"com.azure.resourcemanager.network.models.QosDefinition?alt=com.azure.resourcemanager.network.models.QosDefinition&text=QosDefinition\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.QosDefinition.markings()"
fullName: "com.azure.resourcemanager.network.models.QosDefinition.markings()"
name: "markings()"
nameWithType: "QosDefinition.markings()"
summary: "Get the markings property: List of markings to be used in the configuration."
syntax: "public List<Integer> markings()"
desc: "Get the markings property: List of markings to be used in the configuration."
returns:
description: "the markings value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>&gt;"
- uid: "com.azure.resourcemanager.network.models.QosDefinition.protocol()"
fullName: "com.azure.resourcemanager.network.models.QosDefinition.protocol()"
name: "protocol()"
nameWithType: "QosDefinition.protocol()"
summary: "Get the protocol property: RNM supported protocol types."
syntax: "public ProtocolType protocol()"
desc: "Get the protocol property: RNM supported protocol types."
returns:
description: "the protocol value."
type: "<xref href=\"com.azure.resourcemanager.network.models.ProtocolType?alt=com.azure.resourcemanager.network.models.ProtocolType&text=ProtocolType\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.QosDefinition.sourceIpRanges()"
fullName: "com.azure.resourcemanager.network.models.QosDefinition.sourceIpRanges()"
name: "sourceIpRanges()"
nameWithType: "QosDefinition.sourceIpRanges()"
summary: "Get the source<wbr>IpRanges property: Source IP ranges."
syntax: "public List<QosIpRange> sourceIpRanges()"
desc: "Get the sourceIpRanges property: Source IP ranges."
returns:
description: "the sourceIpRanges value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.network.models.QosIpRange?alt=com.azure.resourcemanager.network.models.QosIpRange&text=QosIpRange\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.network.models.QosDefinition.sourcePortRanges()"
fullName: "com.azure.resourcemanager.network.models.QosDefinition.sourcePortRanges()"
name: "sourcePortRanges()"
nameWithType: "QosDefinition.sourcePortRanges()"
summary: "Get the source<wbr>Port<wbr>Ranges property: Sources port ranges."
syntax: "public List<QosPortRange> sourcePortRanges()"
desc: "Get the sourcePortRanges property: Sources port ranges."
returns:
description: "the sourcePortRanges value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.network.models.QosPortRange?alt=com.azure.resourcemanager.network.models.QosPortRange&text=QosPortRange\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.network.models.QosDefinition.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.network.models.QosDefinition.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "QosDefinition.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.QosDefinition.validate()"
fullName: "com.azure.resourcemanager.network.models.QosDefinition.validate()"
name: "validate()"
nameWithType: "QosDefinition.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.network.models.QosDefinition.withDestinationIpRanges(java.util.List<com.azure.resourcemanager.network.models.QosIpRange>)"
fullName: "com.azure.resourcemanager.network.models.QosDefinition.withDestinationIpRanges(List<QosIpRange> destinationIpRanges)"
name: "withDestinationIpRanges(List<QosIpRange> destinationIpRanges)"
nameWithType: "QosDefinition.withDestinationIpRanges(List<QosIpRange> destinationIpRanges)"
summary: "Set the destination<wbr>IpRanges property: Destination IP ranges."
parameters:
- description: "the destinationIpRanges value to set."
name: "destinationIpRanges"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.network.models.QosIpRange?alt=com.azure.resourcemanager.network.models.QosIpRange&text=QosIpRange\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public QosDefinition withDestinationIpRanges(List<QosIpRange> destinationIpRanges)"
desc: "Set the destinationIpRanges property: Destination IP ranges."
returns:
description: "the QosDefinition object itself."
type: "<xref href=\"com.azure.resourcemanager.network.models.QosDefinition?alt=com.azure.resourcemanager.network.models.QosDefinition&text=QosDefinition\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.QosDefinition.withDestinationPortRanges(java.util.List<com.azure.resourcemanager.network.models.QosPortRange>)"
fullName: "com.azure.resourcemanager.network.models.QosDefinition.withDestinationPortRanges(List<QosPortRange> destinationPortRanges)"
name: "withDestinationPortRanges(List<QosPortRange> destinationPortRanges)"
nameWithType: "QosDefinition.withDestinationPortRanges(List<QosPortRange> destinationPortRanges)"
summary: "Set the destination<wbr>Port<wbr>Ranges property: Destination port ranges."
parameters:
- description: "the destinationPortRanges value to set."
name: "destinationPortRanges"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.network.models.QosPortRange?alt=com.azure.resourcemanager.network.models.QosPortRange&text=QosPortRange\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public QosDefinition withDestinationPortRanges(List<QosPortRange> destinationPortRanges)"
desc: "Set the destinationPortRanges property: Destination port ranges."
returns:
description: "the QosDefinition object itself."
type: "<xref href=\"com.azure.resourcemanager.network.models.QosDefinition?alt=com.azure.resourcemanager.network.models.QosDefinition&text=QosDefinition\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.QosDefinition.withMarkings(java.util.List<java.lang.Integer>)"
fullName: "com.azure.resourcemanager.network.models.QosDefinition.withMarkings(List<Integer> markings)"
name: "withMarkings(List<Integer> markings)"
nameWithType: "QosDefinition.withMarkings(List<Integer> markings)"
summary: "Set the markings property: List of markings to be used in the configuration."
parameters:
- description: "the markings value to set."
name: "markings"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>&gt;"
syntax: "public QosDefinition withMarkings(List<Integer> markings)"
desc: "Set the markings property: List of markings to be used in the configuration."
returns:
description: "the QosDefinition object itself."
type: "<xref href=\"com.azure.resourcemanager.network.models.QosDefinition?alt=com.azure.resourcemanager.network.models.QosDefinition&text=QosDefinition\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.QosDefinition.withProtocol(com.azure.resourcemanager.network.models.ProtocolType)"
fullName: "com.azure.resourcemanager.network.models.QosDefinition.withProtocol(ProtocolType protocol)"
name: "withProtocol(ProtocolType protocol)"
nameWithType: "QosDefinition.withProtocol(ProtocolType protocol)"
summary: "Set the protocol property: RNM supported protocol types."
parameters:
- description: "the protocol value to set."
name: "protocol"
type: "<xref href=\"com.azure.resourcemanager.network.models.ProtocolType?alt=com.azure.resourcemanager.network.models.ProtocolType&text=ProtocolType\" data-throw-if-not-resolved=\"False\" />"
syntax: "public QosDefinition withProtocol(ProtocolType protocol)"
desc: "Set the protocol property: RNM supported protocol types."
returns:
description: "the QosDefinition object itself."
type: "<xref href=\"com.azure.resourcemanager.network.models.QosDefinition?alt=com.azure.resourcemanager.network.models.QosDefinition&text=QosDefinition\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.QosDefinition.withSourceIpRanges(java.util.List<com.azure.resourcemanager.network.models.QosIpRange>)"
fullName: "com.azure.resourcemanager.network.models.QosDefinition.withSourceIpRanges(List<QosIpRange> sourceIpRanges)"
name: "withSourceIpRanges(List<QosIpRange> sourceIpRanges)"
nameWithType: "QosDefinition.withSourceIpRanges(List<QosIpRange> sourceIpRanges)"
summary: "Set the source<wbr>IpRanges property: Source IP ranges."
parameters:
- description: "the sourceIpRanges value to set."
name: "sourceIpRanges"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.network.models.QosIpRange?alt=com.azure.resourcemanager.network.models.QosIpRange&text=QosIpRange\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public QosDefinition withSourceIpRanges(List<QosIpRange> sourceIpRanges)"
desc: "Set the sourceIpRanges property: Source IP ranges."
returns:
description: "the QosDefinition object itself."
type: "<xref href=\"com.azure.resourcemanager.network.models.QosDefinition?alt=com.azure.resourcemanager.network.models.QosDefinition&text=QosDefinition\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.QosDefinition.withSourcePortRanges(java.util.List<com.azure.resourcemanager.network.models.QosPortRange>)"
fullName: "com.azure.resourcemanager.network.models.QosDefinition.withSourcePortRanges(List<QosPortRange> sourcePortRanges)"
name: "withSourcePortRanges(List<QosPortRange> sourcePortRanges)"
nameWithType: "QosDefinition.withSourcePortRanges(List<QosPortRange> sourcePortRanges)"
summary: "Set the source<wbr>Port<wbr>Ranges property: Sources port ranges."
parameters:
- description: "the sourcePortRanges value to set."
name: "sourcePortRanges"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.network.models.QosPortRange?alt=com.azure.resourcemanager.network.models.QosPortRange&text=QosPortRange\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public QosDefinition withSourcePortRanges(List<QosPortRange> sourcePortRanges)"
desc: "Set the sourcePortRanges property: Sources port ranges."
returns:
description: "the QosDefinition object itself."
type: "<xref href=\"com.azure.resourcemanager.network.models.QosDefinition?alt=com.azure.resourcemanager.network.models.QosDefinition&text=QosDefinition\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Quality of Service defines the traffic configuration between endpoints. Mandatory to have one marking."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.network.models.QosDefinition?alt=com.azure.resourcemanager.network.models.QosDefinition&text=QosDefinition\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.network.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-network:2.44.0