JitNetworkAccessPolicies Interface

public interface JitNetworkAccessPolicies

Resource collection API of JitNetworkAccessPolicies.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new JitNetworkAccessPolicy resource.

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

Delete a Just-in-Time access control policy.

abstract void deleteById(String id)

Delete a Just-in-Time access control policy.

abstract Response<Void> deleteByIdWithResponse(String id, Context context)

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 JitNetworkAccessPolicy get(String resourceGroupName, String ascLocation, String jitNetworkAccessPolicyName)

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

abstract JitNetworkAccessPolicy getById(String id)

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

abstract Response<JitNetworkAccessPolicy> getByIdWithResponse(String id, Context context)

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

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

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

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

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

abstract Response<JitNetworkAccessRequest> 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<JitNetworkAccessPolicy> list()

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

abstract PagedIterable<JitNetworkAccessPolicy> list(Context context)

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

abstract PagedIterable<JitNetworkAccessPolicy> listByRegion(String ascLocation)

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

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

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

abstract PagedIterable<JitNetworkAccessPolicy> listByResourceGroup(String resourceGroupName)

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

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

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

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

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

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

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

Method Details

define

public abstract JitNetworkAccessPolicy.DefinitionStages.Blank define(String name)

Begins definition for a new JitNetworkAccessPolicy resource.

Parameters:

name - resource name.

Returns:

the first stage of the new JitNetworkAccessPolicy definition.

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.

deleteById

public abstract void deleteById(String id)

Delete a Just-in-Time access control policy.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract Response deleteByIdWithResponse(String id, Context context)

Delete a Just-in-Time access control policy.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

deleteWithResponse

public abstract Response 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 JitNetworkAccessPolicy 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.

getById

public abstract JitNetworkAccessPolicy getById(String id)

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

Parameters:

id - the resource ID.

Returns:

the response body along with Response<T>.

getByIdWithResponse

public abstract Response getByIdWithResponse(String id, Context context)

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

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

the response body along with Response<T>.

getWithResponse

public abstract Response 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 JitNetworkAccessRequest 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 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 list()

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

Returns:

the paginated response with PagedIterable<T>.

list

public abstract PagedIterable 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 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 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 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 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 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 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