getSecurityRule

Get the specified network security rule. Uses Azure REST API version 2023-02-01. Other available API versions: 2019-06-01, 2022-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01.

Return

Network security rule.

Parameters

argument

null


suspend fun getSecurityRule(networkSecurityGroupName: String, resourceGroupName: String, securityRuleName: String): GetSecurityRuleResult

Return

Network security rule.

Parameters

networkSecurityGroupName

The name of the network security group.

resourceGroupName

The name of the resource group.

securityRuleName

The name of the security rule.

See also


Return

Network security rule.

Parameters

argument

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

See also