JitRequestsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ApplicationClient's

<xref:jit_requests> attribute.

Inheritance
builtins.object
JitRequestsOperations

Constructor

JitRequestsOperations(*args, **kwargs)

Methods

begin_create_or_update

Creates or updates the JIT request.

delete

Deletes the JIT request.

get

Gets the JIT request.

list_by_resource_group

Retrieves all JIT requests within the resource group.

list_by_subscription

Retrieves all JIT requests within the subscription.

update

Updates the JIT request.

begin_create_or_update

Creates or updates the JIT request.

begin_create_or_update(resource_group_name: str, jit_request_name: str, parameters: _models.JitRequestDefinition, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.JitRequestDefinition]

Parameters

Name Description
resource_group_name
Required
str

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

jit_request_name
Required
str

The name of the JIT request. Required.

parameters
Required

Parameters supplied to the update JIT request. Is either a JitRequestDefinition type or a IO[bytes] type. Required.

Returns

Type Description

An instance of LROPoller that returns either JitRequestDefinition or the result of cls(response)

Exceptions

Type Description

delete

Deletes the JIT request.

delete(resource_group_name: str, jit_request_name: str, **kwargs: Any) -> None

Parameters

Name Description
resource_group_name
Required
str

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

jit_request_name
Required
str

The name of the JIT request. Required.

Returns

Type Description

None or the result of cls(response)

Exceptions

Type Description

get

Gets the JIT request.

get(resource_group_name: str, jit_request_name: str, **kwargs: Any) -> JitRequestDefinition

Parameters

Name Description
resource_group_name
Required
str

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

jit_request_name
Required
str

The name of the JIT request. Required.

Returns

Type Description

JitRequestDefinition or the result of cls(response)

Exceptions

Type Description

list_by_resource_group

Retrieves all JIT requests within the resource group.

list_by_resource_group(resource_group_name: str, **kwargs: Any) -> JitRequestDefinitionListResult

Parameters

Name Description
resource_group_name
Required
str

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

Returns

Type Description

JitRequestDefinitionListResult or the result of cls(response)

Exceptions

Type Description

list_by_subscription

Retrieves all JIT requests within the subscription.

list_by_subscription(**kwargs: Any) -> JitRequestDefinitionListResult

Returns

Type Description

JitRequestDefinitionListResult or the result of cls(response)

Exceptions

Type Description

update

Updates the JIT request.

update(resource_group_name: str, jit_request_name: str, parameters: _models.JitRequestPatchable, *, content_type: str = 'application/json', **kwargs: Any) -> _models.JitRequestDefinition

Parameters

Name Description
resource_group_name
Required
str

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

jit_request_name
Required
str

The name of the JIT request. Required.

parameters
Required

Parameters supplied to the update JIT request. Is either a JitRequestPatchable type or a IO[bytes] type. Required.

Returns

Type Description

JitRequestDefinition or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.resource.managedapplications.v2019_07_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\resource\\managedapplications\\v2019_07_01\\models\\__init__.py'>