get Security Rule
Get the specified network security rule. Azure REST API version: 2023-02-01. Other available API versions: 2017-03-01, 2019-06-01, 2022-07-01, 2023-04-01, 2023-05-01.
Return
Network security rule.
Parameters
argument
null
suspend fun getSecurityRule(networkSecurityGroupName: String, resourceGroupName: String, securityRuleName: String): GetSecurityRuleResult
Return
Network security rule.
See also
Parameters
network Security Group Name
The name of the network security group.
resource Group Name
The name of the resource group.
security Rule Name
The name of the security rule.
suspend fun getSecurityRule(argument: suspend GetSecurityRulePlainArgsBuilder.() -> Unit): GetSecurityRuleResult
Return
Network security rule.
See also
Parameters
argument
Builder for com.pulumi.azurenative.network.kotlin.inputs.GetSecurityRulePlainArgs.