get Security Rule
Gets the specified security rule. Uses Azure REST API version 2024-02-01-preview. Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview, 2025-02-01-preview, 2025-04-01-preview.
Return
Security Rule resource.
Parameters
argument
null
suspend fun getSecurityRule(networkSecurityGroupName: String, resourceGroupName: String, securityRuleName: String): GetSecurityRuleResult
Return
Security Rule resource.
Parameters
network Security Group Name
Name of the network security group
resource Group Name
The name of the resource group. The name is case insensitive.
security Rule Name
Name of the security rule.
See also
suspend fun getSecurityRule(argument: suspend GetSecurityRulePlainArgsBuilder.() -> Unit): GetSecurityRuleResult
Return
Security Rule resource.
Parameters
argument
Builder for com.pulumi.azurenative.azurestackhci.kotlin.inputs.GetSecurityRulePlainArgs.