azure-native.network.AdminRule
Explore with Pulumi AI
Network admin rule. API Version: 2021-02-01-preview.
Example Usage
Create a default admin rule
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var adminRule = new AzureNative.Network.AdminRule("adminRule", new()
{
ConfigurationName = "myTestSecurityConfig",
NetworkManagerName = "testNetworkManager",
ResourceGroupName = "rg1",
RuleCollectionName = "testRuleCollection",
RuleName = "SampleDefaultAdminRule",
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewAdminRule(ctx, "adminRule", &network.AdminRuleArgs{
ConfigurationName: pulumi.String("myTestSecurityConfig"),
NetworkManagerName: pulumi.String("testNetworkManager"),
ResourceGroupName: pulumi.String("rg1"),
RuleCollectionName: pulumi.String("testRuleCollection"),
RuleName: pulumi.String("SampleDefaultAdminRule"),
})
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.AdminRule;
import com.pulumi.azurenative.network.AdminRuleArgs;
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 adminRule = new AdminRule("adminRule", AdminRuleArgs.builder()
.configurationName("myTestSecurityConfig")
.networkManagerName("testNetworkManager")
.resourceGroupName("rg1")
.ruleCollectionName("testRuleCollection")
.ruleName("SampleDefaultAdminRule")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
admin_rule = azure_native.network.AdminRule("adminRule",
configuration_name="myTestSecurityConfig",
network_manager_name="testNetworkManager",
resource_group_name="rg1",
rule_collection_name="testRuleCollection",
rule_name="SampleDefaultAdminRule")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const adminRule = new azure_native.network.AdminRule("adminRule", {
configurationName: "myTestSecurityConfig",
networkManagerName: "testNetworkManager",
resourceGroupName: "rg1",
ruleCollectionName: "testRuleCollection",
ruleName: "SampleDefaultAdminRule",
});
resources:
adminRule:
type: azure-native:network:AdminRule
properties:
configurationName: myTestSecurityConfig
networkManagerName: testNetworkManager
resourceGroupName: rg1
ruleCollectionName: testRuleCollection
ruleName: SampleDefaultAdminRule
Create an admin rule
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var adminRule = new AzureNative.Network.AdminRule("adminRule", new()
{
Access = "Deny",
ConfigurationName = "myTestSecurityConfig",
Description = "This is Sample Admin Rule",
DestinationPortRanges = new[]
{
"22",
},
Destinations = new[]
{
new AzureNative.Network.Inputs.AddressPrefixItemArgs
{
AddressPrefix = "*",
AddressPrefixType = "IPPrefix",
},
},
Direction = "Inbound",
Kind = "Custom",
NetworkManagerName = "testNetworkManager",
Priority = 1,
Protocol = "Tcp",
ResourceGroupName = "rg1",
RuleCollectionName = "testRuleCollection",
RuleName = "SampleAdminRule",
SourcePortRanges = new[]
{
"0-65535",
},
Sources = new[]
{
new AzureNative.Network.Inputs.AddressPrefixItemArgs
{
AddressPrefix = "Internet",
AddressPrefixType = "ServiceTag",
},
},
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewAdminRule(ctx, "adminRule", &network.AdminRuleArgs{
Access: pulumi.String("Deny"),
ConfigurationName: pulumi.String("myTestSecurityConfig"),
Description: pulumi.String("This is Sample Admin Rule"),
DestinationPortRanges: pulumi.StringArray{
pulumi.String("22"),
},
Destinations: []network.AddressPrefixItemArgs{
{
AddressPrefix: pulumi.String("*"),
AddressPrefixType: pulumi.String("IPPrefix"),
},
},
Direction: pulumi.String("Inbound"),
Kind: pulumi.String("Custom"),
NetworkManagerName: pulumi.String("testNetworkManager"),
Priority: pulumi.Int(1),
Protocol: pulumi.String("Tcp"),
ResourceGroupName: pulumi.String("rg1"),
RuleCollectionName: pulumi.String("testRuleCollection"),
RuleName: pulumi.String("SampleAdminRule"),
SourcePortRanges: pulumi.StringArray{
pulumi.String("0-65535"),
},
Sources: []network.AddressPrefixItemArgs{
{
AddressPrefix: pulumi.String("Internet"),
AddressPrefixType: pulumi.String("ServiceTag"),
},
},
})
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.AdminRule;
import com.pulumi.azurenative.network.AdminRuleArgs;
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 adminRule = new AdminRule("adminRule", AdminRuleArgs.builder()
.access("Deny")
.configurationName("myTestSecurityConfig")
.description("This is Sample Admin Rule")
.destinationPortRanges("22")
.destinations(Map.ofEntries(
Map.entry("addressPrefix", "*"),
Map.entry("addressPrefixType", "IPPrefix")
))
.direction("Inbound")
.kind("Custom")
.networkManagerName("testNetworkManager")
.priority(1)
.protocol("Tcp")
.resourceGroupName("rg1")
.ruleCollectionName("testRuleCollection")
.ruleName("SampleAdminRule")
.sourcePortRanges("0-65535")
.sources(Map.ofEntries(
Map.entry("addressPrefix", "Internet"),
Map.entry("addressPrefixType", "ServiceTag")
))
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
admin_rule = azure_native.network.AdminRule("adminRule",
access="Deny",
configuration_name="myTestSecurityConfig",
description="This is Sample Admin Rule",
destination_port_ranges=["22"],
destinations=[azure_native.network.AddressPrefixItemArgs(
address_prefix="*",
address_prefix_type="IPPrefix",
)],
direction="Inbound",
kind="Custom",
network_manager_name="testNetworkManager",
priority=1,
protocol="Tcp",
resource_group_name="rg1",
rule_collection_name="testRuleCollection",
rule_name="SampleAdminRule",
source_port_ranges=["0-65535"],
sources=[azure_native.network.AddressPrefixItemArgs(
address_prefix="Internet",
address_prefix_type="ServiceTag",
)])
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const adminRule = new azure_native.network.AdminRule("adminRule", {
access: "Deny",
configurationName: "myTestSecurityConfig",
description: "This is Sample Admin Rule",
destinationPortRanges: ["22"],
destinations: [{
addressPrefix: "*",
addressPrefixType: "IPPrefix",
}],
direction: "Inbound",
kind: "Custom",
networkManagerName: "testNetworkManager",
priority: 1,
protocol: "Tcp",
resourceGroupName: "rg1",
ruleCollectionName: "testRuleCollection",
ruleName: "SampleAdminRule",
sourcePortRanges: ["0-65535"],
sources: [{
addressPrefix: "Internet",
addressPrefixType: "ServiceTag",
}],
});
resources:
adminRule:
type: azure-native:network:AdminRule
properties:
access: Deny
configurationName: myTestSecurityConfig
description: This is Sample Admin Rule
destinationPortRanges:
- '22'
destinations:
- addressPrefix: '*'
addressPrefixType: IPPrefix
direction: Inbound
kind: Custom
networkManagerName: testNetworkManager
priority: 1
protocol: Tcp
resourceGroupName: rg1
ruleCollectionName: testRuleCollection
ruleName: SampleAdminRule
sourcePortRanges:
- 0-65535
sources:
- addressPrefix: Internet
addressPrefixType: ServiceTag
Create AdminRule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AdminRule(name: string, args: AdminRuleArgs, opts?: CustomResourceOptions);
@overload
def AdminRule(resource_name: str,
args: AdminRuleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AdminRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
rule_collection_name: Optional[str] = None,
protocol: Optional[Union[str, SecurityConfigurationRuleProtocol]] = None,
access: Optional[Union[str, SecurityConfigurationRuleAccess]] = None,
resource_group_name: Optional[str] = None,
network_manager_name: Optional[str] = None,
direction: Optional[Union[str, SecurityConfigurationRuleDirection]] = None,
configuration_name: Optional[str] = None,
destinations: Optional[Sequence[AddressPrefixItemArgs]] = None,
priority: Optional[int] = None,
display_name: Optional[str] = None,
destination_port_ranges: Optional[Sequence[str]] = None,
description: Optional[str] = None,
rule_name: Optional[str] = None,
source_port_ranges: Optional[Sequence[str]] = None,
sources: Optional[Sequence[AddressPrefixItemArgs]] = None)
func NewAdminRule(ctx *Context, name string, args AdminRuleArgs, opts ...ResourceOption) (*AdminRule, error)
public AdminRule(string name, AdminRuleArgs args, CustomResourceOptions? opts = null)
public AdminRule(String name, AdminRuleArgs args)
public AdminRule(String name, AdminRuleArgs args, CustomResourceOptions options)
type: azure-native:network:AdminRule
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 AdminRuleArgs
- 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 AdminRuleArgs
- 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 AdminRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AdminRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AdminRuleArgs
- 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 adminRuleResource = new AzureNative.Network.AdminRule("adminRuleResource", new()
{
RuleCollectionName = "string",
Protocol = "string",
Access = "string",
ResourceGroupName = "string",
NetworkManagerName = "string",
Direction = "string",
ConfigurationName = "string",
Kind = "string",
Destinations = new[]
{
{
{ "addressPrefix", "string" },
{ "addressPrefixType", "string" },
},
},
Priority = 0,
DisplayName = "string",
DestinationPortRanges = new[]
{
"string",
},
Description = "string",
RuleName = "string",
SourcePortRanges = new[]
{
"string",
},
Sources = new[]
{
{
{ "addressPrefix", "string" },
{ "addressPrefixType", "string" },
},
},
});
example, err := network.NewAdminRule(ctx, "adminRuleResource", &network.AdminRuleArgs{
RuleCollectionName: "string",
Protocol: "string",
Access: "string",
ResourceGroupName: "string",
NetworkManagerName: "string",
Direction: "string",
ConfigurationName: "string",
Kind: "string",
Destinations: []map[string]interface{}{
map[string]interface{}{
"addressPrefix": "string",
"addressPrefixType": "string",
},
},
Priority: 0,
DisplayName: "string",
DestinationPortRanges: []string{
"string",
},
Description: "string",
RuleName: "string",
SourcePortRanges: []string{
"string",
},
Sources: []map[string]interface{}{
map[string]interface{}{
"addressPrefix": "string",
"addressPrefixType": "string",
},
},
})
var adminRuleResource = new AdminRule("adminRuleResource", AdminRuleArgs.builder()
.ruleCollectionName("string")
.protocol("string")
.access("string")
.resourceGroupName("string")
.networkManagerName("string")
.direction("string")
.configurationName("string")
.kind("string")
.destinations(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.priority(0)
.displayName("string")
.destinationPortRanges("string")
.description("string")
.ruleName("string")
.sourcePortRanges("string")
.sources(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
admin_rule_resource = azure_native.network.AdminRule("adminRuleResource",
rule_collection_name=string,
protocol=string,
access=string,
resource_group_name=string,
network_manager_name=string,
direction=string,
configuration_name=string,
kind=string,
destinations=[{
addressPrefix: string,
addressPrefixType: string,
}],
priority=0,
display_name=string,
destination_port_ranges=[string],
description=string,
rule_name=string,
source_port_ranges=[string],
sources=[{
addressPrefix: string,
addressPrefixType: string,
}])
const adminRuleResource = new azure_native.network.AdminRule("adminRuleResource", {
ruleCollectionName: "string",
protocol: "string",
access: "string",
resourceGroupName: "string",
networkManagerName: "string",
direction: "string",
configurationName: "string",
kind: "string",
destinations: [{
addressPrefix: "string",
addressPrefixType: "string",
}],
priority: 0,
displayName: "string",
destinationPortRanges: ["string"],
description: "string",
ruleName: "string",
sourcePortRanges: ["string"],
sources: [{
addressPrefix: "string",
addressPrefixType: "string",
}],
});
type: azure-native:network:AdminRule
properties:
access: string
configurationName: string
description: string
destinationPortRanges:
- string
destinations:
- addressPrefix: string
addressPrefixType: string
direction: string
displayName: string
kind: string
networkManagerName: string
priority: 0
protocol: string
resourceGroupName: string
ruleCollectionName: string
ruleName: string
sourcePortRanges:
- string
sources:
- addressPrefix: string
addressPrefixType: string
AdminRule Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The AdminRule resource accepts the following input properties:
- Access
string | Pulumi.
Azure Native. Network. Security Configuration Rule Access - Indicates the access allowed for this particular rule
- Configuration
Name 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.
- Network
Manager stringName - The name of the network manager.
- Protocol
string | Pulumi.
Azure Native. Network. Security Configuration Rule Protocol - Network protocol this rule applies to.
- Resource
Group stringName - The name of the resource group.
- Rule
Collection stringName - The name of the network manager security Configuration rule collection.
- Description string
- A description for this rule. Restricted to 140 chars.
- Destination
Port 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.
- Display
Name string - A friendly name for the rule.
- Priority int
- The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- Rule
Name string - The name of the rule.
- Source
Port List<string>Ranges - The source port ranges.
- Sources
List<Pulumi.
Azure Native. Network. Inputs. Address Prefix Item> - The CIDR or source IP ranges.
- Access
string | Security
Configuration Rule Access - Indicates the access allowed for this particular rule
- Configuration
Name string - The name of the network manager security Configuration.
- Direction
string | Security
Configuration Rule Direction - Indicates if the traffic matched against the rule in inbound or outbound.
- Network
Manager stringName - The name of the network manager.
- Protocol
string | Security
Configuration Rule Protocol - Network protocol this rule applies to.
- Resource
Group stringName - The name of the resource group.
- Rule
Collection stringName - The name of the network manager security Configuration rule collection.
- Description string
- A description for this rule. Restricted to 140 chars.
- Destination
Port []stringRanges - The destination port ranges.
- Destinations
[]Address
Prefix Item Args - The destination address prefixes. CIDR or destination IP ranges.
- Display
Name string - A friendly name for the rule.
- Priority int
- The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- Rule
Name string - The name of the rule.
- Source
Port []stringRanges - The source port ranges.
- Sources
[]Address
Prefix Item Args - The CIDR or source IP ranges.
- access
String | Security
Configuration Rule Access - Indicates the access allowed for this particular rule
- configuration
Name String - The name of the network manager security Configuration.
- direction
String | Security
Configuration Rule Direction - Indicates if the traffic matched against the rule in inbound or outbound.
- network
Manager StringName - The name of the network manager.
- protocol
String | Security
Configuration Rule Protocol - Network protocol this rule applies to.
- resource
Group StringName - The name of the resource group.
- rule
Collection StringName - The name of the network manager security Configuration rule collection.
- description String
- A description for this rule. Restricted to 140 chars.
- destination
Port List<String>Ranges - The destination port ranges.
- destinations
List<Address
Prefix Item> - The destination address prefixes. CIDR or destination IP ranges.
- display
Name String - A friendly name for the rule.
- priority Integer
- The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- rule
Name String - The name of the rule.
- source
Port List<String>Ranges - The source port ranges.
- sources
List<Address
Prefix Item> - The CIDR or source IP ranges.
- access
string | Security
Configuration Rule Access - Indicates the access allowed for this particular rule
- configuration
Name string - The name of the network manager security Configuration.
- direction
string | Security
Configuration Rule Direction - Indicates if the traffic matched against the rule in inbound or outbound.
- network
Manager stringName - The name of the network manager.
- protocol
string | Security
Configuration Rule Protocol - Network protocol this rule applies to.
- resource
Group stringName - The name of the resource group.
- rule
Collection stringName - The name of the network manager security Configuration rule collection.
- description string
- A description for this rule. Restricted to 140 chars.
- destination
Port string[]Ranges - The destination port ranges.
- destinations
Address
Prefix Item[] - The destination address prefixes. CIDR or destination IP ranges.
- display
Name string - A friendly name for the rule.
- priority number
- The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- rule
Name string - The name of the rule.
- source
Port string[]Ranges - The source port ranges.
- sources
Address
Prefix Item[] - The CIDR or source IP ranges.
- access
str | Security
Configuration Rule Access - Indicates the access allowed for this particular rule
- configuration_
name str - The name of the network manager security Configuration.
- direction
str | Security
Configuration 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 | Security
Configuration Rule Protocol - Network protocol this rule applies to.
- resource_
group_ strname - The name of the resource group.
- rule_
collection_ strname - The name of the network manager security Configuration rule collection.
- description str
- A description for this rule. Restricted to 140 chars.
- destination_
port_ Sequence[str]ranges - The destination port ranges.
- destinations
Sequence[Address
Prefix Item Args] - The destination address prefixes. CIDR or destination IP ranges.
- display_
name str - A friendly name for the rule.
- priority int
- The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- rule_
name str - The name of the rule.
- source_
port_ Sequence[str]ranges - The source port ranges.
- sources
Sequence[Address
Prefix Item Args] - The CIDR or source IP ranges.
- access
String | "Allow" | "Deny" | "Always
Allow" - Indicates the access allowed for this particular rule
- configuration
Name 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.
- network
Manager StringName - The name of the network manager.
- protocol String | "Tcp" | "Udp" | "Icmp" | "Esp" | "Any" | "Ah"
- Network protocol this rule applies to.
- resource
Group StringName - The name of the resource group.
- rule
Collection StringName - The name of the network manager security Configuration rule collection.
- description String
- A description for this rule. Restricted to 140 chars.
- destination
Port List<String>Ranges - The destination port ranges.
- destinations List<Property Map>
- The destination address prefixes. CIDR or destination IP ranges.
- display
Name String - A friendly name for the rule.
- priority Number
- The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
- rule
Name String - The name of the rule.
- source
Port 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 AdminRule 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.
- Provisioning
State string - The provisioning state of the resource.
- System
Data 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.
- Provisioning
State string - The provisioning state of the resource.
- System
Data 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.
- provisioning
State String - The provisioning state of the resource.
- system
Data 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.
- provisioning
State string - The provisioning state of the resource.
- system
Data 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 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.
- provisioning
State String - The provisioning state of the resource.
- system
Data Property Map - The system metadata related to this resource.
- type String
- Resource type.
Supporting Types
AddressPrefixItem, AddressPrefixItemArgs
- Address
Prefix string - Address prefix.
- Address
Prefix string | Pulumi.Type Azure Native. Network. Address Prefix Type - Address prefix type.
- Address
Prefix string - Address prefix.
- Address
Prefix string | AddressType Prefix Type - Address prefix type.
- address
Prefix String - Address prefix.
- address
Prefix String | AddressType Prefix Type - Address prefix type.
- address
Prefix string - Address prefix.
- address
Prefix string | AddressType Prefix Type - Address prefix type.
- address_
prefix str - Address prefix.
- address_
prefix_ str | Addresstype Prefix Type - Address prefix type.
- address
Prefix String - Address prefix.
- address
Prefix String | "IPPrefix" | "ServiceType Tag" - Address prefix type.
AddressPrefixItemResponse, AddressPrefixItemResponseArgs
- Address
Prefix string - Address prefix.
- Address
Prefix stringType - Address prefix type.
- Address
Prefix string - Address prefix.
- Address
Prefix stringType - Address prefix type.
- address
Prefix String - Address prefix.
- address
Prefix StringType - Address prefix type.
- address
Prefix string - Address prefix.
- address
Prefix stringType - Address prefix type.
- address_
prefix str - Address prefix.
- address_
prefix_ strtype - Address prefix type.
- address
Prefix String - Address prefix.
- address
Prefix StringType - Address prefix type.
AddressPrefixType, AddressPrefixTypeArgs
- IPPrefix
- IPPrefix
- Service
Tag - ServiceTag
- Address
Prefix Type IPPrefix - IPPrefix
- Address
Prefix Type Service Tag - ServiceTag
- IPPrefix
- IPPrefix
- Service
Tag - ServiceTag
- IPPrefix
- IPPrefix
- Service
Tag - ServiceTag
- IP_PREFIX
- IPPrefix
- SERVICE_TAG
- ServiceTag
- "IPPrefix"
- IPPrefix
- "Service
Tag" - ServiceTag
SecurityConfigurationRuleAccess, SecurityConfigurationRuleAccessArgs
- Allow
- Allow
- Deny
- Deny
- Always
Allow - AlwaysAllow
- Security
Configuration Rule Access Allow - Allow
- Security
Configuration Rule Access Deny - Deny
- Security
Configuration Rule Access Always Allow - AlwaysAllow
- Allow
- Allow
- Deny
- Deny
- Always
Allow - AlwaysAllow
- Allow
- Allow
- Deny
- Deny
- Always
Allow - AlwaysAllow
- ALLOW
- Allow
- DENY
- Deny
- ALWAYS_ALLOW
- AlwaysAllow
- "Allow"
- Allow
- "Deny"
- Deny
- "Always
Allow" - AlwaysAllow
SecurityConfigurationRuleDirection, SecurityConfigurationRuleDirectionArgs
- Inbound
- Inbound
- Outbound
- Outbound
- Security
Configuration Rule Direction Inbound - Inbound
- Security
Configuration 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
- Security
Configuration Rule Protocol Tcp - Tcp
- Security
Configuration Rule Protocol Udp - Udp
- Security
Configuration Rule Protocol Icmp - Icmp
- Security
Configuration Rule Protocol Esp - Esp
- Security
Configuration Rule Protocol Any - Any
- Security
Configuration 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
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The type of identity that last modified the resource.
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The type of identity that last modified the resource.
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The type of identity that last modified the resource.
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The type of identity that last modified the resource.
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified 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.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The type of identity that last modified the resource.
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified 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:AdminRule SampleAdminRule /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0