JitNetworkAccessPolicies interface

Interface representing a JitNetworkAccessPolicies.

Methods

createOrUpdate(string, string, string, JitNetworkAccessPolicy, JitNetworkAccessPoliciesCreateOrUpdateOptionalParams)

Create a policy for protecting resources using Just-in-Time access control

delete(string, string, string, JitNetworkAccessPoliciesDeleteOptionalParams)

Delete a Just-in-Time access control policy.

get(string, string, string, JitNetworkAccessPoliciesGetOptionalParams)

Policies for protecting resources using Just-in-Time access control for the subscription, location

initiate(string, string, string, JitNetworkAccessPolicyInitiateRequest, JitNetworkAccessPoliciesInitiateOptionalParams)

Initiate a JIT access from a specific Just-in-Time policy configuration.

list(JitNetworkAccessPoliciesListOptionalParams)

Policies for protecting resources using Just-in-Time access control.

listByRegion(string, JitNetworkAccessPoliciesListByRegionOptionalParams)

Policies for protecting resources using Just-in-Time access control for the subscription, location

listByResourceGroup(string, JitNetworkAccessPoliciesListByResourceGroupOptionalParams)

Policies for protecting resources using Just-in-Time access control for the subscription, location

listByResourceGroupAndRegion(string, string, JitNetworkAccessPoliciesListByResourceGroupAndRegionOptionalParams)

Policies for protecting resources using Just-in-Time access control for the subscription, location

Method Details

createOrUpdate(string, string, string, JitNetworkAccessPolicy, JitNetworkAccessPoliciesCreateOrUpdateOptionalParams)

Create a policy for protecting resources using Just-in-Time access control

function createOrUpdate(resourceGroupName: string, ascLocation: string, jitNetworkAccessPolicyName: string, body: JitNetworkAccessPolicy, options?: JitNetworkAccessPoliciesCreateOrUpdateOptionalParams): Promise<JitNetworkAccessPolicy>

Parameters

resourceGroupName

string

The name of the resource group within the user's subscription. The name is case insensitive.

ascLocation

string

The location where ASC stores the data of the subscription. can be retrieved from Get locations

jitNetworkAccessPolicyName

string

Name of a Just-in-Time access configuration policy.

Returns

delete(string, string, string, JitNetworkAccessPoliciesDeleteOptionalParams)

Delete a Just-in-Time access control policy.

function delete(resourceGroupName: string, ascLocation: string, jitNetworkAccessPolicyName: string, options?: JitNetworkAccessPoliciesDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group within the user's subscription. The name is case insensitive.

ascLocation

string

The location where ASC stores the data of the subscription. can be retrieved from Get locations

jitNetworkAccessPolicyName

string

Name of a Just-in-Time access configuration policy.

options
JitNetworkAccessPoliciesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, JitNetworkAccessPoliciesGetOptionalParams)

Policies for protecting resources using Just-in-Time access control for the subscription, location

function get(resourceGroupName: string, ascLocation: string, jitNetworkAccessPolicyName: string, options?: JitNetworkAccessPoliciesGetOptionalParams): Promise<JitNetworkAccessPolicy>

Parameters

resourceGroupName

string

The name of the resource group within the user's subscription. The name is case insensitive.

ascLocation

string

The location where ASC stores the data of the subscription. can be retrieved from Get locations

jitNetworkAccessPolicyName

string

Name of a Just-in-Time access configuration policy.

options
JitNetworkAccessPoliciesGetOptionalParams

The options parameters.

Returns

initiate(string, string, string, JitNetworkAccessPolicyInitiateRequest, JitNetworkAccessPoliciesInitiateOptionalParams)

Initiate a JIT access from a specific Just-in-Time policy configuration.

function initiate(resourceGroupName: string, ascLocation: string, jitNetworkAccessPolicyName: string, body: JitNetworkAccessPolicyInitiateRequest, options?: JitNetworkAccessPoliciesInitiateOptionalParams): Promise<JitNetworkAccessRequest>

Parameters

resourceGroupName

string

The name of the resource group within the user's subscription. The name is case insensitive.

ascLocation

string

The location where ASC stores the data of the subscription. can be retrieved from Get locations

jitNetworkAccessPolicyName

string

Name of a Just-in-Time access configuration policy.

options
JitNetworkAccessPoliciesInitiateOptionalParams

The options parameters.

Returns

list(JitNetworkAccessPoliciesListOptionalParams)

Policies for protecting resources using Just-in-Time access control.

function list(options?: JitNetworkAccessPoliciesListOptionalParams): PagedAsyncIterableIterator<JitNetworkAccessPolicy, JitNetworkAccessPolicy[], PageSettings>

Parameters

options
JitNetworkAccessPoliciesListOptionalParams

The options parameters.

Returns

listByRegion(string, JitNetworkAccessPoliciesListByRegionOptionalParams)

Policies for protecting resources using Just-in-Time access control for the subscription, location

function listByRegion(ascLocation: string, options?: JitNetworkAccessPoliciesListByRegionOptionalParams): PagedAsyncIterableIterator<JitNetworkAccessPolicy, JitNetworkAccessPolicy[], PageSettings>

Parameters

ascLocation

string

The location where ASC stores the data of the subscription. can be retrieved from Get locations

options
JitNetworkAccessPoliciesListByRegionOptionalParams

The options parameters.

Returns

listByResourceGroup(string, JitNetworkAccessPoliciesListByResourceGroupOptionalParams)

Policies for protecting resources using Just-in-Time access control for the subscription, location

function listByResourceGroup(resourceGroupName: string, options?: JitNetworkAccessPoliciesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<JitNetworkAccessPolicy, JitNetworkAccessPolicy[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group within the user's subscription. The name is case insensitive.

Returns

listByResourceGroupAndRegion(string, string, JitNetworkAccessPoliciesListByResourceGroupAndRegionOptionalParams)

Policies for protecting resources using Just-in-Time access control for the subscription, location

function listByResourceGroupAndRegion(resourceGroupName: string, ascLocation: string, options?: JitNetworkAccessPoliciesListByResourceGroupAndRegionOptionalParams): PagedAsyncIterableIterator<JitNetworkAccessPolicy, JitNetworkAccessPolicy[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group within the user's subscription. The name is case insensitive.

ascLocation

string

The location where ASC stores the data of the subscription. can be retrieved from Get locations

Returns