NetworkSecurityRule.UpdateDefinitionStages.WithProtocol<ParentT> Interface
Type Parameters
- ParentT
the stage of the parent definition to return to after attaching this definition
public static interface NetworkSecurityRule.UpdateDefinitionStages.WithProtocol
The stage of the security rule definition allowing the protocol that the rule applies to to be specified.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withAnyProtocol()
Makes this rule apply to any supported protocol. |
abstract
With |
withProtocol(SecurityRuleProtocol protocol)
Specifies the protocol that this rule applies to. |
Method Details
withAnyProtocol
public abstract NetworkSecurityRule.UpdateDefinitionStages.WithAttach
Makes this rule apply to any supported protocol.
Returns:
withProtocol
public abstract NetworkSecurityRule.UpdateDefinitionStages.WithAttach
Specifies the protocol that this rule applies to.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for