Class NetworkSecurityPerimeterConfiguration
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.eventhubs.models.NetworkSecurityPerimeterConfiguration
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class NetworkSecurityPerimeterConfiguration
extends com.azure.core.management.ProxyResource
Network Security Perimeter related configurations of a given namespace.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of NetworkSecurityPerimeterConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionGet the applicableFeatures property: Indicates that the NSP controls related to backing association are only applicable to a specific feature in backing resource's data plane.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of NetworkSecurityPerimeterConfiguration from the JsonReader.id()Get the id property: Fully qualified resource Id for the resource.Get the isBackingResource property: True if the EventHub namespace is backed by another Azure resource and not visible to end users.location()Get the location property: The geo-location where the resource lives.name()Get the name property: The name of the resource.Get the networkSecurityPerimeter property: NetworkSecurityPerimeter related information.Get the parentAssociationName property: Source Resource Association name.profile()Get the profile property: Information about current network profile.Get the provisioningIssues property: List of Provisioning Issues if any.Get the provisioningState property: Provisioning state of NetworkSecurityPerimeter configuration propagation.Get the resourceAssociation property: Information about resource association.Get the sourceResourceId property: ARM Id of source resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The type of the resource.voidvalidate()Validates the instance.withProvisioningIssues(List<ProvisioningIssue> provisioningIssues) Set the provisioningIssues property: List of Provisioning Issues if any.withProvisioningState(NetworkSecurityPerimeterConfigurationProvisioningState provisioningState) Set the provisioningState property: Provisioning state of NetworkSecurityPerimeter configuration propagation.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
-
NetworkSecurityPerimeterConfiguration
public NetworkSecurityPerimeterConfiguration()Creates an instance of NetworkSecurityPerimeterConfiguration class.
-
-
Method Details
-
location
Get the location property: The geo-location where the resource lives.- Returns:
- the location value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
idin classcom.azure.core.management.ProxyResource- Returns:
- the id value.
-
name
Get the name property: The name of the resource.- Overrides:
namein classcom.azure.core.management.ProxyResource- Returns:
- the name value.
-
type
Get the type property: The type of the resource.- Overrides:
typein classcom.azure.core.management.ProxyResource- Returns:
- the type value.
-
provisioningState
Get the provisioningState property: Provisioning state of NetworkSecurityPerimeter configuration propagation.- Returns:
- the provisioningState value.
-
withProvisioningState
public NetworkSecurityPerimeterConfiguration withProvisioningState(NetworkSecurityPerimeterConfigurationProvisioningState provisioningState) Set the provisioningState property: Provisioning state of NetworkSecurityPerimeter configuration propagation.- Parameters:
provisioningState- the provisioningState value to set.- Returns:
- the NetworkSecurityPerimeterConfiguration object itself.
-
provisioningIssues
Get the provisioningIssues property: List of Provisioning Issues if any.- Returns:
- the provisioningIssues value.
-
withProvisioningIssues
public NetworkSecurityPerimeterConfiguration withProvisioningIssues(List<ProvisioningIssue> provisioningIssues) Set the provisioningIssues property: List of Provisioning Issues if any.- Parameters:
provisioningIssues- the provisioningIssues value to set.- Returns:
- the NetworkSecurityPerimeterConfiguration object itself.
-
networkSecurityPerimeter
Get the networkSecurityPerimeter property: NetworkSecurityPerimeter related information.- Returns:
- the networkSecurityPerimeter value.
-
resourceAssociation
Get the resourceAssociation property: Information about resource association.- Returns:
- the resourceAssociation value.
-
profile
Get the profile property: Information about current network profile.- Returns:
- the profile value.
-
isBackingResource
Get the isBackingResource property: True if the EventHub namespace is backed by another Azure resource and not visible to end users.- Returns:
- the isBackingResource value.
-
applicableFeatures
Get the applicableFeatures property: Indicates that the NSP controls related to backing association are only applicable to a specific feature in backing resource's data plane.- Returns:
- the applicableFeatures value.
-
parentAssociationName
Get the parentAssociationName property: Source Resource Association name.- Returns:
- the parentAssociationName value.
-
sourceResourceId
Get the sourceResourceId property: ARM Id of source resource.- Returns:
- the sourceResourceId value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>- Overrides:
toJsonin classcom.azure.core.management.ProxyResource- Throws:
IOException
-
fromJson
public static NetworkSecurityPerimeterConfiguration fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of NetworkSecurityPerimeterConfiguration from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of NetworkSecurityPerimeterConfiguration if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the NetworkSecurityPerimeterConfiguration.
-