Share via


NetworkSecurityGroups Interface

Implements

public interface NetworkSecurityGroups
extends SupportsCreating<Blank>, SupportsListing<NetworkSecurityGroup>, SupportsListingByResourceGroup<NetworkSecurityGroup>, SupportsGettingByResourceGroup<NetworkSecurityGroup>, SupportsGettingById<NetworkSecurityGroup>, SupportsDeletingById, SupportsDeletingByResourceGroup, SupportsBatchCreation<NetworkSecurityGroup>, SupportsBatchDeletion, HasManager<NetworkManager>

Entry point to network security group management.

Method Summary

Modifier and Type Method and Description
default NetworkSecurityGroup getByResourceGroup(String resourceGroupName, String name, Context context)

Gets the information about NetworkSecurityGroup based on the resource name and the name of its resource group.

Method Details

getByResourceGroup

public default NetworkSecurityGroup getByResourceGroup(String resourceGroupName, String name, Context context)

Gets the information about NetworkSecurityGroup based on the resource name and the name of its resource group.

Parameters:

resourceGroupName - the name of the resource group the resource is in
name - the name of the network security group. (Note, this is not the ID)
context - the Context of the request

Returns:

an immutable representation of the resource

Applies to