JitNetworkAccessPolicyInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. security. fluent. models. JitNetworkAccessPolicyInner
- com.
- com.
public final class JitNetworkAccessPolicyInner
extends ProxyResource
The JitNetworkAccessPolicy model.
Constructor Summary
| Constructor | Description |
|---|---|
| JitNetworkAccessPolicyInner() |
Creates an instance of Jit |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Jit |
fromJson(JsonReader jsonReader)
Reads an instance of Jit |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
kind()
Get the kind property: Kind of the resource. |
| String |
location()
Get the location property: Location where the resource is stored. |
| String |
name()
Get the name property: The name of the resource. |
| String |
provisioningState()
Get the provisioning |
|
List<Jit |
requests()
Get the requests property: The requests property. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
List<Jit |
virtualMachines()
Get the virtual |
|
Jit |
withKind(String kind)
Set the kind property: Kind of the resource. |
|
Jit |
withRequests(List<JitNetworkAccessRequestInner> requests)
Set the requests property: The requests property. |
|
Jit |
withVirtualMachines(List<JitNetworkAccessPolicyVirtualMachine> virtualMachines)
Set the virtual |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
JitNetworkAccessPolicyInner
public JitNetworkAccessPolicyInner()
Creates an instance of JitNetworkAccessPolicyInner class.
Method Details
fromJson
public static JitNetworkAccessPolicyInner fromJson(JsonReader jsonReader)
Reads an instance of JitNetworkAccessPolicyInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
JitNetworkAccessPolicyInner.id()Returns:
kind
public String kind()
Get the kind property: Kind of the resource.
Returns:
location
public String location()
Get the location property: Location where the resource is stored.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
JitNetworkAccessPolicyInner.name()Returns:
provisioningState
public String provisioningState()
Get the provisioningState property: Gets the provisioning state of the Just-in-Time policy.
Returns:
requests
public List<JitNetworkAccessRequestInner> requests()
Get the requests property: The requests property.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
JitNetworkAccessPolicyInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
JitNetworkAccessPolicyInner.type()Returns:
validate
public void validate()
Validates the instance.
virtualMachines
public List<JitNetworkAccessPolicyVirtualMachine> virtualMachines()
Get the virtualMachines property: Configurations for Microsoft.Compute/virtualMachines resource type.
Returns:
withKind
public JitNetworkAccessPolicyInner withKind(String kind)
Set the kind property: Kind of the resource.
Parameters:
Returns:
withRequests
public JitNetworkAccessPolicyInner withRequests(List<JitNetworkAccessRequestInner> requests)
Set the requests property: The requests property.
Parameters:
Returns:
withVirtualMachines
public JitNetworkAccessPolicyInner withVirtualMachines(List<JitNetworkAccessPolicyVirtualMachine> virtualMachines)
Set the virtualMachines property: Configurations for Microsoft.Compute/virtualMachines resource type.
Parameters:
Returns: