getNetworkSecurityGroup

Gets the specified network security group. Azure REST API version: 2023-02-01. Other available API versions: 2015-05-01-preview, 2016-03-30, 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01.

Return

NetworkSecurityGroup resource.

Parameters

argument

null


suspend fun getNetworkSecurityGroup(expand: String? = null, networkSecurityGroupName: String, resourceGroupName: String): GetNetworkSecurityGroupResult

Return

NetworkSecurityGroup resource.

See also

Parameters

expand

Expands referenced resources.

networkSecurityGroupName

The name of the network security group.

resourceGroupName

The name of the resource group.


Return

NetworkSecurityGroup resource.

See also

Parameters

argument

Builder for com.pulumi.azurenative.network.kotlin.inputs.GetNetworkSecurityGroupPlainArgs.