你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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