azure-native.security.JitNetworkAccessPolicy
Explore with Pulumi AI
API Version: 2020-01-01.
Example Usage
Create JIT network access policy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var jitNetworkAccessPolicy = new AzureNative.Security.JitNetworkAccessPolicy("jitNetworkAccessPolicy", new()
{
AscLocation = "westeurope",
JitNetworkAccessPolicyName = "default",
Kind = "Basic",
Requests = new[]
{
new AzureNative.Security.Inputs.JitNetworkAccessRequestArgs
{
Requestor = "barbara@contoso.com",
StartTimeUtc = "2018-05-17T08:06:45.5691611Z",
VirtualMachines = new[]
{
new AzureNative.Security.Inputs.JitNetworkAccessRequestVirtualMachineArgs
{
Id = "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg1/providers/Microsoft.Compute/virtualMachines/vm1",
Ports = new[]
{
new AzureNative.Security.Inputs.JitNetworkAccessRequestPortArgs
{
AllowedSourceAddressPrefix = "192.127.0.2",
EndTimeUtc = "2018-05-17T09:06:45.5691611Z",
Number = 3389,
Status = "Initiated",
StatusReason = "UserRequested",
},
},
},
},
},
},
ResourceGroupName = "myRg1",
VirtualMachines = new[]
{
new AzureNative.Security.Inputs.JitNetworkAccessPolicyVirtualMachineArgs
{
Id = "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg1/providers/Microsoft.Compute/virtualMachines/vm1",
Ports = new[]
{
new AzureNative.Security.Inputs.JitNetworkAccessPortRuleArgs
{
AllowedSourceAddressPrefix = "*",
MaxRequestAccessDuration = "PT3H",
Number = 22,
Protocol = "*",
},
new AzureNative.Security.Inputs.JitNetworkAccessPortRuleArgs
{
AllowedSourceAddressPrefix = "*",
MaxRequestAccessDuration = "PT3H",
Number = 3389,
Protocol = "*",
},
},
},
},
});
});
package main
import (
security "github.com/pulumi/pulumi-azure-native-sdk/security"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := security.NewJitNetworkAccessPolicy(ctx, "jitNetworkAccessPolicy", &security.JitNetworkAccessPolicyArgs{
AscLocation: pulumi.String("westeurope"),
JitNetworkAccessPolicyName: pulumi.String("default"),
Kind: pulumi.String("Basic"),
Requests: []security.JitNetworkAccessRequestArgs{
{
Requestor: pulumi.String("barbara@contoso.com"),
StartTimeUtc: pulumi.String("2018-05-17T08:06:45.5691611Z"),
VirtualMachines: security.JitNetworkAccessRequestVirtualMachineArray{
{
Id: pulumi.String("/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg1/providers/Microsoft.Compute/virtualMachines/vm1"),
Ports: security.JitNetworkAccessRequestPortArray{
{
AllowedSourceAddressPrefix: pulumi.String("192.127.0.2"),
EndTimeUtc: pulumi.String("2018-05-17T09:06:45.5691611Z"),
Number: pulumi.Int(3389),
Status: pulumi.String("Initiated"),
StatusReason: pulumi.String("UserRequested"),
},
},
},
},
},
},
ResourceGroupName: pulumi.String("myRg1"),
VirtualMachines: []security.JitNetworkAccessPolicyVirtualMachineArgs{
{
Id: pulumi.String("/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg1/providers/Microsoft.Compute/virtualMachines/vm1"),
Ports: security.JitNetworkAccessPortRuleArray{
{
AllowedSourceAddressPrefix: pulumi.String("*"),
MaxRequestAccessDuration: pulumi.String("PT3H"),
Number: pulumi.Int(22),
Protocol: pulumi.String("*"),
},
{
AllowedSourceAddressPrefix: pulumi.String("*"),
MaxRequestAccessDuration: pulumi.String("PT3H"),
Number: pulumi.Int(3389),
Protocol: pulumi.String("*"),
},
},
},
},
})
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.security.JitNetworkAccessPolicy;
import com.pulumi.azurenative.security.JitNetworkAccessPolicyArgs;
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 jitNetworkAccessPolicy = new JitNetworkAccessPolicy("jitNetworkAccessPolicy", JitNetworkAccessPolicyArgs.builder()
.ascLocation("westeurope")
.jitNetworkAccessPolicyName("default")
.kind("Basic")
.requests(Map.ofEntries(
Map.entry("requestor", "barbara@contoso.com"),
Map.entry("startTimeUtc", "2018-05-17T08:06:45.5691611Z"),
Map.entry("virtualMachines", Map.ofEntries(
Map.entry("id", "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg1/providers/Microsoft.Compute/virtualMachines/vm1"),
Map.entry("ports", Map.ofEntries(
Map.entry("allowedSourceAddressPrefix", "192.127.0.2"),
Map.entry("endTimeUtc", "2018-05-17T09:06:45.5691611Z"),
Map.entry("number", 3389),
Map.entry("status", "Initiated"),
Map.entry("statusReason", "UserRequested")
))
))
))
.resourceGroupName("myRg1")
.virtualMachines(Map.ofEntries(
Map.entry("id", "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg1/providers/Microsoft.Compute/virtualMachines/vm1"),
Map.entry("ports",
Map.ofEntries(
Map.entry("allowedSourceAddressPrefix", "*"),
Map.entry("maxRequestAccessDuration", "PT3H"),
Map.entry("number", 22),
Map.entry("protocol", "*")
),
Map.ofEntries(
Map.entry("allowedSourceAddressPrefix", "*"),
Map.entry("maxRequestAccessDuration", "PT3H"),
Map.entry("number", 3389),
Map.entry("protocol", "*")
))
))
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
jit_network_access_policy = azure_native.security.JitNetworkAccessPolicy("jitNetworkAccessPolicy",
asc_location="westeurope",
jit_network_access_policy_name="default",
kind="Basic",
requests=[{
"requestor": "barbara@contoso.com",
"startTimeUtc": "2018-05-17T08:06:45.5691611Z",
"virtualMachines": [{
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg1/providers/Microsoft.Compute/virtualMachines/vm1",
"ports": [azure_native.security.JitNetworkAccessRequestPortArgs(
allowed_source_address_prefix="192.127.0.2",
end_time_utc="2018-05-17T09:06:45.5691611Z",
number=3389,
status="Initiated",
status_reason="UserRequested",
)],
}],
}],
resource_group_name="myRg1",
virtual_machines=[{
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg1/providers/Microsoft.Compute/virtualMachines/vm1",
"ports": [
azure_native.security.JitNetworkAccessPortRuleArgs(
allowed_source_address_prefix="*",
max_request_access_duration="PT3H",
number=22,
protocol="*",
),
azure_native.security.JitNetworkAccessPortRuleArgs(
allowed_source_address_prefix="*",
max_request_access_duration="PT3H",
number=3389,
protocol="*",
),
],
}])
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const jitNetworkAccessPolicy = new azure_native.security.JitNetworkAccessPolicy("jitNetworkAccessPolicy", {
ascLocation: "westeurope",
jitNetworkAccessPolicyName: "default",
kind: "Basic",
requests: [{
requestor: "barbara@contoso.com",
startTimeUtc: "2018-05-17T08:06:45.5691611Z",
virtualMachines: [{
id: "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg1/providers/Microsoft.Compute/virtualMachines/vm1",
ports: [{
allowedSourceAddressPrefix: "192.127.0.2",
endTimeUtc: "2018-05-17T09:06:45.5691611Z",
number: 3389,
status: "Initiated",
statusReason: "UserRequested",
}],
}],
}],
resourceGroupName: "myRg1",
virtualMachines: [{
id: "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg1/providers/Microsoft.Compute/virtualMachines/vm1",
ports: [
{
allowedSourceAddressPrefix: "*",
maxRequestAccessDuration: "PT3H",
number: 22,
protocol: "*",
},
{
allowedSourceAddressPrefix: "*",
maxRequestAccessDuration: "PT3H",
number: 3389,
protocol: "*",
},
],
}],
});
resources:
jitNetworkAccessPolicy:
type: azure-native:security:JitNetworkAccessPolicy
properties:
ascLocation: westeurope
jitNetworkAccessPolicyName: default
kind: Basic
requests:
- requestor: barbara@contoso.com
startTimeUtc: 2018-05-17T08:06:45.5691611Z
virtualMachines:
- id: /subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg1/providers/Microsoft.Compute/virtualMachines/vm1
ports:
- allowedSourceAddressPrefix: 192.127.0.2
endTimeUtc: 2018-05-17T09:06:45.5691611Z
number: 3389
status: Initiated
statusReason: UserRequested
resourceGroupName: myRg1
virtualMachines:
- id: /subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg1/providers/Microsoft.Compute/virtualMachines/vm1
ports:
- allowedSourceAddressPrefix: '*'
maxRequestAccessDuration: PT3H
number: 22
protocol: '*'
- allowedSourceAddressPrefix: '*'
maxRequestAccessDuration: PT3H
number: 3389
protocol: '*'
Create JitNetworkAccessPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new JitNetworkAccessPolicy(name: string, args: JitNetworkAccessPolicyArgs, opts?: CustomResourceOptions);
@overload
def JitNetworkAccessPolicy(resource_name: str,
args: JitNetworkAccessPolicyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def JitNetworkAccessPolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
asc_location: Optional[str] = None,
resource_group_name: Optional[str] = None,
virtual_machines: Optional[Sequence[JitNetworkAccessPolicyVirtualMachineArgs]] = None,
jit_network_access_policy_name: Optional[str] = None,
kind: Optional[str] = None,
requests: Optional[Sequence[JitNetworkAccessRequestArgs]] = None)
func NewJitNetworkAccessPolicy(ctx *Context, name string, args JitNetworkAccessPolicyArgs, opts ...ResourceOption) (*JitNetworkAccessPolicy, error)
public JitNetworkAccessPolicy(string name, JitNetworkAccessPolicyArgs args, CustomResourceOptions? opts = null)
public JitNetworkAccessPolicy(String name, JitNetworkAccessPolicyArgs args)
public JitNetworkAccessPolicy(String name, JitNetworkAccessPolicyArgs args, CustomResourceOptions options)
type: azure-native:security:JitNetworkAccessPolicy
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 JitNetworkAccessPolicyArgs
- 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 JitNetworkAccessPolicyArgs
- 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 JitNetworkAccessPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args JitNetworkAccessPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args JitNetworkAccessPolicyArgs
- 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 jitNetworkAccessPolicyResource = new AzureNative.Security.JitNetworkAccessPolicy("jitNetworkAccessPolicyResource", new()
{
AscLocation = "string",
ResourceGroupName = "string",
VirtualMachines = new[]
{
{
{ "id", "string" },
{ "ports", new[]
{
{
{ "maxRequestAccessDuration", "string" },
{ "number", 0 },
{ "protocol", "string" },
{ "allowedSourceAddressPrefix", "string" },
{ "allowedSourceAddressPrefixes", new[]
{
"string",
} },
},
} },
{ "publicIpAddress", "string" },
},
},
JitNetworkAccessPolicyName = "string",
Kind = "string",
Requests = new[]
{
{
{ "requestor", "string" },
{ "startTimeUtc", "string" },
{ "virtualMachines", new[]
{
{
{ "id", "string" },
{ "ports", new[]
{
{
{ "endTimeUtc", "string" },
{ "number", 0 },
{ "status", "string" },
{ "statusReason", "string" },
{ "allowedSourceAddressPrefix", "string" },
{ "allowedSourceAddressPrefixes", new[]
{
"string",
} },
{ "mappedPort", 0 },
},
} },
},
} },
{ "justification", "string" },
},
},
});
example, err := security.NewJitNetworkAccessPolicy(ctx, "jitNetworkAccessPolicyResource", &security.JitNetworkAccessPolicyArgs{
AscLocation: "string",
ResourceGroupName: "string",
VirtualMachines: []map[string]interface{}{
map[string]interface{}{
"id": "string",
"ports": []map[string]interface{}{
map[string]interface{}{
"maxRequestAccessDuration": "string",
"number": 0,
"protocol": "string",
"allowedSourceAddressPrefix": "string",
"allowedSourceAddressPrefixes": []string{
"string",
},
},
},
"publicIpAddress": "string",
},
},
JitNetworkAccessPolicyName: "string",
Kind: "string",
Requests: []map[string]interface{}{
map[string]interface{}{
"requestor": "string",
"startTimeUtc": "string",
"virtualMachines": []map[string]interface{}{
map[string]interface{}{
"id": "string",
"ports": []map[string]interface{}{
map[string]interface{}{
"endTimeUtc": "string",
"number": 0,
"status": "string",
"statusReason": "string",
"allowedSourceAddressPrefix": "string",
"allowedSourceAddressPrefixes": []string{
"string",
},
"mappedPort": 0,
},
},
},
},
"justification": "string",
},
},
})
var jitNetworkAccessPolicyResource = new JitNetworkAccessPolicy("jitNetworkAccessPolicyResource", JitNetworkAccessPolicyArgs.builder()
.ascLocation("string")
.resourceGroupName("string")
.virtualMachines(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.jitNetworkAccessPolicyName("string")
.kind("string")
.requests(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
jit_network_access_policy_resource = azure_native.security.JitNetworkAccessPolicy("jitNetworkAccessPolicyResource",
asc_location=string,
resource_group_name=string,
virtual_machines=[{
id: string,
ports: [{
maxRequestAccessDuration: string,
number: 0,
protocol: string,
allowedSourceAddressPrefix: string,
allowedSourceAddressPrefixes: [string],
}],
publicIpAddress: string,
}],
jit_network_access_policy_name=string,
kind=string,
requests=[{
requestor: string,
startTimeUtc: string,
virtualMachines: [{
id: string,
ports: [{
endTimeUtc: string,
number: 0,
status: string,
statusReason: string,
allowedSourceAddressPrefix: string,
allowedSourceAddressPrefixes: [string],
mappedPort: 0,
}],
}],
justification: string,
}])
const jitNetworkAccessPolicyResource = new azure_native.security.JitNetworkAccessPolicy("jitNetworkAccessPolicyResource", {
ascLocation: "string",
resourceGroupName: "string",
virtualMachines: [{
id: "string",
ports: [{
maxRequestAccessDuration: "string",
number: 0,
protocol: "string",
allowedSourceAddressPrefix: "string",
allowedSourceAddressPrefixes: ["string"],
}],
publicIpAddress: "string",
}],
jitNetworkAccessPolicyName: "string",
kind: "string",
requests: [{
requestor: "string",
startTimeUtc: "string",
virtualMachines: [{
id: "string",
ports: [{
endTimeUtc: "string",
number: 0,
status: "string",
statusReason: "string",
allowedSourceAddressPrefix: "string",
allowedSourceAddressPrefixes: ["string"],
mappedPort: 0,
}],
}],
justification: "string",
}],
});
type: azure-native:security:JitNetworkAccessPolicy
properties:
ascLocation: string
jitNetworkAccessPolicyName: string
kind: string
requests:
- justification: string
requestor: string
startTimeUtc: string
virtualMachines:
- id: string
ports:
- allowedSourceAddressPrefix: string
allowedSourceAddressPrefixes:
- string
endTimeUtc: string
mappedPort: 0
number: 0
status: string
statusReason: string
resourceGroupName: string
virtualMachines:
- id: string
ports:
- allowedSourceAddressPrefix: string
allowedSourceAddressPrefixes:
- string
maxRequestAccessDuration: string
number: 0
protocol: string
publicIpAddress: string
JitNetworkAccessPolicy 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 JitNetworkAccessPolicy resource accepts the following input properties:
- Asc
Location string - The location where ASC stores the data of the subscription. can be retrieved from Get locations
- Resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- Virtual
Machines List<Pulumi.Azure Native. Security. Inputs. Jit Network Access Policy Virtual Machine> - Configurations for Microsoft.Compute/virtualMachines resource type.
- Jit
Network stringAccess Policy Name - Name of a Just-in-Time access configuration policy.
- Kind string
- Kind of the resource
- Requests
List<Pulumi.
Azure Native. Security. Inputs. Jit Network Access Request>
- Asc
Location string - The location where ASC stores the data of the subscription. can be retrieved from Get locations
- Resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- Virtual
Machines []JitNetwork Access Policy Virtual Machine Args - Configurations for Microsoft.Compute/virtualMachines resource type.
- Jit
Network stringAccess Policy Name - Name of a Just-in-Time access configuration policy.
- Kind string
- Kind of the resource
- Requests
[]Jit
Network Access Request Args
- asc
Location String - The location where ASC stores the data of the subscription. can be retrieved from Get locations
- resource
Group StringName - The name of the resource group within the user's subscription. The name is case insensitive.
- virtual
Machines List<JitNetwork Access Policy Virtual Machine> - Configurations for Microsoft.Compute/virtualMachines resource type.
- jit
Network StringAccess Policy Name - Name of a Just-in-Time access configuration policy.
- kind String
- Kind of the resource
- requests
List<Jit
Network Access Request>
- asc
Location string - The location where ASC stores the data of the subscription. can be retrieved from Get locations
- resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- virtual
Machines JitNetwork Access Policy Virtual Machine[] - Configurations for Microsoft.Compute/virtualMachines resource type.
- jit
Network stringAccess Policy Name - Name of a Just-in-Time access configuration policy.
- kind string
- Kind of the resource
- requests
Jit
Network Access Request[]
- asc_
location str - The location where ASC stores the data of the subscription. can be retrieved from Get locations
- resource_
group_ strname - The name of the resource group within the user's subscription. The name is case insensitive.
- virtual_
machines Sequence[JitNetwork Access Policy Virtual Machine Args] - Configurations for Microsoft.Compute/virtualMachines resource type.
- jit_
network_ straccess_ policy_ name - Name of a Just-in-Time access configuration policy.
- kind str
- Kind of the resource
- requests
Sequence[Jit
Network Access Request Args]
- asc
Location String - The location where ASC stores the data of the subscription. can be retrieved from Get locations
- resource
Group StringName - The name of the resource group within the user's subscription. The name is case insensitive.
- virtual
Machines List<Property Map> - Configurations for Microsoft.Compute/virtualMachines resource type.
- jit
Network StringAccess Policy Name - Name of a Just-in-Time access configuration policy.
- kind String
- Kind of the resource
- requests List<Property Map>
Outputs
All input properties are implicitly available as output properties. Additionally, the JitNetworkAccessPolicy resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- Location where the resource is stored
- Name string
- Resource name
- Provisioning
State string - Gets the provisioning state of the Just-in-Time policy.
- Type string
- Resource type
- Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- Location where the resource is stored
- Name string
- Resource name
- Provisioning
State string - Gets the provisioning state of the Just-in-Time policy.
- Type string
- Resource type
- id String
- The provider-assigned unique ID for this managed resource.
- location String
- Location where the resource is stored
- name String
- Resource name
- provisioning
State String - Gets the provisioning state of the Just-in-Time policy.
- type String
- Resource type
- id string
- The provider-assigned unique ID for this managed resource.
- location string
- Location where the resource is stored
- name string
- Resource name
- provisioning
State string - Gets the provisioning state of the Just-in-Time policy.
- type string
- Resource type
- id str
- The provider-assigned unique ID for this managed resource.
- location str
- Location where the resource is stored
- name str
- Resource name
- provisioning_
state str - Gets the provisioning state of the Just-in-Time policy.
- type str
- Resource type
- id String
- The provider-assigned unique ID for this managed resource.
- location String
- Location where the resource is stored
- name String
- Resource name
- provisioning
State String - Gets the provisioning state of the Just-in-Time policy.
- type String
- Resource type
Supporting Types
JitNetworkAccessPolicyVirtualMachine, JitNetworkAccessPolicyVirtualMachineArgs
- Id string
- Resource ID of the virtual machine that is linked to this policy
- Ports
List<Pulumi.
Azure Native. Security. Inputs. Jit Network Access Port Rule> - Port configurations for the virtual machine
- Public
Ip stringAddress - Public IP address of the Azure Firewall that is linked to this policy, if applicable
- Id string
- Resource ID of the virtual machine that is linked to this policy
- Ports
[]Jit
Network Access Port Rule - Port configurations for the virtual machine
- Public
Ip stringAddress - Public IP address of the Azure Firewall that is linked to this policy, if applicable
- id String
- Resource ID of the virtual machine that is linked to this policy
- ports
List<Jit
Network Access Port Rule> - Port configurations for the virtual machine
- public
Ip StringAddress - Public IP address of the Azure Firewall that is linked to this policy, if applicable
- id string
- Resource ID of the virtual machine that is linked to this policy
- ports
Jit
Network Access Port Rule[] - Port configurations for the virtual machine
- public
Ip stringAddress - Public IP address of the Azure Firewall that is linked to this policy, if applicable
- id str
- Resource ID of the virtual machine that is linked to this policy
- ports
Sequence[Jit
Network Access Port Rule] - Port configurations for the virtual machine
- public_
ip_ straddress - Public IP address of the Azure Firewall that is linked to this policy, if applicable
- id String
- Resource ID of the virtual machine that is linked to this policy
- ports List<Property Map>
- Port configurations for the virtual machine
- public
Ip StringAddress - Public IP address of the Azure Firewall that is linked to this policy, if applicable
JitNetworkAccessPolicyVirtualMachineResponse, JitNetworkAccessPolicyVirtualMachineResponseArgs
- Id string
- Resource ID of the virtual machine that is linked to this policy
- Ports
List<Pulumi.
Azure Native. Security. Inputs. Jit Network Access Port Rule Response> - Port configurations for the virtual machine
- Public
Ip stringAddress - Public IP address of the Azure Firewall that is linked to this policy, if applicable
- Id string
- Resource ID of the virtual machine that is linked to this policy
- Ports
[]Jit
Network Access Port Rule Response - Port configurations for the virtual machine
- Public
Ip stringAddress - Public IP address of the Azure Firewall that is linked to this policy, if applicable
- id String
- Resource ID of the virtual machine that is linked to this policy
- ports
List<Jit
Network Access Port Rule Response> - Port configurations for the virtual machine
- public
Ip StringAddress - Public IP address of the Azure Firewall that is linked to this policy, if applicable
- id string
- Resource ID of the virtual machine that is linked to this policy
- ports
Jit
Network Access Port Rule Response[] - Port configurations for the virtual machine
- public
Ip stringAddress - Public IP address of the Azure Firewall that is linked to this policy, if applicable
- id str
- Resource ID of the virtual machine that is linked to this policy
- ports
Sequence[Jit
Network Access Port Rule Response] - Port configurations for the virtual machine
- public_
ip_ straddress - Public IP address of the Azure Firewall that is linked to this policy, if applicable
- id String
- Resource ID of the virtual machine that is linked to this policy
- ports List<Property Map>
- Port configurations for the virtual machine
- public
Ip StringAddress - Public IP address of the Azure Firewall that is linked to this policy, if applicable
JitNetworkAccessPortRule, JitNetworkAccessPortRuleArgs
- Max
Request stringAccess Duration - Maximum duration requests can be made for. In ISO 8601 duration format. Minimum 5 minutes, maximum 1 day
- Number int
- Protocol
string | Pulumi.
Azure Native. Security. Protocol - Allowed
Source stringAddress Prefix - Mutually exclusive with the "allowedSourceAddressPrefixes" parameter. Should be an IP address or CIDR, for example "192.168.0.3" or "192.168.0.0/16".
- Allowed
Source List<string>Address Prefixes - Mutually exclusive with the "allowedSourceAddressPrefix" parameter.
- Max
Request stringAccess Duration - Maximum duration requests can be made for. In ISO 8601 duration format. Minimum 5 minutes, maximum 1 day
- Number int
- Protocol string | Protocol
- Allowed
Source stringAddress Prefix - Mutually exclusive with the "allowedSourceAddressPrefixes" parameter. Should be an IP address or CIDR, for example "192.168.0.3" or "192.168.0.0/16".
- Allowed
Source []stringAddress Prefixes - Mutually exclusive with the "allowedSourceAddressPrefix" parameter.
- max
Request StringAccess Duration - Maximum duration requests can be made for. In ISO 8601 duration format. Minimum 5 minutes, maximum 1 day
- number Integer
- protocol String | Protocol
- allowed
Source StringAddress Prefix - Mutually exclusive with the "allowedSourceAddressPrefixes" parameter. Should be an IP address or CIDR, for example "192.168.0.3" or "192.168.0.0/16".
- allowed
Source List<String>Address Prefixes - Mutually exclusive with the "allowedSourceAddressPrefix" parameter.
- max
Request stringAccess Duration - Maximum duration requests can be made for. In ISO 8601 duration format. Minimum 5 minutes, maximum 1 day
- number number
- protocol string | Protocol
- allowed
Source stringAddress Prefix - Mutually exclusive with the "allowedSourceAddressPrefixes" parameter. Should be an IP address or CIDR, for example "192.168.0.3" or "192.168.0.0/16".
- allowed
Source string[]Address Prefixes - Mutually exclusive with the "allowedSourceAddressPrefix" parameter.
- max_
request_ straccess_ duration - Maximum duration requests can be made for. In ISO 8601 duration format. Minimum 5 minutes, maximum 1 day
- number int
- protocol str | Protocol
- allowed_
source_ straddress_ prefix - Mutually exclusive with the "allowedSourceAddressPrefixes" parameter. Should be an IP address or CIDR, for example "192.168.0.3" or "192.168.0.0/16".
- allowed_
source_ Sequence[str]address_ prefixes - Mutually exclusive with the "allowedSourceAddressPrefix" parameter.
- max
Request StringAccess Duration - Maximum duration requests can be made for. In ISO 8601 duration format. Minimum 5 minutes, maximum 1 day
- number Number
- protocol String | "TCP" | "UDP" | "*"
- allowed
Source StringAddress Prefix - Mutually exclusive with the "allowedSourceAddressPrefixes" parameter. Should be an IP address or CIDR, for example "192.168.0.3" or "192.168.0.0/16".
- allowed
Source List<String>Address Prefixes - Mutually exclusive with the "allowedSourceAddressPrefix" parameter.
JitNetworkAccessPortRuleResponse, JitNetworkAccessPortRuleResponseArgs
- Max
Request stringAccess Duration - Maximum duration requests can be made for. In ISO 8601 duration format. Minimum 5 minutes, maximum 1 day
- Number int
- Protocol string
- Allowed
Source stringAddress Prefix - Mutually exclusive with the "allowedSourceAddressPrefixes" parameter. Should be an IP address or CIDR, for example "192.168.0.3" or "192.168.0.0/16".
- Allowed
Source List<string>Address Prefixes - Mutually exclusive with the "allowedSourceAddressPrefix" parameter.
- Max
Request stringAccess Duration - Maximum duration requests can be made for. In ISO 8601 duration format. Minimum 5 minutes, maximum 1 day
- Number int
- Protocol string
- Allowed
Source stringAddress Prefix - Mutually exclusive with the "allowedSourceAddressPrefixes" parameter. Should be an IP address or CIDR, for example "192.168.0.3" or "192.168.0.0/16".
- Allowed
Source []stringAddress Prefixes - Mutually exclusive with the "allowedSourceAddressPrefix" parameter.
- max
Request StringAccess Duration - Maximum duration requests can be made for. In ISO 8601 duration format. Minimum 5 minutes, maximum 1 day
- number Integer
- protocol String
- allowed
Source StringAddress Prefix - Mutually exclusive with the "allowedSourceAddressPrefixes" parameter. Should be an IP address or CIDR, for example "192.168.0.3" or "192.168.0.0/16".
- allowed
Source List<String>Address Prefixes - Mutually exclusive with the "allowedSourceAddressPrefix" parameter.
- max
Request stringAccess Duration - Maximum duration requests can be made for. In ISO 8601 duration format. Minimum 5 minutes, maximum 1 day
- number number
- protocol string
- allowed
Source stringAddress Prefix - Mutually exclusive with the "allowedSourceAddressPrefixes" parameter. Should be an IP address or CIDR, for example "192.168.0.3" or "192.168.0.0/16".
- allowed
Source string[]Address Prefixes - Mutually exclusive with the "allowedSourceAddressPrefix" parameter.
- max_
request_ straccess_ duration - Maximum duration requests can be made for. In ISO 8601 duration format. Minimum 5 minutes, maximum 1 day
- number int
- protocol str
- allowed_
source_ straddress_ prefix - Mutually exclusive with the "allowedSourceAddressPrefixes" parameter. Should be an IP address or CIDR, for example "192.168.0.3" or "192.168.0.0/16".
- allowed_
source_ Sequence[str]address_ prefixes - Mutually exclusive with the "allowedSourceAddressPrefix" parameter.
- max
Request StringAccess Duration - Maximum duration requests can be made for. In ISO 8601 duration format. Minimum 5 minutes, maximum 1 day
- number Number
- protocol String
- allowed
Source StringAddress Prefix - Mutually exclusive with the "allowedSourceAddressPrefixes" parameter. Should be an IP address or CIDR, for example "192.168.0.3" or "192.168.0.0/16".
- allowed
Source List<String>Address Prefixes - Mutually exclusive with the "allowedSourceAddressPrefix" parameter.
JitNetworkAccessRequest, JitNetworkAccessRequestArgs
- Requestor string
- The identity of the person who made the request
- Start
Time stringUtc - The start time of the request in UTC
- Virtual
Machines List<Pulumi.Azure Native. Security. Inputs. Jit Network Access Request Virtual Machine> - Justification string
- The justification for making the initiate request
- Requestor string
- The identity of the person who made the request
- Start
Time stringUtc - The start time of the request in UTC
- Virtual
Machines []JitNetwork Access Request Virtual Machine - Justification string
- The justification for making the initiate request
- requestor String
- The identity of the person who made the request
- start
Time StringUtc - The start time of the request in UTC
- virtual
Machines List<JitNetwork Access Request Virtual Machine> - justification String
- The justification for making the initiate request
- requestor string
- The identity of the person who made the request
- start
Time stringUtc - The start time of the request in UTC
- virtual
Machines JitNetwork Access Request Virtual Machine[] - justification string
- The justification for making the initiate request
- requestor str
- The identity of the person who made the request
- start_
time_ strutc - The start time of the request in UTC
- virtual_
machines Sequence[JitNetwork Access Request Virtual Machine] - justification str
- The justification for making the initiate request
- requestor String
- The identity of the person who made the request
- start
Time StringUtc - The start time of the request in UTC
- virtual
Machines List<Property Map> - justification String
- The justification for making the initiate request
JitNetworkAccessRequestPort, JitNetworkAccessRequestPortArgs
- End
Time stringUtc - The date & time at which the request ends in UTC
- Number int
- Status
string | Pulumi.
Azure Native. Security. Status - The status of the port
- Status
Reason string | Pulumi.Azure Native. Security. Status Reason - A description of why the
status
has its value - Allowed
Source stringAddress Prefix - Mutually exclusive with the "allowedSourceAddressPrefixes" parameter. Should be an IP address or CIDR, for example "192.168.0.3" or "192.168.0.0/16".
- Allowed
Source List<string>Address Prefixes - Mutually exclusive with the "allowedSourceAddressPrefix" parameter.
- Mapped
Port int - The port which is mapped to this port's
number
in the Azure Firewall, if applicable
- End
Time stringUtc - The date & time at which the request ends in UTC
- Number int
- Status string | Status
- The status of the port
- Status
Reason string | StatusReason - A description of why the
status
has its value - Allowed
Source stringAddress Prefix - Mutually exclusive with the "allowedSourceAddressPrefixes" parameter. Should be an IP address or CIDR, for example "192.168.0.3" or "192.168.0.0/16".
- Allowed
Source []stringAddress Prefixes - Mutually exclusive with the "allowedSourceAddressPrefix" parameter.
- Mapped
Port int - The port which is mapped to this port's
number
in the Azure Firewall, if applicable
- end
Time StringUtc - The date & time at which the request ends in UTC
- number Integer
- status String | Status
- The status of the port
- status
Reason String | StatusReason - A description of why the
status
has its value - allowed
Source StringAddress Prefix - Mutually exclusive with the "allowedSourceAddressPrefixes" parameter. Should be an IP address or CIDR, for example "192.168.0.3" or "192.168.0.0/16".
- allowed
Source List<String>Address Prefixes - Mutually exclusive with the "allowedSourceAddressPrefix" parameter.
- mapped
Port Integer - The port which is mapped to this port's
number
in the Azure Firewall, if applicable
- end
Time stringUtc - The date & time at which the request ends in UTC
- number number
- status string | Status
- The status of the port
- status
Reason string | StatusReason - A description of why the
status
has its value - allowed
Source stringAddress Prefix - Mutually exclusive with the "allowedSourceAddressPrefixes" parameter. Should be an IP address or CIDR, for example "192.168.0.3" or "192.168.0.0/16".
- allowed
Source string[]Address Prefixes - Mutually exclusive with the "allowedSourceAddressPrefix" parameter.
- mapped
Port number - The port which is mapped to this port's
number
in the Azure Firewall, if applicable
- end_
time_ strutc - The date & time at which the request ends in UTC
- number int
- status str | Status
- The status of the port
- status_
reason str | StatusReason - A description of why the
status
has its value - allowed_
source_ straddress_ prefix - Mutually exclusive with the "allowedSourceAddressPrefixes" parameter. Should be an IP address or CIDR, for example "192.168.0.3" or "192.168.0.0/16".
- allowed_
source_ Sequence[str]address_ prefixes - Mutually exclusive with the "allowedSourceAddressPrefix" parameter.
- mapped_
port int - The port which is mapped to this port's
number
in the Azure Firewall, if applicable
- end
Time StringUtc - The date & time at which the request ends in UTC
- number Number
- status String | "Revoked" | "Initiated"
- The status of the port
- status
Reason String | "Expired" | "UserRequested" | "Newer Request Initiated" - A description of why the
status
has its value - allowed
Source StringAddress Prefix - Mutually exclusive with the "allowedSourceAddressPrefixes" parameter. Should be an IP address or CIDR, for example "192.168.0.3" or "192.168.0.0/16".
- allowed
Source List<String>Address Prefixes - Mutually exclusive with the "allowedSourceAddressPrefix" parameter.
- mapped
Port Number - The port which is mapped to this port's
number
in the Azure Firewall, if applicable
JitNetworkAccessRequestPortResponse, JitNetworkAccessRequestPortResponseArgs
- End
Time stringUtc - The date & time at which the request ends in UTC
- Number int
- Status string
- The status of the port
- Status
Reason string - A description of why the
status
has its value - Allowed
Source stringAddress Prefix - Mutually exclusive with the "allowedSourceAddressPrefixes" parameter. Should be an IP address or CIDR, for example "192.168.0.3" or "192.168.0.0/16".
- Allowed
Source List<string>Address Prefixes - Mutually exclusive with the "allowedSourceAddressPrefix" parameter.
- Mapped
Port int - The port which is mapped to this port's
number
in the Azure Firewall, if applicable
- End
Time stringUtc - The date & time at which the request ends in UTC
- Number int
- Status string
- The status of the port
- Status
Reason string - A description of why the
status
has its value - Allowed
Source stringAddress Prefix - Mutually exclusive with the "allowedSourceAddressPrefixes" parameter. Should be an IP address or CIDR, for example "192.168.0.3" or "192.168.0.0/16".
- Allowed
Source []stringAddress Prefixes - Mutually exclusive with the "allowedSourceAddressPrefix" parameter.
- Mapped
Port int - The port which is mapped to this port's
number
in the Azure Firewall, if applicable
- end
Time StringUtc - The date & time at which the request ends in UTC
- number Integer
- status String
- The status of the port
- status
Reason String - A description of why the
status
has its value - allowed
Source StringAddress Prefix - Mutually exclusive with the "allowedSourceAddressPrefixes" parameter. Should be an IP address or CIDR, for example "192.168.0.3" or "192.168.0.0/16".
- allowed
Source List<String>Address Prefixes - Mutually exclusive with the "allowedSourceAddressPrefix" parameter.
- mapped
Port Integer - The port which is mapped to this port's
number
in the Azure Firewall, if applicable
- end
Time stringUtc - The date & time at which the request ends in UTC
- number number
- status string
- The status of the port
- status
Reason string - A description of why the
status
has its value - allowed
Source stringAddress Prefix - Mutually exclusive with the "allowedSourceAddressPrefixes" parameter. Should be an IP address or CIDR, for example "192.168.0.3" or "192.168.0.0/16".
- allowed
Source string[]Address Prefixes - Mutually exclusive with the "allowedSourceAddressPrefix" parameter.
- mapped
Port number - The port which is mapped to this port's
number
in the Azure Firewall, if applicable
- end_
time_ strutc - The date & time at which the request ends in UTC
- number int
- status str
- The status of the port
- status_
reason str - A description of why the
status
has its value - allowed_
source_ straddress_ prefix - Mutually exclusive with the "allowedSourceAddressPrefixes" parameter. Should be an IP address or CIDR, for example "192.168.0.3" or "192.168.0.0/16".
- allowed_
source_ Sequence[str]address_ prefixes - Mutually exclusive with the "allowedSourceAddressPrefix" parameter.
- mapped_
port int - The port which is mapped to this port's
number
in the Azure Firewall, if applicable
- end
Time StringUtc - The date & time at which the request ends in UTC
- number Number
- status String
- The status of the port
- status
Reason String - A description of why the
status
has its value - allowed
Source StringAddress Prefix - Mutually exclusive with the "allowedSourceAddressPrefixes" parameter. Should be an IP address or CIDR, for example "192.168.0.3" or "192.168.0.0/16".
- allowed
Source List<String>Address Prefixes - Mutually exclusive with the "allowedSourceAddressPrefix" parameter.
- mapped
Port Number - The port which is mapped to this port's
number
in the Azure Firewall, if applicable
JitNetworkAccessRequestResponse, JitNetworkAccessRequestResponseArgs
- Requestor string
- The identity of the person who made the request
- Start
Time stringUtc - The start time of the request in UTC
- Virtual
Machines List<Pulumi.Azure Native. Security. Inputs. Jit Network Access Request Virtual Machine Response> - Justification string
- The justification for making the initiate request
- Requestor string
- The identity of the person who made the request
- Start
Time stringUtc - The start time of the request in UTC
- Virtual
Machines []JitNetwork Access Request Virtual Machine Response - Justification string
- The justification for making the initiate request
- requestor String
- The identity of the person who made the request
- start
Time StringUtc - The start time of the request in UTC
- virtual
Machines List<JitNetwork Access Request Virtual Machine Response> - justification String
- The justification for making the initiate request
- requestor string
- The identity of the person who made the request
- start
Time stringUtc - The start time of the request in UTC
- virtual
Machines JitNetwork Access Request Virtual Machine Response[] - justification string
- The justification for making the initiate request
- requestor str
- The identity of the person who made the request
- start_
time_ strutc - The start time of the request in UTC
- virtual_
machines Sequence[JitNetwork Access Request Virtual Machine Response] - justification str
- The justification for making the initiate request
- requestor String
- The identity of the person who made the request
- start
Time StringUtc - The start time of the request in UTC
- virtual
Machines List<Property Map> - justification String
- The justification for making the initiate request
JitNetworkAccessRequestVirtualMachine, JitNetworkAccessRequestVirtualMachineArgs
- Id string
- Resource ID of the virtual machine that is linked to this policy
- Ports
List<Pulumi.
Azure Native. Security. Inputs. Jit Network Access Request Port> - The ports that were opened for the virtual machine
- Id string
- Resource ID of the virtual machine that is linked to this policy
- Ports
[]Jit
Network Access Request Port - The ports that were opened for the virtual machine
- id String
- Resource ID of the virtual machine that is linked to this policy
- ports
List<Jit
Network Access Request Port> - The ports that were opened for the virtual machine
- id string
- Resource ID of the virtual machine that is linked to this policy
- ports
Jit
Network Access Request Port[] - The ports that were opened for the virtual machine
- id str
- Resource ID of the virtual machine that is linked to this policy
- ports
Sequence[Jit
Network Access Request Port] - The ports that were opened for the virtual machine
- id String
- Resource ID of the virtual machine that is linked to this policy
- ports List<Property Map>
- The ports that were opened for the virtual machine
JitNetworkAccessRequestVirtualMachineResponse, JitNetworkAccessRequestVirtualMachineResponseArgs
- Id string
- Resource ID of the virtual machine that is linked to this policy
- Ports
List<Pulumi.
Azure Native. Security. Inputs. Jit Network Access Request Port Response> - The ports that were opened for the virtual machine
- Id string
- Resource ID of the virtual machine that is linked to this policy
- Ports
[]Jit
Network Access Request Port Response - The ports that were opened for the virtual machine
- id String
- Resource ID of the virtual machine that is linked to this policy
- ports
List<Jit
Network Access Request Port Response> - The ports that were opened for the virtual machine
- id string
- Resource ID of the virtual machine that is linked to this policy
- ports
Jit
Network Access Request Port Response[] - The ports that were opened for the virtual machine
- id str
- Resource ID of the virtual machine that is linked to this policy
- ports
Sequence[Jit
Network Access Request Port Response] - The ports that were opened for the virtual machine
- id String
- Resource ID of the virtual machine that is linked to this policy
- ports List<Property Map>
- The ports that were opened for the virtual machine
Protocol, ProtocolArgs
- TCP
- TCP
- UDP
- UDP
- All
- *
- Protocol
TCP - TCP
- Protocol
UDP - UDP
- Protocol
All - *
- TCP
- TCP
- UDP
- UDP
- All
- *
- TCP
- TCP
- UDP
- UDP
- All
- *
- TCP
- TCP
- UDP
- UDP
- ALL
- *
- "TCP"
- TCP
- "UDP"
- UDP
- "*"
- *
Status, StatusArgs
- Revoked
- Revoked
- Initiated
- Initiated
- Status
Revoked - Revoked
- Status
Initiated - Initiated
- Revoked
- Revoked
- Initiated
- Initiated
- Revoked
- Revoked
- Initiated
- Initiated
- REVOKED
- Revoked
- INITIATED
- Initiated
- "Revoked"
- Revoked
- "Initiated"
- Initiated
StatusReason, StatusReasonArgs
- Expired
- Expired
- User
Requested - UserRequested
- Newer
Request Initiated - NewerRequestInitiated
- Status
Reason Expired - Expired
- Status
Reason User Requested - UserRequested
- Status
Reason Newer Request Initiated - NewerRequestInitiated
- Expired
- Expired
- User
Requested - UserRequested
- Newer
Request Initiated - NewerRequestInitiated
- Expired
- Expired
- User
Requested - UserRequested
- Newer
Request Initiated - NewerRequestInitiated
- EXPIRED
- Expired
- USER_REQUESTED
- UserRequested
- NEWER_REQUEST_INITIATED
- NewerRequestInitiated
- "Expired"
- Expired
- "User
Requested" - UserRequested
- "Newer
Request Initiated" - NewerRequestInitiated
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:security:JitNetworkAccessPolicy default /subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg1/providers/Microsoft.Security/locations/westeurope/jitNetworkAccessPolicies/default
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