Share via


ManagedNamespaceInner Class

public final class ManagedNamespaceInner
extends Resource

Namespace managed by ARM.

Constructor Summary

Constructor Description
ManagedNamespaceInner()

Creates an instance of ManagedNamespaceInner class.

Method Summary

Modifier and Type Method and Description
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.

static ManagedNamespaceInner fromJson(JsonReader jsonReader)

Reads an instance of ManagedNamespaceInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

NamespaceProperties properties()

Get the properties property: Properties of a namespace.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

ManagedNamespaceInner withLocation(String location)
ManagedNamespaceInner withProperties(NamespaceProperties properties)

Set the properties property: Properties of a namespace.

ManagedNamespaceInner 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:

the eTag value.

fromJson

public static ManagedNamespaceInner fromJson(JsonReader jsonReader)

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 the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

ManagedNamespaceInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ManagedNamespaceInner.name()

Returns:

the name value.

properties

public NamespaceProperties properties()

Get the properties property: Properties of a namespace.

Returns:

the properties value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ManagedNamespaceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ManagedNamespaceInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withLocation

public ManagedNamespaceInner withLocation(String location)

Overrides:

ManagedNamespaceInner.withLocation(String location)

Parameters:

location

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.

withTags

public ManagedNamespaceInner withTags(Map<String,String> tags)

Overrides:

ManagedNamespaceInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to