Subnet.UpdateStages.WithNetworkSecurityGroup Interface
public static interface Subnet.UpdateStages.WithNetworkSecurityGroup
The stage of the subnet update allowing to change the network security group to assign to the subnet.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Update |
withExistingNetworkSecurityGroup(NetworkSecurityGroup nsg)
Assigns an existing network security group to this subnet. |
abstract Update |
withExistingNetworkSecurityGroup(String resourceId)
Assigns an existing network security group to this subnet. |
abstract Update |
withoutNetworkSecurityGroup()
Removes the association of this subnet with any network security group. |
Method Details
withExistingNetworkSecurityGroup
public abstract Subnet.Update withExistingNetworkSecurityGroup(NetworkSecurityGroup nsg)
Assigns an existing network security group to this subnet.
Parameters:
Returns:
withExistingNetworkSecurityGroup
public abstract Subnet.Update withExistingNetworkSecurityGroup(String resourceId)
Assigns an existing network security group to this subnet.
Parameters:
Returns:
withoutNetworkSecurityGroup
public abstract Subnet.Update withoutNetworkSecurityGroup()
Removes the association of this subnet with any network security group.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor