ManagedNamespaceInner Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. containerservice. fluent. models. ManagedNamespaceInner
- com.
- com.
public final class ManagedNamespaceInner
extends SubResource
Namespace managed by ARM.
Constructor Summary
| Constructor | Description |
|---|---|
| ManagedNamespaceInner() |
Creates an instance of Managed |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
etag()
Get the etag property: Unique read-only string used to implement optimistic concurrency. |
|
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
| String |
location()
Get the location property: The location of the namespace. |
| String |
name()
Get the name property: The name of the resource that is unique within a resource group. |
|
Namespace |
properties()
Get the properties property: Properties of a namespace. |
|
System |
systemData()
Get the system |
| Map<String,String> |
tags()
Get the tags property: The tags to be persisted on the managed cluster namespace. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: Resource type. |
| void |
validate()
Validates the instance. |
|
Managed |
withId(String id) |
|
Managed |
withLocation(String location)
Set the location property: The location of the namespace. |
|
Managed |
withProperties(NamespaceProperties properties)
Set the properties property: Properties of a namespace. |
|
Managed |
withTags(Map<String,String> tags)
Set the tags property: The tags to be persisted on the managed cluster namespace. |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
ManagedNamespaceInner
public ManagedNamespaceInner()
Creates an instance of ManagedNamespaceInner class.
Method Details
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:
fromJson
public static ManagedNamespaceInner fromJson(JsonReader jsonReader)
Reads an instance of ManagedNamespaceInner from the JsonReader.
Parameters:
Returns:
Throws:
location
public String location()
Get the location property: The location of the namespace.
Returns:
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:
properties
public NamespaceProperties properties()
Get the properties property: Properties of a namespace.
Returns:
systemData
public SystemData systemData()
Get the systemData property: The system metadata relating to this resource.
Returns:
tags
public Map<String,String> tags()
Get the tags property: The tags to be persisted on the managed cluster namespace.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ManagedNamespaceInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Resource type.
Returns:
validate
public void validate()
Validates the instance.
withId
public ManagedNamespaceInner withId(String id)
Overrides:
ManagedNamespaceInner.withId(String id)Parameters:
withLocation
public ManagedNamespaceInner withLocation(String location)
Set the location property: The location of the namespace.
Parameters:
Returns:
withProperties
public ManagedNamespaceInner withProperties(NamespaceProperties properties)
Set the properties property: Properties of a namespace.
Parameters:
Returns:
withTags
public ManagedNamespaceInner withTags(Map<String,String> tags)
Set the tags property: The tags to be persisted on the managed cluster namespace.
Parameters:
Returns: