Class JitNetworkAccessPolicyInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.security.fluent.models.JitNetworkAccessPolicyInner
public final class JitNetworkAccessPolicyInner
extends com.azure.core.management.ProxyResource
The JitNetworkAccessPolicy model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionkind()
Get the kind property: Kind of the resource.location()
Get the location property: Location where the resource is stored.Get the provisioningState property: Gets the provisioning state of the Just-in-Time policy.requests()
Get the requests property: The requests property.void
validate()
Validates the instance.Get the virtualMachines property: Configurations for Microsoft.Compute/virtualMachines resource type.Set the kind property: Kind of the resource.withRequests
(List<JitNetworkAccessRequestInner> requests) Set the requests property: The requests property.withVirtualMachines
(List<JitNetworkAccessPolicyVirtualMachine> virtualMachines) Set the virtualMachines property: Configurations for Microsoft.Compute/virtualMachines resource type.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
JitNetworkAccessPolicyInner
public JitNetworkAccessPolicyInner()
-
-
Method Details
-
kind
Get the kind property: Kind of the resource.- Returns:
- the kind value.
-
withKind
Set the kind property: Kind of the resource.- Parameters:
kind
- the kind value to set.- Returns:
- the JitNetworkAccessPolicyInner object itself.
-
location
Get the location property: Location where the resource is stored.- Returns:
- the location value.
-
virtualMachines
Get the virtualMachines property: Configurations for Microsoft.Compute/virtualMachines resource type.- Returns:
- the virtualMachines value.
-
withVirtualMachines
public JitNetworkAccessPolicyInner withVirtualMachines(List<JitNetworkAccessPolicyVirtualMachine> virtualMachines) Set the virtualMachines property: Configurations for Microsoft.Compute/virtualMachines resource type.- Parameters:
virtualMachines
- the virtualMachines value to set.- Returns:
- the JitNetworkAccessPolicyInner object itself.
-
requests
Get the requests property: The requests property.- Returns:
- the requests value.
-
withRequests
Set the requests property: The requests property.- Parameters:
requests
- the requests value to set.- Returns:
- the JitNetworkAccessPolicyInner object itself.
-
provisioningState
Get the provisioningState property: Gets the provisioning state of the Just-in-Time policy.- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-