Class NetworkSecurityPerimeterConfigurationProperties
java.lang.Object
com.azure.resourcemanager.search.models.NetworkSecurityPerimeterConfigurationProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<NetworkSecurityPerimeterConfigurationProperties>
public final class NetworkSecurityPerimeterConfigurationProperties
extends Object
implements com.azure.json.JsonSerializable<NetworkSecurityPerimeterConfigurationProperties>
Network security configuration properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of NetworkSecurityPerimeterConfigurationProperties class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of NetworkSecurityPerimeterConfigurationProperties from the JsonReader.Get the networkSecurityPerimeter property: Information about a network security perimeter (NSP).profile()Get the profile property: Network security perimeter configuration profile.Get the provisioningIssues property: List of provisioning issues, if any.Get the provisioningState property: Provisioning state of a network security perimeter configuration that is being created or updated.Get the resourceAssociation property: Information about resource association.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withNetworkSecurityPerimeter(NetworkSecurityPerimeter networkSecurityPerimeter) Set the networkSecurityPerimeter property: Information about a network security perimeter (NSP).withProfile(NetworkSecurityProfile profile) Set the profile property: Network security perimeter configuration profile.withResourceAssociation(ResourceAssociation resourceAssociation) Set the resourceAssociation property: Information about resource association.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
NetworkSecurityPerimeterConfigurationProperties
public NetworkSecurityPerimeterConfigurationProperties()Creates an instance of NetworkSecurityPerimeterConfigurationProperties class.
-
-
Method Details
-
provisioningState
Get the provisioningState property: Provisioning state of a network security perimeter configuration that is being created or updated.- Returns:
- the provisioningState value.
-
provisioningIssues
Get the provisioningIssues property: List of provisioning issues, if any.- Returns:
- the provisioningIssues value.
-
networkSecurityPerimeter
Get the networkSecurityPerimeter property: Information about a network security perimeter (NSP).- Returns:
- the networkSecurityPerimeter value.
-
withNetworkSecurityPerimeter
public NetworkSecurityPerimeterConfigurationProperties withNetworkSecurityPerimeter(NetworkSecurityPerimeter networkSecurityPerimeter) Set the networkSecurityPerimeter property: Information about a network security perimeter (NSP).- Parameters:
networkSecurityPerimeter- the networkSecurityPerimeter value to set.- Returns:
- the NetworkSecurityPerimeterConfigurationProperties object itself.
-
resourceAssociation
Get the resourceAssociation property: Information about resource association.- Returns:
- the resourceAssociation value.
-
withResourceAssociation
public NetworkSecurityPerimeterConfigurationProperties withResourceAssociation(ResourceAssociation resourceAssociation) Set the resourceAssociation property: Information about resource association.- Parameters:
resourceAssociation- the resourceAssociation value to set.- Returns:
- the NetworkSecurityPerimeterConfigurationProperties object itself.
-
profile
Get the profile property: Network security perimeter configuration profile.- Returns:
- the profile value.
-
withProfile
Set the profile property: Network security perimeter configuration profile.- Parameters:
profile- the profile value to set.- Returns:
- the NetworkSecurityPerimeterConfigurationProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<NetworkSecurityPerimeterConfigurationProperties>- Throws:
IOException
-
fromJson
public static NetworkSecurityPerimeterConfigurationProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of NetworkSecurityPerimeterConfigurationProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of NetworkSecurityPerimeterConfigurationProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the NetworkSecurityPerimeterConfigurationProperties.
-