JitNetworkAccessPoliciesClient Interface

public interface JitNetworkAccessPoliciesClient

An instance of this class provides access to all the operations defined in JitNetworkAccessPoliciesClient.

Method Summary

Modifier and Type Method and Description
abstract JitNetworkAccessPolicyInner createOrUpdate(String resourceGroupName, String ascLocation, String jitNetworkAccessPolicyName, JitNetworkAccessPolicyInner body)

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

abstract Response<JitNetworkAccessPolicyInner> createOrUpdateWithResponse(String resourceGroupName, String ascLocation, String jitNetworkAccessPolicyName, JitNetworkAccessPolicyInner body, Context context)

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

abstract void delete(String resourceGroupName, String ascLocation, String jitNetworkAccessPolicyName)

Delete a Just-in-Time access control policy.

abstract Response<Void> deleteWithResponse(String resourceGroupName, String ascLocation, String jitNetworkAccessPolicyName, Context context)

Delete a Just-in-Time access control policy.

abstract JitNetworkAccessPolicyInner get(String resourceGroupName, String ascLocation, String jitNetworkAccessPolicyName)

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

abstract Response<JitNetworkAccessPolicyInner> getWithResponse(String resourceGroupName, String ascLocation, String jitNetworkAccessPolicyName, Context context)

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

abstract JitNetworkAccessRequestInner initiate(String resourceGroupName, String ascLocation, String jitNetworkAccessPolicyName, JitNetworkAccessPolicyInitiateRequest body)

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

abstract Response<JitNetworkAccessRequestInner> initiateWithResponse(String resourceGroupName, String ascLocation, String jitNetworkAccessPolicyName, JitNetworkAccessPolicyInitiateRequest body, Context context)

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

abstract PagedIterable<JitNetworkAccessPolicyInner> list()

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

abstract PagedIterable<JitNetworkAccessPolicyInner> list(Context context)

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

abstract PagedIterable<JitNetworkAccessPolicyInner> listByRegion(String ascLocation)

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

abstract PagedIterable<JitNetworkAccessPolicyInner> listByRegion(String ascLocation, Context context)

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

abstract PagedIterable<JitNetworkAccessPolicyInner> listByResourceGroup(String resourceGroupName)

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

abstract PagedIterable<JitNetworkAccessPolicyInner> listByResourceGroup(String resourceGroupName, Context context)

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

abstract PagedIterable<JitNetworkAccessPolicyInner> listByResourceGroupAndRegion(String resourceGroupName, String ascLocation)

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

abstract PagedIterable<JitNetworkAccessPolicyInner> listByResourceGroupAndRegion(String resourceGroupName, String ascLocation, Context context)

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

Method Details

createOrUpdate

public abstract JitNetworkAccessPolicyInner createOrUpdate(String resourceGroupName, String ascLocation, String jitNetworkAccessPolicyName, JitNetworkAccessPolicyInner body)

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

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
jitNetworkAccessPolicyName - Name of a Just-in-Time access configuration policy.
body - The body parameter.

Returns:

the response.

createOrUpdateWithResponse

public abstract Response<JitNetworkAccessPolicyInner> createOrUpdateWithResponse(String resourceGroupName, String ascLocation, String jitNetworkAccessPolicyName, JitNetworkAccessPolicyInner body, Context context)

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

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
jitNetworkAccessPolicyName - Name of a Just-in-Time access configuration policy.
body - The body parameter.
context - The context to associate with this operation.

Returns:

the response body along with Response<T>.

delete

public abstract void delete(String resourceGroupName, String ascLocation, String jitNetworkAccessPolicyName)

Delete a Just-in-Time access control policy.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
jitNetworkAccessPolicyName - Name of a Just-in-Time access configuration policy.

deleteWithResponse

public abstract Response<Void> deleteWithResponse(String resourceGroupName, String ascLocation, String jitNetworkAccessPolicyName, Context context)

Delete a Just-in-Time access control policy.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
jitNetworkAccessPolicyName - Name of a Just-in-Time access configuration policy.
context - The context to associate with this operation.

Returns:

get

public abstract JitNetworkAccessPolicyInner get(String resourceGroupName, String ascLocation, String jitNetworkAccessPolicyName)

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

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
jitNetworkAccessPolicyName - Name of a Just-in-Time access configuration policy.

Returns:

the response.

getWithResponse

public abstract Response<JitNetworkAccessPolicyInner> getWithResponse(String resourceGroupName, String ascLocation, String jitNetworkAccessPolicyName, Context context)

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

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
jitNetworkAccessPolicyName - Name of a Just-in-Time access configuration policy.
context - The context to associate with this operation.

Returns:

the response body along with Response<T>.

initiate

public abstract JitNetworkAccessRequestInner initiate(String resourceGroupName, String ascLocation, String jitNetworkAccessPolicyName, JitNetworkAccessPolicyInitiateRequest body)

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

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
jitNetworkAccessPolicyName - Name of a Just-in-Time access configuration policy.
body - The body parameter.

Returns:

the response.

initiateWithResponse

public abstract Response<JitNetworkAccessRequestInner> initiateWithResponse(String resourceGroupName, String ascLocation, String jitNetworkAccessPolicyName, JitNetworkAccessPolicyInitiateRequest body, Context context)

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

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
jitNetworkAccessPolicyName - Name of a Just-in-Time access configuration policy.
body - The body parameter.
context - The context to associate with this operation.

Returns:

the response body along with Response<T>.

list

public abstract PagedIterable<JitNetworkAccessPolicyInner> list()

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

Returns:

the paginated response with PagedIterable<T>.

list

public abstract PagedIterable<JitNetworkAccessPolicyInner> list(Context context)

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

Parameters:

context - The context to associate with this operation.

Returns:

the paginated response with PagedIterable<T>.

listByRegion

public abstract PagedIterable<JitNetworkAccessPolicyInner> listByRegion(String ascLocation)

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

Parameters:

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

Returns:

the paginated response with PagedIterable<T>.

listByRegion

public abstract PagedIterable<JitNetworkAccessPolicyInner> listByRegion(String ascLocation, Context context)

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

Parameters:

ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
context - The context to associate with this operation.

Returns:

the paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<JitNetworkAccessPolicyInner> listByResourceGroup(String resourceGroupName)

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

Parameters:

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

Returns:

the paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<JitNetworkAccessPolicyInner> listByResourceGroup(String resourceGroupName, Context context)

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

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
context - The context to associate with this operation.

Returns:

the paginated response with PagedIterable<T>.

listByResourceGroupAndRegion

public abstract PagedIterable<JitNetworkAccessPolicyInner> listByResourceGroupAndRegion(String resourceGroupName, String ascLocation)

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

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.

Returns:

the paginated response with PagedIterable<T>.

listByResourceGroupAndRegion

public abstract PagedIterable<JitNetworkAccessPolicyInner> listByResourceGroupAndRegion(String resourceGroupName, String ascLocation, Context context)

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

Parameters:

resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
ascLocation - The location where ASC stores the data of the subscription. can be retrieved from Get locations.
context - The context to associate with this operation.

Returns:

the paginated response with PagedIterable<T>.

Applies to