Security Rule resource.
Uses Azure REST API version 2025-02-01-preview. In version 2.x of the Azure Native provider, it used API version 2024-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, 2025-06-01-preview, 2025-09-01-preview, 2026-02-01-preview, 2026-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 for details.
Example Usage
SecurityRulesCreateOrUpdate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var securityRule = new AzureNative.AzureStackHCI.SecurityRule("securityRule", new()
{
Access = AzureNative.AzureStackHCI.SecurityRuleAccess.Allow,
DestinationAddressPrefixes = new[]
{
"*",
},
DestinationPortRanges = new[]
{
"80",
},
Direction = AzureNative.AzureStackHCI.SecurityRuleDirection.Inbound,
ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs
{
Name = "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
Type = AzureNative.AzureStackHCI.ExtendedLocationTypes.CustomLocation,
},
NetworkSecurityGroupName = "testnsg",
Priority = 130,
Protocol = AzureNative.AzureStackHCI.SecurityRuleProtocol.Asterisk,
ResourceGroupName = "testrg",
SecurityRuleName = "rule1",
SourceAddressPrefixes = new[]
{
"*",
},
SourcePortRanges = new[]
{
"*",
},
});
});
package main
import (
azurestackhci "github.com/pulumi/pulumi-azure-native-sdk/azurestackhci/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := azurestackhci.NewSecurityRule(ctx, "securityRule", &azurestackhci.SecurityRuleArgs{
Access: pulumi.String(azurestackhci.SecurityRuleAccessAllow),
DestinationAddressPrefixes: pulumi.StringArray{
pulumi.String("*"),
},
DestinationPortRanges: pulumi.StringArray{
pulumi.String("80"),
},
Direction: pulumi.String(azurestackhci.SecurityRuleDirectionInbound),
ExtendedLocation: &azurestackhci.ExtendedLocationArgs{
Name: pulumi.String("/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"),
Type: pulumi.String(azurestackhci.ExtendedLocationTypesCustomLocation),
},
NetworkSecurityGroupName: pulumi.String("testnsg"),
Priority: pulumi.Int(130),
Protocol: pulumi.String(azurestackhci.SecurityRuleProtocolAsterisk),
ResourceGroupName: pulumi.String("testrg"),
SecurityRuleName: pulumi.String("rule1"),
SourceAddressPrefixes: pulumi.StringArray{
pulumi.String("*"),
},
SourcePortRanges: pulumi.StringArray{
pulumi.String("*"),
},
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_azurestackhci_security_rule" "securityRule" {
lifecycle {
create_before_destroy = true
}
access = "Allow"
destination_address_prefixes = ["*"]
destination_port_ranges = ["80"]
direction = "Inbound"
extended_location = {
name = "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"
type = "CustomLocation"
}
network_security_group_name = "testnsg"
priority = 130
protocol = "*"
resource_group_name = "testrg"
security_rule_name = "rule1"
source_address_prefixes = ["*"]
source_port_ranges = ["*"]
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.azurestackhci.SecurityRule;
import com.pulumi.azurenative.azurestackhci.SecurityRuleArgs;
import com.pulumi.azurenative.azurestackhci.inputs.ExtendedLocationArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var securityRule = new SecurityRule("securityRule", SecurityRuleArgs.builder()
.access("Allow")
.destinationAddressPrefixes("*")
.destinationPortRanges("80")
.direction("Inbound")
.extendedLocation(ExtendedLocationArgs.builder()
.name("/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location")
.type("CustomLocation")
.build())
.networkSecurityGroupName("testnsg")
.priority(130)
.protocol("*")
.resourceGroupName("testrg")
.securityRuleName("rule1")
.sourceAddressPrefixes("*")
.sourcePortRanges("*")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const securityRule = new azure_native.azurestackhci.SecurityRule("securityRule", {
access: azure_native.azurestackhci.SecurityRuleAccess.Allow,
destinationAddressPrefixes: ["*"],
destinationPortRanges: ["80"],
direction: azure_native.azurestackhci.SecurityRuleDirection.Inbound,
extendedLocation: {
name: "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
type: azure_native.azurestackhci.ExtendedLocationTypes.CustomLocation,
},
networkSecurityGroupName: "testnsg",
priority: 130,
protocol: azure_native.azurestackhci.SecurityRuleProtocol.Asterisk,
resourceGroupName: "testrg",
securityRuleName: "rule1",
sourceAddressPrefixes: ["*"],
sourcePortRanges: ["*"],
});
import pulumi
import pulumi_azure_native as azure_native
security_rule = azure_native.azurestackhci.SecurityRule("securityRule",
access=azure_native.azurestackhci.SecurityRuleAccess.ALLOW,
destination_address_prefixes=["*"],
destination_port_ranges=["80"],
direction=azure_native.azurestackhci.SecurityRuleDirection.INBOUND,
extended_location={
"name": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
"type": azure_native.azurestackhci.ExtendedLocationTypes.CUSTOM_LOCATION,
},
network_security_group_name="testnsg",
priority=130,
protocol=azure_native.azurestackhci.SecurityRuleProtocol.ASTERISK,
resource_group_name="testrg",
security_rule_name="rule1",
source_address_prefixes=["*"],
source_port_ranges=["*"])
resources:
securityRule:
type: azure-native:azurestackhci:SecurityRule
properties:
access: Allow
destinationAddressPrefixes:
- '*'
destinationPortRanges:
- '80'
direction: Inbound
extendedLocation:
name: /subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location
type: CustomLocation
networkSecurityGroupName: testnsg
priority: 130
protocol: '*'
resourceGroupName: testrg
securityRuleName: rule1
sourceAddressPrefixes:
- '*'
sourcePortRanges:
- '*'
Create SecurityRule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
@overload
def SecurityRule(resource_name: str,
args: SecurityRuleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SecurityRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
direction: Optional[Union[str, SecurityRuleDirection]] = None,
network_security_group_name: Optional[str] = None,
priority: Optional[int] = None,
protocol: Optional[Union[str, SecurityRuleProtocol]] = None,
access: Optional[Union[str, SecurityRuleAccess]] = None,
description: Optional[str] = None,
destination_address_prefixes: Optional[Sequence[str]] = None,
destination_port_ranges: Optional[Sequence[str]] = None,
extended_location: Optional[ExtendedLocationArgs] = None,
security_rule_name: Optional[str] = None,
source_address_prefixes: Optional[Sequence[str]] = None,
source_port_ranges: Optional[Sequence[str]] = None)
type: azure-native:azurestackhci:SecurityRule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "azure-native_azurestackhci_security_rule" "name" {
# resource properties
}
Parameters
- resource_name
str
- The unique name of the resource.
- args
SecurityRuleArgs
- The arguments to resource properties.
- opts
ResourceOptions
- Bag of options to control resource's behavior.
- ctx
Context
- Context object for the current deployment.
- name
string
- The unique name of the resource.
- args
SecurityRuleArgs
- The arguments to resource properties.
- opts
ResourceOption
- Bag of options to control resource's behavior.
- name
String
- The unique name of the resource.
- args
SecurityRuleArgs
- The arguments to resource properties.
- options
CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var securityRuleResource = new AzureNative.AzureStackHCI.SecurityRule("securityRuleResource", new()
{
ResourceGroupName = "string",
Direction = "string",
NetworkSecurityGroupName = "string",
Priority = 0,
Protocol = "string",
Access = "string",
Description = "string",
DestinationAddressPrefixes = new[]
{
"string",
},
DestinationPortRanges = new[]
{
"string",
},
ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs
{
Name = "string",
Type = "string",
},
SecurityRuleName = "string",
SourceAddressPrefixes = new[]
{
"string",
},
SourcePortRanges = new[]
{
"string",
},
});
example, err := azurestackhci.NewSecurityRule(ctx, "securityRuleResource", &azurestackhci.SecurityRuleArgs{
ResourceGroupName: pulumi.String("string"),
Direction: pulumi.String("string"),
NetworkSecurityGroupName: pulumi.String("string"),
Priority: pulumi.Int(0),
Protocol: pulumi.String("string"),
Access: pulumi.String("string"),
Description: pulumi.String("string"),
DestinationAddressPrefixes: pulumi.StringArray{
pulumi.String("string"),
},
DestinationPortRanges: pulumi.StringArray{
pulumi.String("string"),
},
ExtendedLocation: &azurestackhci.ExtendedLocationArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
},
SecurityRuleName: pulumi.String("string"),
SourceAddressPrefixes: pulumi.StringArray{
pulumi.String("string"),
},
SourcePortRanges: pulumi.StringArray{
pulumi.String("string"),
},
})
resource "azure-native_azurestackhci_security_rule" "securityRuleResource" {
lifecycle {
create_before_destroy = true
}
resource_group_name = "string"
direction = "string"
network_security_group_name = "string"
priority = 0
protocol = "string"
access = "string"
description = "string"
destination_address_prefixes = ["string"]
destination_port_ranges = ["string"]
extended_location = {
name = "string"
type = "string"
}
security_rule_name = "string"
source_address_prefixes = ["string"]
source_port_ranges = ["string"]
}
var securityRuleResource = new com.pulumi.azurenative.azurestackhci.SecurityRule("securityRuleResource", com.pulumi.azurenative.azurestackhci.SecurityRuleArgs.builder()
.resourceGroupName("string")
.direction("string")
.networkSecurityGroupName("string")
.priority(0)
.protocol("string")
.access("string")
.description("string")
.destinationAddressPrefixes("string")
.destinationPortRanges("string")
.extendedLocation(com.pulumi.azurenative.azurestackhci.inputs.ExtendedLocationArgs.builder()
.name("string")
.type("string")
.build())
.securityRuleName("string")
.sourceAddressPrefixes("string")
.sourcePortRanges("string")
.build());
security_rule_resource = azure_native.azurestackhci.SecurityRule("securityRuleResource",
resource_group_name="string",
direction="string",
network_security_group_name="string",
priority=0,
protocol="string",
access="string",
description="string",
destination_address_prefixes=["string"],
destination_port_ranges=["string"],
extended_location={
"name": "string",
"type": "string",
},
security_rule_name="string",
source_address_prefixes=["string"],
source_port_ranges=["string"])
const securityRuleResource = new azure_native.azurestackhci.SecurityRule("securityRuleResource", {
resourceGroupName: "string",
direction: "string",
networkSecurityGroupName: "string",
priority: 0,
protocol: "string",
access: "string",
description: "string",
destinationAddressPrefixes: ["string"],
destinationPortRanges: ["string"],
extendedLocation: {
name: "string",
type: "string",
},
securityRuleName: "string",
sourceAddressPrefixes: ["string"],
sourcePortRanges: ["string"],
});
type: azure-native:azurestackhci:SecurityRule
properties:
access: string
description: string
destinationAddressPrefixes:
- string
destinationPortRanges:
- string
direction: string
extendedLocation:
name: string
type: string
networkSecurityGroupName: string
priority: 0
protocol: string
resourceGroupName: string
securityRuleName: string
sourceAddressPrefixes:
- string
sourcePortRanges:
- string
SecurityRule Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SecurityRule resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the SecurityRule resource produces the following output properties:
- AzureApiVersion
string
- The Azure API version of the resource.
- Id
string
- The provider-assigned unique ID for this managed resource.
- Name
string
- The name of the resource
- ProvisioningState
string
- Provisioning state of the SR
- SystemData
SystemDataResponse
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type
string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure_api_version
string
- The Azure API version of the resource.
- id
string
- The provider-assigned unique ID for this managed resource.
- name
string
- The name of the resource
- provisioning_state
string
- Provisioning state of the SR
- system_data
object
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type
string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azureApiVersion
String
- The Azure API version of the resource.
- id
String
- The provider-assigned unique ID for this managed resource.
- name
String
- The name of the resource
- provisioningState
String
- Provisioning state of the SR
- systemData
SystemDataResponse
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type
String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azureApiVersion
string
- The Azure API version of the resource.
- id
string
- The provider-assigned unique ID for this managed resource.
- name
string
- The name of the resource
- provisioningState
string
- Provisioning state of the SR
- systemData
SystemDataResponse
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type
string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure_api_version
str
- The Azure API version of the resource.
- id
str
- The provider-assigned unique ID for this managed resource.
- name
str
- The name of the resource
- provisioning_state
str
- Provisioning state of the SR
- system_data
SystemDataResponse
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type
str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azureApiVersion
String
- The Azure API version of the resource.
- id
String
- The provider-assigned unique ID for this managed resource.
- name
String
- The name of the resource
- provisioningState
String
- Provisioning state of the SR
- systemData
Property Map
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type
String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
ExtendedLocation, ExtendedLocationArgs
The complex type of the extended location.ExtendedLocationResponse, ExtendedLocationResponseArgs
The complex type of the extended location.- Name
string
- The name of the extended location.
- Type
string
- The type of the extended location.
- Name
string
- The name of the extended location.
- Type
string
- The type of the extended location.
- name
string
- The name of the extended location.
- type
string
- The type of the extended location.
- name
String
- The name of the extended location.
- type
String
- The type of the extended location.
- name
string
- The name of the extended location.
- type
string
- The type of the extended location.
- name
str
- The name of the extended location.
- type
str
- The type of the extended location.
- name
String
- The name of the extended location.
- type
String
- The type of the extended location.
ExtendedLocationTypes, ExtendedLocationTypesArgs
| Name | Value | Description |
|---|
| CustomLocation | CustomLocation | Custom extended location type |
| Name | Value | Description |
|---|
| ExtendedLocationTypesCustomLocation | CustomLocation | Custom extended location type |
| Value | Description |
|---|
CustomLocation | Custom extended location type |
| Name | Value | Description |
|---|
| CustomLocation | CustomLocation | Custom extended location type |
| Name | Value | Description |
|---|
| CustomLocation | CustomLocation | Custom extended location type |
| Name | Value | Description |
|---|
| CUSTOM_LOCATION | CustomLocation | Custom extended location type |
| Value | Description |
|---|
CustomLocation | Custom extended location type |
SecurityRuleAccess, SecurityRuleAccessArgs
| Name | Value | Description |
|---|
| Allow | Allow | Network traffic is allowed |
| Deny | Deny | Network traffic is denied |
| Name | Value | Description |
|---|
| SecurityRuleAccessAllow | Allow | Network traffic is allowed |
| SecurityRuleAccessDeny | Deny | Network traffic is denied |
| Value | Description |
|---|
Allow | Network traffic is allowed |
Deny | Network traffic is denied |
| Name | Value | Description |
|---|
| Allow | Allow | Network traffic is allowed |
| Deny | Deny | Network traffic is denied |
| Name | Value | Description |
|---|
| Allow | Allow | Network traffic is allowed |
| Deny | Deny | Network traffic is denied |
| Name | Value | Description |
|---|
| ALLOW | Allow | Network traffic is allowed |
| DENY | Deny | Network traffic is denied |
| Value | Description |
|---|
Allow | Network traffic is allowed |
Deny | Network traffic is denied |
SecurityRuleDirection, SecurityRuleDirectionArgs
| Name | Value | Description |
|---|
| Inbound | Inbound | Rule is evaluated on incoming traffic |
| Outbound | Outbound | Rule is evaluated on outgoing traffic |
| Name | Value | Description |
|---|
| SecurityRuleDirectionInbound | Inbound | Rule is evaluated on incoming traffic |
| SecurityRuleDirectionOutbound | Outbound | Rule is evaluated on outgoing traffic |
| Value | Description |
|---|
Inbound | Rule is evaluated on incoming traffic |
Outbound | Rule is evaluated on outgoing traffic |
| Name | Value | Description |
|---|
| Inbound | Inbound | Rule is evaluated on incoming traffic |
| Outbound | Outbound | Rule is evaluated on outgoing traffic |
| Name | Value | Description |
|---|
| Inbound | Inbound | Rule is evaluated on incoming traffic |
| Outbound | Outbound | Rule is evaluated on outgoing traffic |
| Name | Value | Description |
|---|
| INBOUND | Inbound | Rule is evaluated on incoming traffic |
| OUTBOUND | Outbound | Rule is evaluated on outgoing traffic |
| Value | Description |
|---|
Inbound | Rule is evaluated on incoming traffic |
Outbound | Rule is evaluated on outgoing traffic |
SecurityRuleProtocol, SecurityRuleProtocolArgs
| Name | Value | Description |
|---|
| Tcp | Tcp | Transmission Control Protocol |
| Udp | Udp | User Datagram Protocol |
| Icmp | Icmp | Internet Control Message Protocol |
| Asterisk | * | Wildcard rule for all protocols |
| Name | Value | Description |
|---|
| SecurityRuleProtocolTcp | Tcp | Transmission Control Protocol |
| SecurityRuleProtocolUdp | Udp | User Datagram Protocol |
| SecurityRuleProtocolIcmp | Icmp | Internet Control Message Protocol |
| SecurityRuleProtocolAsterisk | * | Wildcard rule for all protocols |
| Value | Description |
|---|
Tcp | Transmission Control Protocol |
Udp | User Datagram Protocol |
Icmp | Internet Control Message Protocol |
* | Wildcard rule for all protocols |
| Name | Value | Description |
|---|
| Tcp | Tcp | Transmission Control Protocol |
| Udp | Udp | User Datagram Protocol |
| Icmp | Icmp | Internet Control Message Protocol |
| Asterisk | * | Wildcard rule for all protocols |
| Name | Value | Description |
|---|
| Tcp | Tcp | Transmission Control Protocol |
| Udp | Udp | User Datagram Protocol |
| Icmp | Icmp | Internet Control Message Protocol |
| Asterisk | * | Wildcard rule for all protocols |
| Name | Value | Description |
|---|
| TCP | Tcp | Transmission Control Protocol |
| UDP | Udp | User Datagram Protocol |
| ICMP | Icmp | Internet Control Message Protocol |
| ASTERISK | * | Wildcard rule for all protocols |
| Value | Description |
|---|
Tcp | Transmission Control Protocol |
Udp | User Datagram Protocol |
Icmp | Internet Control Message Protocol |
* | Wildcard rule for all protocols |
SystemDataResponse, SystemDataResponseArgs
Metadata pertaining to creation and last modification of the resource.- CreatedAt
string
- The timestamp of resource creation (UTC).
- CreatedBy
string
- The identity that created the resource.
- CreatedByType
string
- The type of identity that created the resource.
- LastModifiedAt
string
- The timestamp of resource last modification (UTC)
- LastModifiedBy
string
- The identity that last modified the resource.
- LastModifiedByType
string
- The type of identity that last modified the resource.
- CreatedAt
string
- The timestamp of resource creation (UTC).
- CreatedBy
string
- The identity that created the resource.
- CreatedByType
string
- The type of identity that created the resource.
- LastModifiedAt
string
- The timestamp of resource last modification (UTC)
- LastModifiedBy
string
- The identity that last modified the resource.
- LastModifiedByType
string
- The type of identity that last modified the resource.
- createdAt
String
- The timestamp of resource creation (UTC).
- createdBy
String
- The identity that created the resource.
- createdByType
String
- The type of identity that created the resource.
- lastModifiedAt
String
- The timestamp of resource last modification (UTC)
- lastModifiedBy
String
- The identity that last modified the resource.
- lastModifiedByType
String
- The type of identity that last modified the resource.
- createdAt
string
- The timestamp of resource creation (UTC).
- createdBy
string
- The identity that created the resource.
- createdByType
string
- The type of identity that created the resource.
- lastModifiedAt
string
- The timestamp of resource last modification (UTC)
- lastModifiedBy
string
- The identity that last modified the resource.
- lastModifiedByType
string
- The type of identity that last modified the resource.
- createdAt
String
- The timestamp of resource creation (UTC).
- createdBy
String
- The identity that created the resource.
- createdByType
String
- The type of identity that created the resource.
- lastModifiedAt
String
- The timestamp of resource last modification (UTC)
- lastModifiedBy
String
- The identity that last modified the resource.
- lastModifiedByType
String
- The type of identity that last modified the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:azurestackhci:SecurityRule rule1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0