ManagedNamespaceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. containerservice. fluent. models. ManagedNamespaceInner
- com.
- com.
- com.
public final class ManagedNamespaceInner
extends Resource
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 e |
|
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
|
Namespace |
properties()
Get the properties property: Properties of a namespace. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Managed |
withLocation(String location) |
|
Managed |
withProperties(NamespaceProperties properties)
Set the properties property: Properties of a namespace. |
|
Managed |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
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: If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
Returns:
fromJson
public static ManagedNamespaceInner fromJson(JsonReader jsonReader)
Reads an instance of ManagedNamespaceInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ManagedNamespaceInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ManagedNamespaceInner.name()Returns:
properties
public NamespaceProperties properties()
Get the properties property: Properties of a namespace.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ManagedNamespaceInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ManagedNamespaceInner.type()Returns:
validate
public void validate()
Validates the instance.
withLocation
public ManagedNamespaceInner withLocation(String location)
Overrides:
ManagedNamespaceInner.withLocation(String location)Parameters:
withProperties
public ManagedNamespaceInner withProperties(NamespaceProperties properties)
Set the properties property: Properties of a namespace.
Parameters:
Returns:
withTags
public ManagedNamespaceInner withTags(Map<String,String> tags)
Overrides:
ManagedNamespaceInner.withTags(Map<String,String> tags)Parameters: