getNetworkSecurityGroup

Gets the specified network security group. Uses Azure REST API version 2025-02-01-preview. Other available API versions: 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview, 2025-04-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native azurestackhci [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Return

NetworkSecurityGroup resource.

Parameters

argument

null


suspend fun getNetworkSecurityGroup(networkSecurityGroupName: String, resourceGroupName: String): GetNetworkSecurityGroupResult

Return

NetworkSecurityGroup resource.

Parameters

networkSecurityGroupName

Name of the network security group

resourceGroupName

The name of the resource group. The name is case insensitive.

See also


Return

NetworkSecurityGroup resource.

Parameters

argument

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

See also