JitNetworkAccessPolicies interface
Interface representing a JitNetworkAccessPolicies.
Methods
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.
The options parameters.
Returns
Promise<JitNetworkAccessPolicy>
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.
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.
The options parameters.
Returns
Promise<JitNetworkAccessPolicy>
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.
The options parameters.
Returns
Promise<JitNetworkAccessRequest>
list(JitNetworkAccessPoliciesListOptionalParams)
Policies for protecting resources using Just-in-Time access control.
function list(options?: JitNetworkAccessPoliciesListOptionalParams): PagedAsyncIterableIterator<JitNetworkAccessPolicy, JitNetworkAccessPolicy[], PageSettings>
Parameters
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
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.
The options parameters.
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
The options parameters.