getSecurityRule

Gets the specified security rule. Uses Azure REST API version 2025-02-01-preview. Other available API versions: 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview, 2025-04-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native azurestackhci [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

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