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 Details

    • NetworkSecurityPerimeterConfiguration

      public NetworkSecurityPerimeterConfiguration()
      Creates an instance of NetworkSecurityPerimeterConfiguration class.
  • Method Details

    • location

      public String location()
      Get the location property: The geo-location where the resource lives.
      Returns:
      the location value.
    • id

      public String id()
      Get the id property: Fully qualified resource Id for the resource.
      Overrides:
      id in class com.azure.core.management.ProxyResource
      Returns:
      the id value.
    • name

      public String name()
      Get the name property: The name of the resource.
      Overrides:
      name in class com.azure.core.management.ProxyResource
      Returns:
      the name value.
    • type

      public String type()
      Get the type property: The type of the resource.
      Overrides:
      type in class com.azure.core.management.ProxyResource
      Returns:
      the type value.
    • provisioningState

      Get the provisioningState property: Provisioning state of NetworkSecurityPerimeter configuration propagation.
      Returns:
      the provisioningState value.
    • withProvisioningState

      Set the provisioningState property: Provisioning state of NetworkSecurityPerimeter configuration propagation.
      Parameters:
      provisioningState - the provisioningState value to set.
      Returns:
      the NetworkSecurityPerimeterConfiguration object itself.
    • provisioningIssues

      public List<ProvisioningIssue> 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

      public NetworkSecurityPerimeter 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

      public Boolean 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

      public List<String> 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

      public String parentAssociationName()
      Get the parentAssociationName property: Source Resource Association name.
      Returns:
      the parentAssociationName value.
    • sourceResourceId

      public String 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
      Overrides:
      toJson in class com.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.