get Security Rule
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
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.
See also
suspend fun getSecurityRule(argument: suspend GetSecurityRulePlainArgsBuilder.() -> Unit): GetSecurityRuleResult
Return
Network security rule.
Parameters
argument
Builder for com.pulumi.azurenative.network.kotlin.inputs.GetSecurityRulePlainArgs.