Class NspAssociationInner

java.lang.Object
com.azure.core.management.ProxyResource
All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>

public final class NspAssociationInner extends SecurityPerimeterProxyResource
The NSP resource association resource.
  • Constructor Details

    • NspAssociationInner

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

    • systemData

      public SecurityPerimeterSystemData systemData()
      Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
      Overrides:
      systemData in class SecurityPerimeterProxyResource
      Returns:
      the systemData value.
    • type

      public String type()
      Get the type property: The type of the resource.
      Overrides:
      type in class SecurityPerimeterProxyResource
      Returns:
      the type value.
    • name

      public String name()
      Get the name property: The name of the resource.
      Overrides:
      name in class SecurityPerimeterProxyResource
      Returns:
      the name value.
    • id

      public String id()
      Get the id property: Fully qualified resource Id for the resource.
      Overrides:
      id in class SecurityPerimeterProxyResource
      Returns:
      the id value.
    • provisioningState

      public NspProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the resource association resource.
      Returns:
      the provisioningState value.
    • privateLinkResource

      public com.azure.core.management.SubResource privateLinkResource()
      Get the privateLinkResource property: The PaaS resource to be associated.
      Returns:
      the privateLinkResource value.
    • withPrivateLinkResource

      public NspAssociationInner withPrivateLinkResource(com.azure.core.management.SubResource privateLinkResource)
      Set the privateLinkResource property: The PaaS resource to be associated.
      Parameters:
      privateLinkResource - the privateLinkResource value to set.
      Returns:
      the NspAssociationInner object itself.
    • profile

      public com.azure.core.management.SubResource profile()
      Get the profile property: Profile id to which the PaaS resource is associated.
      Returns:
      the profile value.
    • withProfile

      public NspAssociationInner withProfile(com.azure.core.management.SubResource profile)
      Set the profile property: Profile id to which the PaaS resource is associated.
      Parameters:
      profile - the profile value to set.
      Returns:
      the NspAssociationInner object itself.
    • accessMode

      public AssociationAccessMode accessMode()
      Get the accessMode property: Access mode on the association.
      Returns:
      the accessMode value.
    • withAccessMode

      public NspAssociationInner withAccessMode(AssociationAccessMode accessMode)
      Set the accessMode property: Access mode on the association.
      Parameters:
      accessMode - the accessMode value to set.
      Returns:
      the NspAssociationInner object itself.
    • hasProvisioningIssues

      public String hasProvisioningIssues()
      Get the hasProvisioningIssues property: Specifies if there are provisioning issues.
      Returns:
      the hasProvisioningIssues value.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class SecurityPerimeterProxyResource
      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 SecurityPerimeterProxyResource
      Throws:
      IOException
    • fromJson

      public static NspAssociationInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of NspAssociationInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of NspAssociationInner 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 NspAssociationInner.