JitRequests interface
Interface representing a JitRequests.
Methods
begin |
Creates or updates the JIT request. |
begin |
Creates or updates the JIT request. |
delete(string, string, Jit |
Deletes the JIT request. |
get(string, string, Jit |
Gets the JIT request. |
list |
Lists all JIT requests within the resource group. |
list |
Lists all JIT requests within the subscription. |
update(string, string, Jit |
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.
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.
The options parameters.
Returns
Promise<JitRequestDefinition>
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
Promise<JitRequestDefinition>
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.
The options parameters.
Returns
Promise<JitRequestDefinitionListResult>
listBySubscription(JitRequestsListBySubscriptionOptionalParams)
Lists all JIT requests within the subscription.
function listBySubscription(options?: JitRequestsListBySubscriptionOptionalParams): Promise<JitRequestDefinitionListResult>
Parameters
The options parameters.
Returns
Promise<JitRequestDefinitionListResult>
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
Promise<JitRequestDefinition>