DscpConfigurationInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. network. fluent. models. DscpConfigurationInner
- com.
- com.
- com.
public final class DscpConfigurationInner
extends Resource
Differentiated Services Code Point configuration for any given network interface.
Constructor Summary
| Constructor | Description |
|---|---|
| DscpConfigurationInner() |
Creates an instance of Dscp |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Network |
associatedNetworkInterfaces()
Get the associated |
|
List<Qos |
destinationIpRanges()
Get the destination |
|
List<Qos |
destinationPortRanges()
Get the destination |
| String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
|
static
Dscp |
fromJson(JsonReader jsonReader)
Reads an instance of Dscp |
| String |
id()
Get the id property: Resource ID. |
| List<Integer> |
markings()
Get the markings property: List of markings to be used in the configuration. |
| String |
name()
Get the name property: The name of the resource. |
|
Protocol |
protocol()
Get the protocol property: RNM supported protocol types. |
|
Provisioning |
provisioningState()
Get the provisioning |
| String |
qosCollectionId()
Get the qos |
|
List<Qos |
qosDefinitionCollection()
Get the qos |
| String |
resourceGuid()
Get the resource |
|
List<Qos |
sourceIpRanges()
Get the source |
|
List<Qos |
sourcePortRanges()
Get the source |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Dscp |
withDestinationIpRanges(List<QosIpRange> destinationIpRanges)
Set the destination |
|
Dscp |
withDestinationPortRanges(List<QosPortRange> destinationPortRanges)
Set the destination |
|
Dscp |
withId(String id)
Set the id property: Resource ID. |
|
Dscp |
withLocation(String location) |
|
Dscp |
withMarkings(List<Integer> markings)
Set the markings property: List of markings to be used in the configuration. |
|
Dscp |
withProtocol(ProtocolType protocol)
Set the protocol property: RNM supported protocol types. |
|
Dscp |
withQosDefinitionCollection(List<QosDefinition> qosDefinitionCollection)
Set the qos |
|
Dscp |
withSourceIpRanges(List<QosIpRange> sourceIpRanges)
Set the source |
|
Dscp |
withSourcePortRanges(List<QosPortRange> sourcePortRanges)
Set the source |
|
Dscp |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
DscpConfigurationInner
public DscpConfigurationInner()
Creates an instance of DscpConfigurationInner class.
Method Details
associatedNetworkInterfaces
public List<NetworkInterfaceInner> associatedNetworkInterfaces()
Get the associatedNetworkInterfaces property: Associated Network Interfaces to the DSCP Configuration.
Returns:
destinationIpRanges
public List<QosIpRange> destinationIpRanges()
Get the destinationIpRanges property: Destination IP ranges.
Returns:
destinationPortRanges
public List<QosPortRange> destinationPortRanges()
Get the destinationPortRanges property: Destination port ranges.
Returns:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static DscpConfigurationInner fromJson(JsonReader jsonReader)
Reads an instance of DscpConfigurationInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource ID.
Overrides:
DscpConfigurationInner.id()Returns:
markings
public List<Integer> markings()
Get the markings property: List of markings to be used in the configuration.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
DscpConfigurationInner.name()Returns:
protocol
public ProtocolType protocol()
Get the protocol property: RNM supported protocol types.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the DSCP Configuration resource.
Returns:
qosCollectionId
public String qosCollectionId()
Get the qosCollectionId property: Qos Collection ID generated by RNM.
Returns:
qosDefinitionCollection
public List<QosDefinition> qosDefinitionCollection()
Get the qosDefinitionCollection property: QoS object definitions.
Returns:
resourceGuid
public String resourceGuid()
Get the resourceGuid property: The resource GUID property of the DSCP Configuration resource.
Returns:
sourceIpRanges
public List<QosIpRange> sourceIpRanges()
Get the sourceIpRanges property: Source IP ranges.
Returns:
sourcePortRanges
public List<QosPortRange> sourcePortRanges()
Get the sourcePortRanges property: Sources port ranges.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DscpConfigurationInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
DscpConfigurationInner.type()Returns:
validate
public void validate()
Validates the instance.
withDestinationIpRanges
public DscpConfigurationInner withDestinationIpRanges(List<QosIpRange> destinationIpRanges)
Set the destinationIpRanges property: Destination IP ranges.
Parameters:
Returns:
withDestinationPortRanges
public DscpConfigurationInner withDestinationPortRanges(List<QosPortRange> destinationPortRanges)
Set the destinationPortRanges property: Destination port ranges.
Parameters:
Returns:
withId
public DscpConfigurationInner withId(String id)
Set the id property: Resource ID.
Parameters:
Returns:
withLocation
public DscpConfigurationInner withLocation(String location)
Overrides:
DscpConfigurationInner.withLocation(String location)Parameters:
withMarkings
public DscpConfigurationInner withMarkings(List<Integer> markings)
Set the markings property: List of markings to be used in the configuration.
Parameters:
Returns:
withProtocol
public DscpConfigurationInner withProtocol(ProtocolType protocol)
Set the protocol property: RNM supported protocol types.
Parameters:
Returns:
withQosDefinitionCollection
public DscpConfigurationInner withQosDefinitionCollection(List<QosDefinition> qosDefinitionCollection)
Set the qosDefinitionCollection property: QoS object definitions.
Parameters:
Returns:
withSourceIpRanges
public DscpConfigurationInner withSourceIpRanges(List<QosIpRange> sourceIpRanges)
Set the sourceIpRanges property: Source IP ranges.
Parameters:
Returns:
withSourcePortRanges
public DscpConfigurationInner withSourcePortRanges(List<QosPortRange> sourcePortRanges)
Set the sourcePortRanges property: Sources port ranges.
Parameters:
Returns:
withTags
public DscpConfigurationInner withTags(Map<String,String> tags)
Overrides:
DscpConfigurationInner.withTags(Map<String,String> tags)Parameters: