JitNetworkAccessPoliciesOperations Class
JitNetworkAccessPoliciesOperations async operations.
You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.
- Inheritance
-
builtins.objectJitNetworkAccessPoliciesOperations
Constructor
JitNetworkAccessPoliciesOperations(client, config, serializer, deserializer)
Parameters
- client
Client for service requests.
- config
Configuration of service client.
- serializer
An object model serializer.
- deserializer
An object model deserializer.
Variables
- models
Alias to model classes used in this operation group.
Methods
| create_or_update |
Create a policy for protecting resources using Just-in-Time access control. |
| delete |
Delete a Just-in-Time access control policy. |
| get |
Policies for protecting resources using Just-in-Time access control for the subscription, location. |
| initiate |
Initiate a JIT access from a specific Just-in-Time policy configuration. |
| list |
Policies for protecting resources using Just-in-Time access control. |
| list_by_region |
Policies for protecting resources using Just-in-Time access control for the subscription, location. |
| list_by_resource_group |
Policies for protecting resources using Just-in-Time access control for the subscription, location. |
| list_by_resource_group_and_region |
Policies for protecting resources using Just-in-Time access control for the subscription, location. |
create_or_update
Create a policy for protecting resources using Just-in-Time access control.
async create_or_update(resource_group_name: str, jit_network_access_policy_name: str, body: azure.mgmt.security.models._models_py3.JitNetworkAccessPolicy, **kwargs) -> azure.mgmt.security.models._models_py3.JitNetworkAccessPolicy
Parameters
- resource_group_name
- str
The name of the resource group within the user's subscription. The name is case insensitive.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
JitNetworkAccessPolicy, or the result of cls(response)
Return type
Exceptions
delete
Delete a Just-in-Time access control policy.
async delete(resource_group_name: str, jit_network_access_policy_name: str, **kwargs) -> None
Parameters
- resource_group_name
- str
The name of the resource group within the user's subscription. The name is case insensitive.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
None, or the result of cls(response)
Return type
Exceptions
get
Policies for protecting resources using Just-in-Time access control for the subscription, location.
async get(resource_group_name: str, jit_network_access_policy_name: str, **kwargs) -> azure.mgmt.security.models._models_py3.JitNetworkAccessPolicy
Parameters
- resource_group_name
- str
The name of the resource group within the user's subscription. The name is case insensitive.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
JitNetworkAccessPolicy, or the result of cls(response)
Return type
Exceptions
initiate
Initiate a JIT access from a specific Just-in-Time policy configuration.
async initiate(resource_group_name: str, jit_network_access_policy_name: str, body: azure.mgmt.security.models._models_py3.JitNetworkAccessPolicyInitiateRequest, **kwargs) -> azure.mgmt.security.models._models_py3.JitNetworkAccessRequest
Parameters
- resource_group_name
- str
The name of the resource group within the user's subscription. The name is case insensitive.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
JitNetworkAccessRequest, or the result of cls(response)
Return type
Exceptions
list
Policies for protecting resources using Just-in-Time access control.
list(**kwargs) -> AsyncIterable[azure.mgmt.security.models._models_py3.JitNetworkAccessPoliciesList]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either JitNetworkAccessPoliciesList or the result of cls(response)
Return type
Exceptions
list_by_region
Policies for protecting resources using Just-in-Time access control for the subscription, location.
list_by_region(**kwargs) -> AsyncIterable[azure.mgmt.security.models._models_py3.JitNetworkAccessPoliciesList]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either JitNetworkAccessPoliciesList or the result of cls(response)
Return type
Exceptions
list_by_resource_group
Policies for protecting resources using Just-in-Time access control for the subscription, location.
list_by_resource_group(resource_group_name: str, **kwargs) -> AsyncIterable[azure.mgmt.security.models._models_py3.JitNetworkAccessPoliciesList]
Parameters
- resource_group_name
- str
The name of the resource group within the user's subscription. The name is case insensitive.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either JitNetworkAccessPoliciesList or the result of cls(response)
Return type
Exceptions
list_by_resource_group_and_region
Policies for protecting resources using Just-in-Time access control for the subscription, location.
list_by_resource_group_and_region(resource_group_name: str, **kwargs) -> AsyncIterable[azure.mgmt.security.models._models_py3.JitNetworkAccessPoliciesList]
Parameters
- resource_group_name
- str
The name of the resource group within the user's subscription. The name is case insensitive.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either JitNetworkAccessPoliciesList or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.security.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\security\\models\\__init__.py'>
Feedback
Submit and view feedback for