Class ManagedNamespaceInner

java.lang.Object
com.azure.core.management.SubResource
com.azure.resourcemanager.containerservice.fluent.models.ManagedNamespaceInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.SubResource>

public final class ManagedNamespaceInner extends com.azure.core.management.SubResource
Namespace managed by ARM.
  • Constructor Details

    • ManagedNamespaceInner

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

    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: The system metadata relating to this resource.
      Returns:
      the systemData value.
    • tags

      public Map<String,String> tags()
      Get the tags property: The tags to be persisted on the managed cluster namespace.
      Returns:
      the tags value.
    • withTags

      public ManagedNamespaceInner withTags(Map<String,String> tags)
      Set the tags property: The tags to be persisted on the managed cluster namespace.
      Parameters:
      tags - the tags value to set.
      Returns:
      the ManagedNamespaceInner object itself.
    • etag

      public String etag()
      Get the etag property: Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal eTag convention.
      Returns:
      the etag value.
    • location

      public String location()
      Get the location property: The location of the namespace.
      Returns:
      the location value.
    • withLocation

      public ManagedNamespaceInner withLocation(String location)
      Set the location property: The location of the namespace.
      Parameters:
      location - the location value to set.
      Returns:
      the ManagedNamespaceInner object itself.
    • properties

      public NamespaceProperties properties()
      Get the properties property: Properties of a namespace.
      Returns:
      the properties value.
    • withProperties

      public ManagedNamespaceInner withProperties(NamespaceProperties properties)
      Set the properties property: Properties of a namespace.
      Parameters:
      properties - the properties value to set.
      Returns:
      the ManagedNamespaceInner object itself.
    • name

      public String name()
      Get the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.
      Returns:
      the name value.
    • type

      public String type()
      Get the type property: Resource type.
      Returns:
      the type value.
    • withId

      public ManagedNamespaceInner withId(String id)
      Overrides:
      withId in class com.azure.core.management.SubResource
    • 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.SubResource>
      Overrides:
      toJson in class com.azure.core.management.SubResource
      Throws:
      IOException
    • fromJson

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