azure-native.security.JitNetworkAccessPolicy
Explore with Pulumi AI
Uses Azure REST API version 2020-01-01. In version 2.x of the Azure Native provider, it used API version 2020-01-01.
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
This property is required. string - The unique name of the resource.
- args
This property is required. JitNetworkAccessPolicyArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. 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
This property is required. string - The unique name of the resource.
- args
This property is required. JitNetworkAccessPolicyArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. JitNetworkAccessPolicyArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. 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[]
{
new AzureNative.Security.Inputs.JitNetworkAccessPolicyVirtualMachineArgs
{
Id = "string",
Ports = new[]
{
new AzureNative.Security.Inputs.JitNetworkAccessPortRuleArgs
{
MaxRequestAccessDuration = "string",
Number = 0,
Protocol = "string",
AllowedSourceAddressPrefix = "string",
AllowedSourceAddressPrefixes = new[]
{
"string",
},
},
},
PublicIpAddress = "string",
},
},
JitNetworkAccessPolicyName = "string",
Kind = "string",
Requests = new[]
{
new AzureNative.Security.Inputs.JitNetworkAccessRequestArgs
{
Requestor = "string",
StartTimeUtc = "string",
VirtualMachines = new[]
{
new AzureNative.Security.Inputs.JitNetworkAccessRequestVirtualMachineArgs
{
Id = "string",
Ports = new[]
{
new AzureNative.Security.Inputs.JitNetworkAccessRequestPortArgs
{
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: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
VirtualMachines: security.JitNetworkAccessPolicyVirtualMachineArray{
&security.JitNetworkAccessPolicyVirtualMachineArgs{
Id: pulumi.String("string"),
Ports: security.JitNetworkAccessPortRuleArray{
&security.JitNetworkAccessPortRuleArgs{
MaxRequestAccessDuration: pulumi.String("string"),
Number: pulumi.Int(0),
Protocol: pulumi.String("string"),
AllowedSourceAddressPrefix: pulumi.String("string"),
AllowedSourceAddressPrefixes: pulumi.StringArray{
pulumi.String("string"),
},
},
},
PublicIpAddress: pulumi.String("string"),
},
},
JitNetworkAccessPolicyName: pulumi.String("string"),
Kind: pulumi.String("string"),
Requests: security.JitNetworkAccessRequestArray{
&security.JitNetworkAccessRequestArgs{
Requestor: pulumi.String("string"),
StartTimeUtc: pulumi.String("string"),
VirtualMachines: security.JitNetworkAccessRequestVirtualMachineArray{
&security.JitNetworkAccessRequestVirtualMachineArgs{
Id: pulumi.String("string"),
Ports: security.JitNetworkAccessRequestPortArray{
&security.JitNetworkAccessRequestPortArgs{
EndTimeUtc: pulumi.String("string"),
Number: pulumi.Int(0),
Status: pulumi.String("string"),
StatusReason: pulumi.String("string"),
AllowedSourceAddressPrefix: pulumi.String("string"),
AllowedSourceAddressPrefixes: pulumi.StringArray{
pulumi.String("string"),
},
MappedPort: pulumi.Int(0),
},
},
},
},
Justification: pulumi.String("string"),
},
},
})
var jitNetworkAccessPolicyResource = new JitNetworkAccessPolicy("jitNetworkAccessPolicyResource", JitNetworkAccessPolicyArgs.builder()
.ascLocation("string")
.resourceGroupName("string")
.virtualMachines(JitNetworkAccessPolicyVirtualMachineArgs.builder()
.id("string")
.ports(JitNetworkAccessPortRuleArgs.builder()
.maxRequestAccessDuration("string")
.number(0)
.protocol("string")
.allowedSourceAddressPrefix("string")
.allowedSourceAddressPrefixes("string")
.build())
.publicIpAddress("string")
.build())
.jitNetworkAccessPolicyName("string")
.kind("string")
.requests(JitNetworkAccessRequestArgs.builder()
.requestor("string")
.startTimeUtc("string")
.virtualMachines(JitNetworkAccessRequestVirtualMachineArgs.builder()
.id("string")
.ports(JitNetworkAccessRequestPortArgs.builder()
.endTimeUtc("string")
.number(0)
.status("string")
.statusReason("string")
.allowedSourceAddressPrefix("string")
.allowedSourceAddressPrefixes("string")
.mappedPort(0)
.build())
.build())
.justification("string")
.build())
.build());
jit_network_access_policy_resource = azure_native.security.JitNetworkAccessPolicy("jitNetworkAccessPolicyResource",
asc_location="string",
resource_group_name="string",
virtual_machines=[{
"id": "string",
"ports": [{
"max_request_access_duration": "string",
"number": 0,
"protocol": "string",
"allowed_source_address_prefix": "string",
"allowed_source_address_prefixes": ["string"],
}],
"public_ip_address": "string",
}],
jit_network_access_policy_name="string",
kind="string",
requests=[{
"requestor": "string",
"start_time_utc": "string",
"virtual_machines": [{
"id": "string",
"ports": [{
"end_time_utc": "string",
"number": 0,
"status": "string",
"status_reason": "string",
"allowed_source_address_prefix": "string",
"allowed_source_address_prefixes": ["string"],
"mapped_port": 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 This property is required. Changes to this property will trigger replacement.
- The location where ASC stores the data of the subscription. can be retrieved from Get locations
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group within the user's subscription. The name is case insensitive.
- Virtual
Machines This property is required. List<Pulumi.Azure Native. Security. Inputs. Jit Network Access Policy Virtual Machine> - Configurations for Microsoft.Compute/virtualMachines resource type.
- Jit
Network Access Policy Name Changes to this property will trigger replacement.
- 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 This property is required. Changes to this property will trigger replacement.
- The location where ASC stores the data of the subscription. can be retrieved from Get locations
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group within the user's subscription. The name is case insensitive.
- Virtual
Machines This property is required. []JitNetwork Access Policy Virtual Machine Args - Configurations for Microsoft.Compute/virtualMachines resource type.
- Jit
Network Access Policy Name Changes to this property will trigger replacement.
- Name of a Just-in-Time access configuration policy.
- Kind string
- Kind of the resource
- Requests
[]Jit
Network Access Request Args
- asc
Location This property is required. Changes to this property will trigger replacement.
- The location where ASC stores the data of the subscription. can be retrieved from Get locations
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group within the user's subscription. The name is case insensitive.
- virtual
Machines This property is required. List<JitNetwork Access Policy Virtual Machine> - Configurations for Microsoft.Compute/virtualMachines resource type.
- jit
Network Access Policy Name Changes to this property will trigger replacement.
- Name of a Just-in-Time access configuration policy.
- kind String
- Kind of the resource
- requests
List<Jit
Network Access Request>
- asc
Location This property is required. Changes to this property will trigger replacement.
- The location where ASC stores the data of the subscription. can be retrieved from Get locations
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group within the user's subscription. The name is case insensitive.
- virtual
Machines This property is required. JitNetwork Access Policy Virtual Machine[] - Configurations for Microsoft.Compute/virtualMachines resource type.
- jit
Network Access Policy Name Changes to this property will trigger replacement.
- Name of a Just-in-Time access configuration policy.
- kind string
- Kind of the resource
- requests
Jit
Network Access Request[]
- asc_
location This property is required. Changes to this property will trigger replacement.
- The location where ASC stores the data of the subscription. can be retrieved from Get locations
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group within the user's subscription. The name is case insensitive.
- virtual_
machines This property is required. Sequence[JitNetwork Access Policy Virtual Machine Args] - Configurations for Microsoft.Compute/virtualMachines resource type.
- jit_
network_ access_ policy_ name Changes to this property will trigger replacement.
- Name of a Just-in-Time access configuration policy.
- kind str
- Kind of the resource
- requests
Sequence[Jit
Network Access Request Args]
- asc
Location This property is required. Changes to this property will trigger replacement.
- The location where ASC stores the data of the subscription. can be retrieved from Get locations
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group within the user's subscription. The name is case insensitive.
- virtual
Machines This property is required. List<Property Map> - Configurations for Microsoft.Compute/virtualMachines resource type.
- jit
Network Access Policy Name Changes to this property will trigger replacement.
- 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:
- Azure
Api stringVersion - The Azure API version of the resource.
- 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
- Azure
Api stringVersion - The Azure API version of the resource.
- 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
- azure
Api StringVersion - The Azure API version of the resource.
- 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
- azure
Api stringVersion - The Azure API version of the resource.
- 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
- azure_
api_ strversion - The Azure API version of the resource.
- 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
- azure
Api StringVersion - The Azure API version of the resource.
- 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
This property is required. string - Resource ID of the virtual machine that is linked to this policy
- Ports
This property is required. 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
This property is required. string - Resource ID of the virtual machine that is linked to this policy
- Ports
This property is required. []JitNetwork 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
This property is required. String - Resource ID of the virtual machine that is linked to this policy
- ports
This property is required. List<JitNetwork 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
This property is required. string - Resource ID of the virtual machine that is linked to this policy
- ports
This property is required. JitNetwork 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
This property is required. str - Resource ID of the virtual machine that is linked to this policy
- ports
This property is required. Sequence[JitNetwork 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
This property is required. String - Resource ID of the virtual machine that is linked to this policy
- ports
This property is required. 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
This property is required. string - Resource ID of the virtual machine that is linked to this policy
- Ports
This property is required. 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
This property is required. string - Resource ID of the virtual machine that is linked to this policy
- Ports
This property is required. []JitNetwork 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
This property is required. String - Resource ID of the virtual machine that is linked to this policy
- ports
This property is required. List<JitNetwork 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
This property is required. string - Resource ID of the virtual machine that is linked to this policy
- ports
This property is required. JitNetwork 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
This property is required. str - Resource ID of the virtual machine that is linked to this policy
- ports
This property is required. Sequence[JitNetwork 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
This property is required. String - Resource ID of the virtual machine that is linked to this policy
- ports
This property is required. 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 Access Duration This property is required. string - Maximum duration requests can be made for. In ISO 8601 duration format. Minimum 5 minutes, maximum 1 day
- Number
This property is required. int - Protocol
This property is required. 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 Access Duration This property is required. string - Maximum duration requests can be made for. In ISO 8601 duration format. Minimum 5 minutes, maximum 1 day
- Number
This property is required. int - Protocol
This property is required. 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 Access Duration This property is required. String - Maximum duration requests can be made for. In ISO 8601 duration format. Minimum 5 minutes, maximum 1 day
- number
This property is required. Integer - protocol
This property is required. 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 Access Duration This property is required. string - Maximum duration requests can be made for. In ISO 8601 duration format. Minimum 5 minutes, maximum 1 day
- number
This property is required. number - protocol
This property is required. 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_ access_ duration This property is required. str - Maximum duration requests can be made for. In ISO 8601 duration format. Minimum 5 minutes, maximum 1 day
- number
This property is required. int - protocol
This property is required. 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 Access Duration This property is required. String - Maximum duration requests can be made for. In ISO 8601 duration format. Minimum 5 minutes, maximum 1 day
- number
This property is required. Number - protocol
This property is required. 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 Access Duration This property is required. string - Maximum duration requests can be made for. In ISO 8601 duration format. Minimum 5 minutes, maximum 1 day
- Number
This property is required. int - Protocol
This property is required. 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 Access Duration This property is required. string - Maximum duration requests can be made for. In ISO 8601 duration format. Minimum 5 minutes, maximum 1 day
- Number
This property is required. int - Protocol
This property is required. 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 Access Duration This property is required. String - Maximum duration requests can be made for. In ISO 8601 duration format. Minimum 5 minutes, maximum 1 day
- number
This property is required. Integer - protocol
This property is required. 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 Access Duration This property is required. string - Maximum duration requests can be made for. In ISO 8601 duration format. Minimum 5 minutes, maximum 1 day
- number
This property is required. number - protocol
This property is required. 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_ access_ duration This property is required. str - Maximum duration requests can be made for. In ISO 8601 duration format. Minimum 5 minutes, maximum 1 day
- number
This property is required. int - protocol
This property is required. 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 Access Duration This property is required. String - Maximum duration requests can be made for. In ISO 8601 duration format. Minimum 5 minutes, maximum 1 day
- number
This property is required. Number - protocol
This property is required. 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
This property is required. string - The identity of the person who made the request
- Start
Time Utc This property is required. string - The start time of the request in UTC
- Virtual
Machines This property is required. List<Pulumi.Azure Native. Security. Inputs. Jit Network Access Request Virtual Machine> - Justification string
- The justification for making the initiate request
- Requestor
This property is required. string - The identity of the person who made the request
- Start
Time Utc This property is required. string - The start time of the request in UTC
- Virtual
Machines This property is required. []JitNetwork Access Request Virtual Machine - Justification string
- The justification for making the initiate request
- requestor
This property is required. String - The identity of the person who made the request
- start
Time Utc This property is required. String - The start time of the request in UTC
- virtual
Machines This property is required. List<JitNetwork Access Request Virtual Machine> - justification String
- The justification for making the initiate request
- requestor
This property is required. string - The identity of the person who made the request
- start
Time Utc This property is required. string - The start time of the request in UTC
- virtual
Machines This property is required. JitNetwork Access Request Virtual Machine[] - justification string
- The justification for making the initiate request
- requestor
This property is required. str - The identity of the person who made the request
- start_
time_ utc This property is required. str - The start time of the request in UTC
- virtual_
machines This property is required. Sequence[JitNetwork Access Request Virtual Machine] - justification str
- The justification for making the initiate request
- requestor
This property is required. String - The identity of the person who made the request
- start
Time Utc This property is required. String - The start time of the request in UTC
- virtual
Machines This property is required. List<Property Map> - justification String
- The justification for making the initiate request
JitNetworkAccessRequestPort, JitNetworkAccessRequestPortArgs
- End
Time Utc This property is required. string - The date & time at which the request ends in UTC
- Number
This property is required. int - Status
This property is required. string | Pulumi.Azure Native. Security. Status - The status of the port
- Status
Reason This property is required. 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 Utc This property is required. string - The date & time at which the request ends in UTC
- Number
This property is required. int - Status
This property is required. string | Status - The status of the port
- Status
Reason This property is required. 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 Utc This property is required. String - The date & time at which the request ends in UTC
- number
This property is required. Integer - status
This property is required. String | Status - The status of the port
- status
Reason This property is required. 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 Utc This property is required. string - The date & time at which the request ends in UTC
- number
This property is required. number - status
This property is required. string | Status - The status of the port
- status
Reason This property is required. 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_ utc This property is required. str - The date & time at which the request ends in UTC
- number
This property is required. int - status
This property is required. str | Status - The status of the port
- status_
reason This property is required. 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 Utc This property is required. String - The date & time at which the request ends in UTC
- number
This property is required. Number - status
This property is required. String | "Revoked" | "Initiated" - The status of the port
- status
Reason This property is required. 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 Utc This property is required. string - The date & time at which the request ends in UTC
- Number
This property is required. int - Status
This property is required. string - The status of the port
- Status
Reason This property is required. 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 Utc This property is required. string - The date & time at which the request ends in UTC
- Number
This property is required. int - Status
This property is required. string - The status of the port
- Status
Reason This property is required. 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 Utc This property is required. String - The date & time at which the request ends in UTC
- number
This property is required. Integer - status
This property is required. String - The status of the port
- status
Reason This property is required. 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 Utc This property is required. string - The date & time at which the request ends in UTC
- number
This property is required. number - status
This property is required. string - The status of the port
- status
Reason This property is required. 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_ utc This property is required. str - The date & time at which the request ends in UTC
- number
This property is required. int - status
This property is required. str - The status of the port
- status_
reason This property is required. 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 Utc This property is required. String - The date & time at which the request ends in UTC
- number
This property is required. Number - status
This property is required. String - The status of the port
- status
Reason This property is required. 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
This property is required. string - The identity of the person who made the request
- Start
Time Utc This property is required. string - The start time of the request in UTC
- Virtual
Machines This property is required. List<Pulumi.Azure Native. Security. Inputs. Jit Network Access Request Virtual Machine Response> - Justification string
- The justification for making the initiate request
- Requestor
This property is required. string - The identity of the person who made the request
- Start
Time Utc This property is required. string - The start time of the request in UTC
- Virtual
Machines This property is required. []JitNetwork Access Request Virtual Machine Response - Justification string
- The justification for making the initiate request
- requestor
This property is required. String - The identity of the person who made the request
- start
Time Utc This property is required. String - The start time of the request in UTC
- virtual
Machines This property is required. List<JitNetwork Access Request Virtual Machine Response> - justification String
- The justification for making the initiate request
- requestor
This property is required. string - The identity of the person who made the request
- start
Time Utc This property is required. string - The start time of the request in UTC
- virtual
Machines This property is required. JitNetwork Access Request Virtual Machine Response[] - justification string
- The justification for making the initiate request
- requestor
This property is required. str - The identity of the person who made the request
- start_
time_ utc This property is required. str - The start time of the request in UTC
- virtual_
machines This property is required. Sequence[JitNetwork Access Request Virtual Machine Response] - justification str
- The justification for making the initiate request
- requestor
This property is required. String - The identity of the person who made the request
- start
Time Utc This property is required. String - The start time of the request in UTC
- virtual
Machines This property is required. List<Property Map> - justification String
- The justification for making the initiate request
JitNetworkAccessRequestVirtualMachine, JitNetworkAccessRequestVirtualMachineArgs
- Id
This property is required. string - Resource ID of the virtual machine that is linked to this policy
- Ports
This property is required. List<Pulumi.Azure Native. Security. Inputs. Jit Network Access Request Port> - The ports that were opened for the virtual machine
- Id
This property is required. string - Resource ID of the virtual machine that is linked to this policy
- Ports
This property is required. []JitNetwork Access Request Port - The ports that were opened for the virtual machine
- id
This property is required. String - Resource ID of the virtual machine that is linked to this policy
- ports
This property is required. List<JitNetwork Access Request Port> - The ports that were opened for the virtual machine
- id
This property is required. string - Resource ID of the virtual machine that is linked to this policy
- ports
This property is required. JitNetwork Access Request Port[] - The ports that were opened for the virtual machine
- id
This property is required. str - Resource ID of the virtual machine that is linked to this policy
- ports
This property is required. Sequence[JitNetwork Access Request Port] - The ports that were opened for the virtual machine
- id
This property is required. String - Resource ID of the virtual machine that is linked to this policy
- ports
This property is required. List<Property Map> - The ports that were opened for the virtual machine
JitNetworkAccessRequestVirtualMachineResponse, JitNetworkAccessRequestVirtualMachineResponseArgs
- Id
This property is required. string - Resource ID of the virtual machine that is linked to this policy
- Ports
This property is required. List<Pulumi.Azure Native. Security. Inputs. Jit Network Access Request Port Response> - The ports that were opened for the virtual machine
- Id
This property is required. string - Resource ID of the virtual machine that is linked to this policy
- Ports
This property is required. []JitNetwork Access Request Port Response - The ports that were opened for the virtual machine
- id
This property is required. String - Resource ID of the virtual machine that is linked to this policy
- ports
This property is required. List<JitNetwork Access Request Port Response> - The ports that were opened for the virtual machine
- id
This property is required. string - Resource ID of the virtual machine that is linked to this policy
- ports
This property is required. JitNetwork Access Request Port Response[] - The ports that were opened for the virtual machine
- id
This property is required. str - Resource ID of the virtual machine that is linked to this policy
- ports
This property is required. Sequence[JitNetwork Access Request Port Response] - The ports that were opened for the virtual machine
- id
This property is required. String - Resource ID of the virtual machine that is linked to this policy
- ports
This property is required. 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/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/jitNetworkAccessPolicies/{jitNetworkAccessPolicyName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0