JitRequests interface

Interface representing a JitRequests.

Methods

beginCreateOrUpdate(string, string, JitRequestDefinition, JitRequestsCreateOrUpdateOptionalParams)

Creates or updates the JIT request.

beginCreateOrUpdateAndWait(string, string, JitRequestDefinition, JitRequestsCreateOrUpdateOptionalParams)

Creates or updates the JIT request.

delete(string, string, JitRequestsDeleteOptionalParams)

Deletes the JIT request.

get(string, string, JitRequestsGetOptionalParams)

Gets the JIT request.

listByResourceGroup(string, JitRequestsListByResourceGroupOptionalParams)

Lists all JIT requests within the resource group.

listBySubscription(JitRequestsListBySubscriptionOptionalParams)

Lists all JIT requests within the subscription.

update(string, string, JitRequestPatchable, JitRequestsUpdateOptionalParams)

Updates the JIT request.

Method Details

beginCreateOrUpdate(string, string, JitRequestDefinition, JitRequestsCreateOrUpdateOptionalParams)

Creates or updates the JIT request.

function beginCreateOrUpdate(resourceGroupName: string, jitRequestName: string, parameters: JitRequestDefinition, options?: JitRequestsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<JitRequestDefinition>, JitRequestDefinition>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

jitRequestName

string

The name of the JIT request.

parameters
JitRequestDefinition

Parameters supplied to the update JIT request.

options
JitRequestsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<JitRequestDefinition>, JitRequestDefinition>>

beginCreateOrUpdateAndWait(string, string, JitRequestDefinition, JitRequestsCreateOrUpdateOptionalParams)

Creates or updates the JIT request.

function beginCreateOrUpdateAndWait(resourceGroupName: string, jitRequestName: string, parameters: JitRequestDefinition, options?: JitRequestsCreateOrUpdateOptionalParams): Promise<JitRequestDefinition>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

jitRequestName

string

The name of the JIT request.

parameters
JitRequestDefinition

Parameters supplied to the update JIT request.

options
JitRequestsCreateOrUpdateOptionalParams

The options parameters.

Returns

delete(string, string, JitRequestsDeleteOptionalParams)

Deletes the JIT request.

function delete(resourceGroupName: string, jitRequestName: string, options?: JitRequestsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

jitRequestName

string

The name of the JIT request.

options
JitRequestsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, JitRequestsGetOptionalParams)

Gets the JIT request.

function get(resourceGroupName: string, jitRequestName: string, options?: JitRequestsGetOptionalParams): Promise<JitRequestDefinition>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

jitRequestName

string

The name of the JIT request.

options
JitRequestsGetOptionalParams

The options parameters.

Returns

listByResourceGroup(string, JitRequestsListByResourceGroupOptionalParams)

Lists all JIT requests within the resource group.

function listByResourceGroup(resourceGroupName: string, options?: JitRequestsListByResourceGroupOptionalParams): Promise<JitRequestDefinitionListResult>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

options
JitRequestsListByResourceGroupOptionalParams

The options parameters.

Returns

listBySubscription(JitRequestsListBySubscriptionOptionalParams)

Lists all JIT requests within the subscription.

function listBySubscription(options?: JitRequestsListBySubscriptionOptionalParams): Promise<JitRequestDefinitionListResult>

Parameters

options
JitRequestsListBySubscriptionOptionalParams

The options parameters.

Returns

update(string, string, JitRequestPatchable, JitRequestsUpdateOptionalParams)

Updates the JIT request.

function update(resourceGroupName: string, jitRequestName: string, parameters: JitRequestPatchable, options?: JitRequestsUpdateOptionalParams): Promise<JitRequestDefinition>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

jitRequestName

string

The name of the JIT request.

parameters
JitRequestPatchable

Parameters supplied to the update JIT request.

options
JitRequestsUpdateOptionalParams

The options parameters.

Returns