azure-native.network.SecurityUserRule
Explore with Pulumi AI
Network security user rule.
Uses Azure REST API version 2024-03-01.
Other available API versions: 2024-05-01.
Example Usage
Create a security user rule
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var securityUserRule = new AzureNative.Network.SecurityUserRule("securityUserRule", new()
    {
        ConfigurationName = "myTestSecurityConfig",
        Description = "Sample User Rule",
        DestinationPortRanges = new[]
        {
            "22",
        },
        Destinations = new[]
        {
            new AzureNative.Network.Inputs.AddressPrefixItemArgs
            {
                AddressPrefix = "*",
                AddressPrefixType = AzureNative.Network.AddressPrefixType.IPPrefix,
            },
        },
        Direction = AzureNative.Network.SecurityConfigurationRuleDirection.Inbound,
        NetworkManagerName = "testNetworkManager",
        Protocol = AzureNative.Network.SecurityConfigurationRuleProtocol.Tcp,
        ResourceGroupName = "rg1",
        RuleCollectionName = "testRuleCollection",
        RuleName = "SampleUserRule",
        SourcePortRanges = new[]
        {
            "0-65535",
        },
        Sources = new[]
        {
            new AzureNative.Network.Inputs.AddressPrefixItemArgs
            {
                AddressPrefix = "*",
                AddressPrefixType = AzureNative.Network.AddressPrefixType.IPPrefix,
            },
        },
    });
});
package main
import (
	network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := network.NewSecurityUserRule(ctx, "securityUserRule", &network.SecurityUserRuleArgs{
			ConfigurationName: pulumi.String("myTestSecurityConfig"),
			Description:       pulumi.String("Sample User Rule"),
			DestinationPortRanges: pulumi.StringArray{
				pulumi.String("22"),
			},
			Destinations: network.AddressPrefixItemArray{
				&network.AddressPrefixItemArgs{
					AddressPrefix:     pulumi.String("*"),
					AddressPrefixType: pulumi.String(network.AddressPrefixTypeIPPrefix),
				},
			},
			Direction:          pulumi.String(network.SecurityConfigurationRuleDirectionInbound),
			NetworkManagerName: pulumi.String("testNetworkManager"),
			Protocol:           pulumi.String(network.SecurityConfigurationRuleProtocolTcp),
			ResourceGroupName:  pulumi.String("rg1"),
			RuleCollectionName: pulumi.String("testRuleCollection"),
			RuleName:           pulumi.String("SampleUserRule"),
			SourcePortRanges: pulumi.StringArray{
				pulumi.String("0-65535"),
			},
			Sources: network.AddressPrefixItemArray{
				&network.AddressPrefixItemArgs{
					AddressPrefix:     pulumi.String("*"),
					AddressPrefixType: pulumi.String(network.AddressPrefixTypeIPPrefix),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.network.SecurityUserRule;
import com.pulumi.azurenative.network.SecurityUserRuleArgs;
import com.pulumi.azurenative.network.inputs.AddressPrefixItemArgs;
import java.util.List;
import java.util.ArrayList;
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 securityUserRule = new SecurityUserRule("securityUserRule", SecurityUserRuleArgs.builder()
            .configurationName("myTestSecurityConfig")
            .description("Sample User Rule")
            .destinationPortRanges("22")
            .destinations(AddressPrefixItemArgs.builder()
                .addressPrefix("*")
                .addressPrefixType("IPPrefix")
                .build())
            .direction("Inbound")
            .networkManagerName("testNetworkManager")
            .protocol("Tcp")
            .resourceGroupName("rg1")
            .ruleCollectionName("testRuleCollection")
            .ruleName("SampleUserRule")
            .sourcePortRanges("0-65535")
            .sources(AddressPrefixItemArgs.builder()
                .addressPrefix("*")
                .addressPrefixType("IPPrefix")
                .build())
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const securityUserRule = new azure_native.network.SecurityUserRule("securityUserRule", {
    configurationName: "myTestSecurityConfig",
    description: "Sample User Rule",
    destinationPortRanges: ["22"],
    destinations: [{
        addressPrefix: "*",
        addressPrefixType: azure_native.network.AddressPrefixType.IPPrefix,
    }],
    direction: azure_native.network.SecurityConfigurationRuleDirection.Inbound,
    networkManagerName: "testNetworkManager",
    protocol: azure_native.network.SecurityConfigurationRuleProtocol.Tcp,
    resourceGroupName: "rg1",
    ruleCollectionName: "testRuleCollection",
    ruleName: "SampleUserRule",
    sourcePortRanges: ["0-65535"],
    sources: [{
        addressPrefix: "*",
        addressPrefixType: azure_native.network.AddressPrefixType.IPPrefix,
    }],
});
import pulumi
import pulumi_azure_native as azure_native
security_user_rule = azure_native.network.SecurityUserRule("securityUserRule",
    configuration_name="myTestSecurityConfig",
    description="Sample User Rule",
    destination_port_ranges=["22"],
    destinations=[{
        "address_prefix": "*",
        "address_prefix_type": azure_native.network.AddressPrefixType.IP_PREFIX,
    }],
    direction=azure_native.network.SecurityConfigurationRuleDirection.INBOUND,
    network_manager_name="testNetworkManager",
    protocol=azure_native.network.SecurityConfigurationRuleProtocol.TCP,
    resource_group_name="rg1",
    rule_collection_name="testRuleCollection",
    rule_name="SampleUserRule",
    source_port_ranges=["0-65535"],
    sources=[{
        "address_prefix": "*",
        "address_prefix_type": azure_native.network.AddressPrefixType.IP_PREFIX,
    }])
resources:
  securityUserRule:
    type: azure-native:network:SecurityUserRule
    properties:
      configurationName: myTestSecurityConfig
      description: Sample User Rule
      destinationPortRanges:
        - '22'
      destinations:
        - addressPrefix: '*'
          addressPrefixType: IPPrefix
      direction: Inbound
      networkManagerName: testNetworkManager
      protocol: Tcp
      resourceGroupName: rg1
      ruleCollectionName: testRuleCollection
      ruleName: SampleUserRule
      sourcePortRanges:
        - 0-65535
      sources:
        - addressPrefix: '*'
          addressPrefixType: IPPrefix
Create SecurityUserRule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SecurityUserRule(name: string, args: SecurityUserRuleArgs, opts?: CustomResourceOptions);@overload
def SecurityUserRule(resource_name: str,
                     args: SecurityUserRuleArgs,
                     opts: Optional[ResourceOptions] = None)
@overload
def SecurityUserRule(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     configuration_name: Optional[str] = None,
                     direction: Optional[Union[str, SecurityConfigurationRuleDirection]] = None,
                     network_manager_name: Optional[str] = None,
                     protocol: Optional[Union[str, SecurityConfigurationRuleProtocol]] = None,
                     resource_group_name: Optional[str] = None,
                     rule_collection_name: Optional[str] = None,
                     description: Optional[str] = None,
                     destination_port_ranges: Optional[Sequence[str]] = None,
                     destinations: Optional[Sequence[AddressPrefixItemArgs]] = None,
                     rule_name: Optional[str] = None,
                     source_port_ranges: Optional[Sequence[str]] = None,
                     sources: Optional[Sequence[AddressPrefixItemArgs]] = None)func NewSecurityUserRule(ctx *Context, name string, args SecurityUserRuleArgs, opts ...ResourceOption) (*SecurityUserRule, error)public SecurityUserRule(string name, SecurityUserRuleArgs args, CustomResourceOptions? opts = null)
public SecurityUserRule(String name, SecurityUserRuleArgs args)
public SecurityUserRule(String name, SecurityUserRuleArgs args, CustomResourceOptions options)
type: azure-native:network:SecurityUserRule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SecurityUserRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SecurityUserRuleArgs
- 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 SecurityUserRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SecurityUserRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SecurityUserRuleArgs
- 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 securityUserRuleResource = new AzureNative.Network.SecurityUserRule("securityUserRuleResource", new()
{
    ConfigurationName = "string",
    Direction = "string",
    NetworkManagerName = "string",
    Protocol = "string",
    ResourceGroupName = "string",
    RuleCollectionName = "string",
    Description = "string",
    DestinationPortRanges = new[]
    {
        "string",
    },
    Destinations = new[]
    {
        new AzureNative.Network.Inputs.AddressPrefixItemArgs
        {
            AddressPrefix = "string",
            AddressPrefixType = "string",
        },
    },
    RuleName = "string",
    SourcePortRanges = new[]
    {
        "string",
    },
    Sources = new[]
    {
        new AzureNative.Network.Inputs.AddressPrefixItemArgs
        {
            AddressPrefix = "string",
            AddressPrefixType = "string",
        },
    },
});
example, err := network.NewSecurityUserRule(ctx, "securityUserRuleResource", &network.SecurityUserRuleArgs{
	ConfigurationName:  pulumi.String("string"),
	Direction:          pulumi.String("string"),
	NetworkManagerName: pulumi.String("string"),
	Protocol:           pulumi.String("string"),
	ResourceGroupName:  pulumi.String("string"),
	RuleCollectionName: pulumi.String("string"),
	Description:        pulumi.String("string"),
	DestinationPortRanges: pulumi.StringArray{
		pulumi.String("string"),
	},
	Destinations: network.AddressPrefixItemArray{
		&network.AddressPrefixItemArgs{
			AddressPrefix:     pulumi.String("string"),
			AddressPrefixType: pulumi.String("string"),
		},
	},
	RuleName: pulumi.String("string"),
	SourcePortRanges: pulumi.StringArray{
		pulumi.String("string"),
	},
	Sources: network.AddressPrefixItemArray{
		&network.AddressPrefixItemArgs{
			AddressPrefix:     pulumi.String("string"),
			AddressPrefixType: pulumi.String("string"),
		},
	},
})
var securityUserRuleResource = new SecurityUserRule("securityUserRuleResource", SecurityUserRuleArgs.builder()
    .configurationName("string")
    .direction("string")
    .networkManagerName("string")
    .protocol("string")
    .resourceGroupName("string")
    .ruleCollectionName("string")
    .description("string")
    .destinationPortRanges("string")
    .destinations(AddressPrefixItemArgs.builder()
        .addressPrefix("string")
        .addressPrefixType("string")
        .build())
    .ruleName("string")
    .sourcePortRanges("string")
    .sources(AddressPrefixItemArgs.builder()
        .addressPrefix("string")
        .addressPrefixType("string")
        .build())
    .build());
security_user_rule_resource = azure_native.network.SecurityUserRule("securityUserRuleResource",
    configuration_name="string",
    direction="string",
    network_manager_name="string",
    protocol="string",
    resource_group_name="string",
    rule_collection_name="string",
    description="string",
    destination_port_ranges=["string"],
    destinations=[{
        "address_prefix": "string",
        "address_prefix_type": "string",
    }],
    rule_name="string",
    source_port_ranges=["string"],
    sources=[{
        "address_prefix": "string",
        "address_prefix_type": "string",
    }])
const securityUserRuleResource = new azure_native.network.SecurityUserRule("securityUserRuleResource", {
    configurationName: "string",
    direction: "string",
    networkManagerName: "string",
    protocol: "string",
    resourceGroupName: "string",
    ruleCollectionName: "string",
    description: "string",
    destinationPortRanges: ["string"],
    destinations: [{
        addressPrefix: "string",
        addressPrefixType: "string",
    }],
    ruleName: "string",
    sourcePortRanges: ["string"],
    sources: [{
        addressPrefix: "string",
        addressPrefixType: "string",
    }],
});
type: azure-native:network:SecurityUserRule
properties:
    configurationName: string
    description: string
    destinationPortRanges:
        - string
    destinations:
        - addressPrefix: string
          addressPrefixType: string
    direction: string
    networkManagerName: string
    protocol: string
    resourceGroupName: string
    ruleCollectionName: string
    ruleName: string
    sourcePortRanges:
        - string
    sources:
        - addressPrefix: string
          addressPrefixType: string
SecurityUserRule Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SecurityUserRule resource accepts the following input properties:
- ConfigurationName string
- The name of the network manager Security Configuration.
- Direction
string | Pulumi.Azure Native. Network. Security Configuration Rule Direction 
- Indicates if the traffic matched against the rule in inbound or outbound.
- NetworkManager stringName 
- The name of the network manager.
- Protocol
string | Pulumi.Azure Native. Network. Security Configuration Rule Protocol 
- Network protocol this rule applies to.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- RuleCollection stringName 
- The name of the network manager security Configuration rule collection.
- Description string
- A description for this rule.
- DestinationPort List<string>Ranges 
- The destination port ranges.
- Destinations
List<Pulumi.Azure Native. Network. Inputs. Address Prefix Item> 
- The destination address prefixes. CIDR or destination IP ranges.
- RuleName string
- The name of the rule.
- SourcePort List<string>Ranges 
- The source port ranges.
- Sources
List<Pulumi.Azure Native. Network. Inputs. Address Prefix Item> 
- The CIDR or source IP ranges.
- ConfigurationName string
- The name of the network manager Security Configuration.
- Direction
string | SecurityConfiguration Rule Direction 
- Indicates if the traffic matched against the rule in inbound or outbound.
- NetworkManager stringName 
- The name of the network manager.
- Protocol
string | SecurityConfiguration Rule Protocol 
- Network protocol this rule applies to.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- RuleCollection stringName 
- The name of the network manager security Configuration rule collection.
- Description string
- A description for this rule.
- DestinationPort []stringRanges 
- The destination port ranges.
- Destinations
[]AddressPrefix Item Args 
- The destination address prefixes. CIDR or destination IP ranges.
- RuleName string
- The name of the rule.
- SourcePort []stringRanges 
- The source port ranges.
- Sources
[]AddressPrefix Item Args 
- The CIDR or source IP ranges.
- configurationName String
- The name of the network manager Security Configuration.
- direction
String | SecurityConfiguration Rule Direction 
- Indicates if the traffic matched against the rule in inbound or outbound.
- networkManager StringName 
- The name of the network manager.
- protocol
String | SecurityConfiguration Rule Protocol 
- Network protocol this rule applies to.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- ruleCollection StringName 
- The name of the network manager security Configuration rule collection.
- description String
- A description for this rule.
- destinationPort List<String>Ranges 
- The destination port ranges.
- destinations
List<AddressPrefix Item> 
- The destination address prefixes. CIDR or destination IP ranges.
- ruleName String
- The name of the rule.
- sourcePort List<String>Ranges 
- The source port ranges.
- sources
List<AddressPrefix Item> 
- The CIDR or source IP ranges.
- configurationName string
- The name of the network manager Security Configuration.
- direction
string | SecurityConfiguration Rule Direction 
- Indicates if the traffic matched against the rule in inbound or outbound.
- networkManager stringName 
- The name of the network manager.
- protocol
string | SecurityConfiguration Rule Protocol 
- Network protocol this rule applies to.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ruleCollection stringName 
- The name of the network manager security Configuration rule collection.
- description string
- A description for this rule.
- destinationPort string[]Ranges 
- The destination port ranges.
- destinations
AddressPrefix Item[] 
- The destination address prefixes. CIDR or destination IP ranges.
- ruleName string
- The name of the rule.
- sourcePort string[]Ranges 
- The source port ranges.
- sources
AddressPrefix Item[] 
- The CIDR or source IP ranges.
- configuration_name str
- The name of the network manager Security Configuration.
- direction
str | SecurityConfiguration Rule Direction 
- Indicates if the traffic matched against the rule in inbound or outbound.
- network_manager_ strname 
- The name of the network manager.
- protocol
str | SecurityConfiguration Rule Protocol 
- Network protocol this rule applies to.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- rule_collection_ strname 
- The name of the network manager security Configuration rule collection.
- description str
- A description for this rule.
- destination_port_ Sequence[str]ranges 
- The destination port ranges.
- destinations
Sequence[AddressPrefix Item Args] 
- The destination address prefixes. CIDR or destination IP ranges.
- rule_name str
- The name of the rule.
- source_port_ Sequence[str]ranges 
- The source port ranges.
- sources
Sequence[AddressPrefix Item Args] 
- The CIDR or source IP ranges.
- configurationName String
- The name of the network manager Security Configuration.
- direction String | "Inbound" | "Outbound"
- Indicates if the traffic matched against the rule in inbound or outbound.
- networkManager StringName 
- The name of the network manager.
- protocol String | "Tcp" | "Udp" | "Icmp" | "Esp" | "Any" | "Ah"
- Network protocol this rule applies to.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- ruleCollection StringName 
- The name of the network manager security Configuration rule collection.
- description String
- A description for this rule.
- destinationPort List<String>Ranges 
- The destination port ranges.
- destinations List<Property Map>
- The destination address prefixes. CIDR or destination IP ranges.
- ruleName String
- The name of the rule.
- sourcePort List<String>Ranges 
- The source port ranges.
- sources List<Property Map>
- The CIDR or source IP ranges.
Outputs
All input properties are implicitly available as output properties. Additionally, the SecurityUserRule resource produces the following output properties:
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name.
- ProvisioningState string
- The provisioning state of the security configuration user rule resource.
- ResourceGuid string
- Unique identifier for this resource.
- SystemData Pulumi.Azure Native. Network. Outputs. System Data Response 
- The system metadata related to this resource.
- Type string
- Resource type.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name.
- ProvisioningState string
- The provisioning state of the security configuration user rule resource.
- ResourceGuid string
- Unique identifier for this resource.
- SystemData SystemData Response 
- The system metadata related to this resource.
- Type string
- Resource type.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name.
- provisioningState String
- The provisioning state of the security configuration user rule resource.
- resourceGuid String
- Unique identifier for this resource.
- systemData SystemData Response 
- The system metadata related to this resource.
- type String
- Resource type.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Resource name.
- provisioningState string
- The provisioning state of the security configuration user rule resource.
- resourceGuid string
- Unique identifier for this resource.
- systemData SystemData Response 
- The system metadata related to this resource.
- type string
- Resource type.
- etag str
- A unique read-only string that changes whenever the resource is updated.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Resource name.
- provisioning_state str
- The provisioning state of the security configuration user rule resource.
- resource_guid str
- Unique identifier for this resource.
- system_data SystemData Response 
- The system metadata related to this resource.
- type str
- Resource type.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name.
- provisioningState String
- The provisioning state of the security configuration user rule resource.
- resourceGuid String
- Unique identifier for this resource.
- systemData Property Map
- The system metadata related to this resource.
- type String
- Resource type.
Supporting Types
AddressPrefixItem, AddressPrefixItemArgs      
- AddressPrefix string
- Address prefix.
- AddressPrefix string | Pulumi.Type Azure Native. Network. Address Prefix Type 
- Address prefix type.
- AddressPrefix string
- Address prefix.
- AddressPrefix string | AddressType Prefix Type 
- Address prefix type.
- addressPrefix String
- Address prefix.
- addressPrefix String | AddressType Prefix Type 
- Address prefix type.
- addressPrefix string
- Address prefix.
- addressPrefix string | AddressType Prefix Type 
- Address prefix type.
- address_prefix str
- Address prefix.
- address_prefix_ str | Addresstype Prefix Type 
- Address prefix type.
- addressPrefix String
- Address prefix.
- addressPrefix String | "IPPrefix" | "ServiceType Tag" 
- Address prefix type.
AddressPrefixItemResponse, AddressPrefixItemResponseArgs        
- AddressPrefix string
- Address prefix.
- AddressPrefix stringType 
- Address prefix type.
- AddressPrefix string
- Address prefix.
- AddressPrefix stringType 
- Address prefix type.
- addressPrefix String
- Address prefix.
- addressPrefix StringType 
- Address prefix type.
- addressPrefix string
- Address prefix.
- addressPrefix stringType 
- Address prefix type.
- address_prefix str
- Address prefix.
- address_prefix_ strtype 
- Address prefix type.
- addressPrefix String
- Address prefix.
- addressPrefix StringType 
- Address prefix type.
AddressPrefixType, AddressPrefixTypeArgs      
- IPPrefix
- IPPrefix
- ServiceTag 
- ServiceTag
- AddressPrefix Type IPPrefix 
- IPPrefix
- AddressPrefix Type Service Tag 
- ServiceTag
- IPPrefix
- IPPrefix
- ServiceTag 
- ServiceTag
- IPPrefix
- IPPrefix
- ServiceTag 
- ServiceTag
- IP_PREFIX
- IPPrefix
- SERVICE_TAG
- ServiceTag
- "IPPrefix"
- IPPrefix
- "ServiceTag" 
- ServiceTag
SecurityConfigurationRuleDirection, SecurityConfigurationRuleDirectionArgs        
- Inbound
- Inbound
- Outbound
- Outbound
- SecurityConfiguration Rule Direction Inbound 
- Inbound
- SecurityConfiguration Rule Direction Outbound 
- Outbound
- Inbound
- Inbound
- Outbound
- Outbound
- Inbound
- Inbound
- Outbound
- Outbound
- INBOUND
- Inbound
- OUTBOUND
- Outbound
- "Inbound"
- Inbound
- "Outbound"
- Outbound
SecurityConfigurationRuleProtocol, SecurityConfigurationRuleProtocolArgs        
- Tcp
- Tcp
- Udp
- Udp
- Icmp
- Icmp
- Esp
- Esp
- Any
- Any
- Ah
- Ah
- SecurityConfiguration Rule Protocol Tcp 
- Tcp
- SecurityConfiguration Rule Protocol Udp 
- Udp
- SecurityConfiguration Rule Protocol Icmp 
- Icmp
- SecurityConfiguration Rule Protocol Esp 
- Esp
- SecurityConfiguration Rule Protocol Any 
- Any
- SecurityConfiguration Rule Protocol Ah 
- Ah
- Tcp
- Tcp
- Udp
- Udp
- Icmp
- Icmp
- Esp
- Esp
- Any
- Any
- Ah
- Ah
- Tcp
- Tcp
- Udp
- Udp
- Icmp
- Icmp
- Esp
- Esp
- Any
- Any
- Ah
- Ah
- TCP
- Tcp
- UDP
- Udp
- ICMP
- Icmp
- ESP
- Esp
- ANY
- Any
- AH
- Ah
- "Tcp"
- Tcp
- "Udp"
- Udp
- "Icmp"
- Icmp
- "Esp"
- Esp
- "Any"
- Any
- "Ah"
- Ah
SystemDataResponse, SystemDataResponseArgs      
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The type of identity that last modified the resource.
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The type of identity that last modified the resource.
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The type of identity that last modified the resource.
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The type of identity that last modified the resource.
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- The type of identity that last modified the resource.
- created_at str
- The timestamp of resource creation (UTC).
- created_by str
- The identity that created the resource.
- created_by_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The type of identity that last modified the resource.
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The type of identity that last modified the resource.
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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:network:SecurityUserRule SampleUserRule /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0