This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
azure-native.security.getJitNetworkAccessPolicy
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
Policies for protecting resources using Just-in-Time access control for the subscription, location Azure REST API version: 2020-01-01.
Using getJitNetworkAccessPolicy
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getJitNetworkAccessPolicy(args: GetJitNetworkAccessPolicyArgs, opts?: InvokeOptions): Promise<GetJitNetworkAccessPolicyResult>
function getJitNetworkAccessPolicyOutput(args: GetJitNetworkAccessPolicyOutputArgs, opts?: InvokeOptions): Output<GetJitNetworkAccessPolicyResult>
def get_jit_network_access_policy(asc_location: Optional[str] = None,
jit_network_access_policy_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetJitNetworkAccessPolicyResult
def get_jit_network_access_policy_output(asc_location: Optional[pulumi.Input[str]] = None,
jit_network_access_policy_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetJitNetworkAccessPolicyResult]
func LookupJitNetworkAccessPolicy(ctx *Context, args *LookupJitNetworkAccessPolicyArgs, opts ...InvokeOption) (*LookupJitNetworkAccessPolicyResult, error)
func LookupJitNetworkAccessPolicyOutput(ctx *Context, args *LookupJitNetworkAccessPolicyOutputArgs, opts ...InvokeOption) LookupJitNetworkAccessPolicyResultOutput
> Note: This function is named LookupJitNetworkAccessPolicy
in the Go SDK.
public static class GetJitNetworkAccessPolicy
{
public static Task<GetJitNetworkAccessPolicyResult> InvokeAsync(GetJitNetworkAccessPolicyArgs args, InvokeOptions? opts = null)
public static Output<GetJitNetworkAccessPolicyResult> Invoke(GetJitNetworkAccessPolicyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetJitNetworkAccessPolicyResult> getJitNetworkAccessPolicy(GetJitNetworkAccessPolicyArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:security:getJitNetworkAccessPolicy
arguments:
# arguments dictionary
The following arguments are supported:
- Asc
Location string - The location where ASC stores the data of the subscription. can be retrieved from Get locations
- Jit
Network stringAccess Policy Name - Name of a Just-in-Time access configuration policy.
- Resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- Asc
Location string - The location where ASC stores the data of the subscription. can be retrieved from Get locations
- Jit
Network stringAccess Policy Name - Name of a Just-in-Time access configuration policy.
- Resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- asc
Location String - The location where ASC stores the data of the subscription. can be retrieved from Get locations
- jit
Network StringAccess Policy Name - Name of a Just-in-Time access configuration policy.
- resource
Group StringName - The name of the resource group within the user's subscription. The name is case insensitive.
- asc
Location string - The location where ASC stores the data of the subscription. can be retrieved from Get locations
- jit
Network stringAccess Policy Name - Name of a Just-in-Time access configuration policy.
- resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- asc_
location str - The location where ASC stores the data of the subscription. can be retrieved from Get locations
- jit_
network_ straccess_ policy_ name - Name of a Just-in-Time access configuration policy.
- resource_
group_ strname - The name of the resource group within the user's subscription. The name is case insensitive.
- asc
Location String - The location where ASC stores the data of the subscription. can be retrieved from Get locations
- jit
Network StringAccess Policy Name - Name of a Just-in-Time access configuration policy.
- resource
Group StringName - The name of the resource group within the user's subscription. The name is case insensitive.
getJitNetworkAccessPolicy Result
The following output properties are available:
- Id string
- Resource Id
- 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
- Virtual
Machines List<Pulumi.Azure Native. Security. Outputs. Jit Network Access Policy Virtual Machine Response> - Configurations for Microsoft.Compute/virtualMachines resource type.
- Kind string
- Kind of the resource
- Requests
List<Pulumi.
Azure Native. Security. Outputs. Jit Network Access Request Response>
- Id string
- Resource Id
- 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
- Virtual
Machines []JitNetwork Access Policy Virtual Machine Response - Configurations for Microsoft.Compute/virtualMachines resource type.
- Kind string
- Kind of the resource
- Requests
[]Jit
Network Access Request Response
- id String
- Resource Id
- 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
- virtual
Machines List<JitNetwork Access Policy Virtual Machine Response> - Configurations for Microsoft.Compute/virtualMachines resource type.
- kind String
- Kind of the resource
- requests
List<Jit
Network Access Request Response>
- id string
- Resource Id
- 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
- virtual
Machines JitNetwork Access Policy Virtual Machine Response[] - Configurations for Microsoft.Compute/virtualMachines resource type.
- kind string
- Kind of the resource
- requests
Jit
Network Access Request Response[]
- id str
- Resource Id
- 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
- virtual_
machines Sequence[JitNetwork Access Policy Virtual Machine Response] - Configurations for Microsoft.Compute/virtualMachines resource type.
- kind str
- Kind of the resource
- requests
Sequence[Jit
Network Access Request Response]
- id String
- Resource Id
- 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
- virtual
Machines List<Property Map> - Configurations for Microsoft.Compute/virtualMachines resource type.
- kind String
- Kind of the resource
- requests List<Property Map>
Supporting Types
JitNetworkAccessPolicyVirtualMachineResponse
- 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
JitNetworkAccessPortRuleResponse
- 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.
JitNetworkAccessRequestPortResponse
- 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
- 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
JitNetworkAccessRequestVirtualMachineResponse
- 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
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi