BastionHostPropertiesFormatNetworkAcls Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. BastionHostPropertiesFormatNetworkAcls
- com.
Implements
public final class BastionHostPropertiesFormatNetworkAcls
implements JsonSerializable<BastionHostPropertiesFormatNetworkAcls>
The BastionHostPropertiesFormatNetworkAcls model.
Constructor Summary
Constructor | Description |
---|---|
BastionHostPropertiesFormatNetworkAcls() |
Creates an instance of Bastion |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Bastion |
fromJson(JsonReader jsonReader)
Reads an instance of Bastion |
List<Ip |
ipRules()
Get the ip |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Bastion |
withIpRules(List<IpRule> ipRules)
Set the ip |
Methods inherited from java.lang.Object
Constructor Details
BastionHostPropertiesFormatNetworkAcls
public BastionHostPropertiesFormatNetworkAcls()
Creates an instance of BastionHostPropertiesFormatNetworkAcls class.
Method Details
fromJson
public static BastionHostPropertiesFormatNetworkAcls fromJson(JsonReader jsonReader)
Reads an instance of BastionHostPropertiesFormatNetworkAcls from the JsonReader.
Parameters:
Returns:
Throws:
ipRules
public List
Get the ipRules property: Sets the IP ACL rules for Developer Bastion Host.
Returns:
toJson
validate
public void validate()
Validates the instance.
withIpRules
public BastionHostPropertiesFormatNetworkAcls withIpRules(List
Set the ipRules property: Sets the IP ACL rules for Developer Bastion Host.
Parameters:
Returns:
Applies to
Azure SDK for Java