getSecurityRule

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

networkSecurityGroupName

Name of the network security group

resourceGroupName

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

securityRuleName

Name of the security rule.

See also


Return

Security Rule resource.

Parameters

argument

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

See also