JitNetworkAccessPolicyInner Class

public final class JitNetworkAccessPolicyInner
extends ProxyResource

The JitNetworkAccessPolicy model.

Constructor Summary

Constructor Description
JitNetworkAccessPolicyInner()

Creates an instance of JitNetworkAccessPolicyInner class.

Method Summary

Modifier and Type Method and Description
String kind()

Get the kind property: Kind of the resource.

String location()

Get the location property: Location where the resource is stored.

String provisioningState()

Get the provisioningState property: Gets the provisioning state of the Just-in-Time policy.

List<JitNetworkAccessRequestInner> requests()

Get the requests property: The requests property.

void validate()

Validates the instance.

List<JitNetworkAccessPolicyVirtualMachine> virtualMachines()

Get the virtualMachines property: Configurations for Microsoft.Compute/virtualMachines resource type.

JitNetworkAccessPolicyInner withKind(String kind)

Set the kind property: Kind of the resource.

JitNetworkAccessPolicyInner withRequests(List<JitNetworkAccessRequestInner> requests)

Set the requests property: The requests property.

JitNetworkAccessPolicyInner withVirtualMachines(List<JitNetworkAccessPolicyVirtualMachine> virtualMachines)

Set the virtualMachines property: Configurations for Microsoft.Compute/virtualMachines resource type.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

JitNetworkAccessPolicyInner

public JitNetworkAccessPolicyInner()

Creates an instance of JitNetworkAccessPolicyInner class.

Method Details

kind

public String kind()

Get the kind property: Kind of the resource.

Returns:

the kind value.

location

public String location()

Get the location property: Location where the resource is stored.

Returns:

the location value.

provisioningState

public String provisioningState()

Get the provisioningState property: Gets the provisioning state of the Just-in-Time policy.

Returns:

the provisioningState value.

requests

public List requests()

Get the requests property: The requests property.

Returns:

the requests value.

validate

public void validate()

Validates the instance.

virtualMachines

public List virtualMachines()

Get the virtualMachines property: Configurations for Microsoft.Compute/virtualMachines resource type.

Returns:

the virtualMachines value.

withKind

public JitNetworkAccessPolicyInner withKind(String kind)

Set the kind property: Kind of the resource.

Parameters:

kind - the kind value to set.

Returns:

the JitNetworkAccessPolicyInner object itself.

withRequests

public JitNetworkAccessPolicyInner withRequests(List requests)

Set the requests property: The requests property.

Parameters:

requests - the requests value to set.

Returns:

the JitNetworkAccessPolicyInner object itself.

withVirtualMachines

public JitNetworkAccessPolicyInner withVirtualMachines(List virtualMachines)

Set the virtualMachines property: Configurations for Microsoft.Compute/virtualMachines resource type.

Parameters:

virtualMachines - the virtualMachines value to set.

Returns:

the JitNetworkAccessPolicyInner object itself.

Applies to