NetworkSecurityRule.UpdateDefinitionStages.WithDestinationPort<ParentT> Interface
Type Parameters
- ParentT
the stage of the parent definition to return to after attaching this definition
public static interface NetworkSecurityRule.UpdateDefinitionStages.WithDestinationPort
The stage of the network rule definition allowing the destination port(s) to be specified.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
toAnyPort()
Makes this rule apply to any destination port. |
abstract
With |
toPort(int port)
Specifies the destination port to which this rule applies. |
abstract
With |
toPortRange(int from, int to)
Specifies the destination port range to which this rule applies. |
abstract
With |
toPortRanges(String[] ranges)
Specifies the destination port ranges to which this rule applies. |
Method Details
toAnyPort
public abstract NetworkSecurityRule.UpdateDefinitionStages.WithProtocol
Makes this rule apply to any destination port.
Returns:
toPort
public abstract NetworkSecurityRule.UpdateDefinitionStages.WithProtocol
Specifies the destination port to which this rule applies.
Parameters:
Returns:
toPortRange
public abstract NetworkSecurityRule.UpdateDefinitionStages.WithProtocol
Specifies the destination port range to which this rule applies.
Parameters:
Returns:
toPortRanges
public abstract NetworkSecurityRule.UpdateDefinitionStages.WithProtocol
Specifies the destination port ranges to which this rule applies.
Parameters:
Returns:
Applies to
Azure SDK for Java
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin