NetworkSecurityRule.UpdateDefinitionStages.WithProtocol<ParentT> Interface
Type Parameters
- ParentT
the stage of the parent definition to return to after attaching this definition
public interface 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 |
---|---|
Network |
withAnyProtocol()
Makes this rule apply to any supported protocol. |
Network |
withProtocol(SecurityRuleProtocol protocol)
Specifies the protocol that this rule applies to. |
Method Details
withAnyProtocol
public WithAttach
Makes this rule apply to any supported protocol.
Returns:
withProtocol
public 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