EHNamespaceInner Class

public final class EHNamespaceInner
extends Resource

Single Namespace item in List or Get Operation.

Constructor Summary

Constructor Description
EHNamespaceInner()

Creates an instance of EHNamespaceInner class.

Method Summary

Modifier and Type Method and Description
String alternateName()

Get the alternateName property: Alternate name specified when alias and namespace names are same.

String clusterArmId()

Get the clusterArmId property: Cluster ARM ID of the Namespace.

OffsetDateTime createdAt()

Get the createdAt property: The time the Namespace was created.

Boolean disableLocalAuth()

Get the disableLocalAuth property: This property disables SAS authentication for the Event Hubs namespace.

Encryption encryption()

Get the encryption property: Properties of BYOK Encryption description.

static EHNamespaceInner fromJson(JsonReader jsonReader)

Reads an instance of EHNamespaceInner from the JsonReader.

String id()

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

Identity identity()

Get the identity property: Properties of BYOK Identity description.

Boolean isAutoInflateEnabled()

Get the isAutoInflateEnabled property: Value that indicates whether AutoInflate is enabled for eventhub namespace.

Boolean kafkaEnabled()

Get the kafkaEnabled property: Value that indicates whether Kafka is enabled for eventhub namespace.

Integer maximumThroughputUnits()

Get the maximumThroughputUnits property: Upper limit of throughput units when AutoInflate is enabled, value should be within 0 to 20 throughput units.

String metricId()

Get the metricId property: Identifier for Azure Insights metrics.

TlsVersion minimumTlsVersion()

Get the minimumTlsVersion property: The minimum TLS version for the cluster to support, e.g.

String name()

Get the name property: The name of the resource.

List<PrivateEndpointConnectionInner> privateEndpointConnections()

Get the privateEndpointConnections property: List of private endpoint connections.

String provisioningState()

Get the provisioningState property: Provisioning state of the Namespace.

PublicNetworkAccess publicNetworkAccess()

Get the publicNetworkAccess property: This determines if traffic is allowed over public network.

String serviceBusEndpoint()

Get the serviceBusEndpoint property: Endpoint you can use to perform Service Bus operations.

Sku sku()

Get the sku property: Properties of sku resource.

String status()

Get the status property: Status of the Namespace.

SystemData systemData()

Get the systemData property: The system meta data relating to this resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

OffsetDateTime updatedAt()

Get the updatedAt property: The time the Namespace was updated.

void validate()

Validates the instance.

EHNamespaceInner withAlternateName(String alternateName)

Set the alternateName property: Alternate name specified when alias and namespace names are same.

EHNamespaceInner withClusterArmId(String clusterArmId)

Set the clusterArmId property: Cluster ARM ID of the Namespace.

EHNamespaceInner withDisableLocalAuth(Boolean disableLocalAuth)

Set the disableLocalAuth property: This property disables SAS authentication for the Event Hubs namespace.

EHNamespaceInner withEncryption(Encryption encryption)

Set the encryption property: Properties of BYOK Encryption description.

EHNamespaceInner withIdentity(Identity identity)

Set the identity property: Properties of BYOK Identity description.

EHNamespaceInner withIsAutoInflateEnabled(Boolean isAutoInflateEnabled)

Set the isAutoInflateEnabled property: Value that indicates whether AutoInflate is enabled for eventhub namespace.

EHNamespaceInner withKafkaEnabled(Boolean kafkaEnabled)

Set the kafkaEnabled property: Value that indicates whether Kafka is enabled for eventhub namespace.

EHNamespaceInner withLocation(String location)
EHNamespaceInner withMaximumThroughputUnits(Integer maximumThroughputUnits)

Set the maximumThroughputUnits property: Upper limit of throughput units when AutoInflate is enabled, value should be within 0 to 20 throughput units.

EHNamespaceInner withMinimumTlsVersion(TlsVersion minimumTlsVersion)

Set the minimumTlsVersion property: The minimum TLS version for the cluster to support, e.g.

EHNamespaceInner withPrivateEndpointConnections(List<PrivateEndpointConnectionInner> privateEndpointConnections)

Set the privateEndpointConnections property: List of private endpoint connections.

EHNamespaceInner withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)

Set the publicNetworkAccess property: This determines if traffic is allowed over public network.

EHNamespaceInner withSku(Sku sku)

Set the sku property: Properties of sku resource.

EHNamespaceInner withTags(Map<String,String> tags)
EHNamespaceInner withZoneRedundant(Boolean zoneRedundant)

Set the zoneRedundant property: Enabling this property creates a Standard Event Hubs Namespace in regions supported availability zones.

Boolean zoneRedundant()

Get the zoneRedundant property: Enabling this property creates a Standard Event Hubs Namespace in regions supported availability zones.

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

EHNamespaceInner

public EHNamespaceInner()

Creates an instance of EHNamespaceInner class.

Method Details

alternateName

public String alternateName()

Get the alternateName property: Alternate name specified when alias and namespace names are same.

Returns:

the alternateName value.

clusterArmId

public String clusterArmId()

Get the clusterArmId property: Cluster ARM ID of the Namespace.

Returns:

the clusterArmId value.

createdAt

public OffsetDateTime createdAt()

Get the createdAt property: The time the Namespace was created.

Returns:

the createdAt value.

disableLocalAuth

public Boolean disableLocalAuth()

Get the disableLocalAuth property: This property disables SAS authentication for the Event Hubs namespace.

Returns:

the disableLocalAuth value.

encryption

public Encryption encryption()

Get the encryption property: Properties of BYOK Encryption description.

Returns:

the encryption value.

fromJson

public static EHNamespaceInner fromJson(JsonReader jsonReader)

Reads an instance of EHNamespaceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of EHNamespaceInner 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:

EHNamespaceInner.id()

Returns:

the id value.

identity

public Identity identity()

Get the identity property: Properties of BYOK Identity description.

Returns:

the identity value.

isAutoInflateEnabled

public Boolean isAutoInflateEnabled()

Get the isAutoInflateEnabled property: Value that indicates whether AutoInflate is enabled for eventhub namespace.

Returns:

the isAutoInflateEnabled value.

kafkaEnabled

public Boolean kafkaEnabled()

Get the kafkaEnabled property: Value that indicates whether Kafka is enabled for eventhub namespace.

Returns:

the kafkaEnabled value.

maximumThroughputUnits

public Integer maximumThroughputUnits()

Get the maximumThroughputUnits property: Upper limit of throughput units when AutoInflate is enabled, value should be within 0 to 20 throughput units. ( '0' if AutoInflateEnabled = true).

Returns:

the maximumThroughputUnits value.

metricId

public String metricId()

Get the metricId property: Identifier for Azure Insights metrics.

Returns:

the metricId value.

minimumTlsVersion

public TlsVersion minimumTlsVersion()

Get the minimumTlsVersion property: The minimum TLS version for the cluster to support, e.g. '1.2'.

Returns:

the minimumTlsVersion value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

EHNamespaceInner.name()

Returns:

the name value.

privateEndpointConnections

public List privateEndpointConnections()

Get the privateEndpointConnections property: List of private endpoint connections.

Returns:

the privateEndpointConnections value.

provisioningState

public String provisioningState()

Get the provisioningState property: Provisioning state of the Namespace.

Returns:

the provisioningState value.

publicNetworkAccess

public PublicNetworkAccess publicNetworkAccess()

Get the publicNetworkAccess property: This determines if traffic is allowed over public network. By default it is enabled.

Returns:

the publicNetworkAccess value.

serviceBusEndpoint

public String serviceBusEndpoint()

Get the serviceBusEndpoint property: Endpoint you can use to perform Service Bus operations.

Returns:

the serviceBusEndpoint value.

sku

public Sku sku()

Get the sku property: Properties of sku resource.

Returns:

the sku value.

status

public String status()

Get the status property: Status of the Namespace.

Returns:

the status value.

systemData

public SystemData systemData()

Get the systemData property: The system meta data relating to this resource.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

EHNamespaceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

EHNamespaceInner.type()

Returns:

the type value.

updatedAt

public OffsetDateTime updatedAt()

Get the updatedAt property: The time the Namespace was updated.

Returns:

the updatedAt value.

validate

public void validate()

Validates the instance.

withAlternateName

public EHNamespaceInner withAlternateName(String alternateName)

Set the alternateName property: Alternate name specified when alias and namespace names are same.

Parameters:

alternateName - the alternateName value to set.

Returns:

the EHNamespaceInner object itself.

withClusterArmId

public EHNamespaceInner withClusterArmId(String clusterArmId)

Set the clusterArmId property: Cluster ARM ID of the Namespace.

Parameters:

clusterArmId - the clusterArmId value to set.

Returns:

the EHNamespaceInner object itself.

withDisableLocalAuth

public EHNamespaceInner withDisableLocalAuth(Boolean disableLocalAuth)

Set the disableLocalAuth property: This property disables SAS authentication for the Event Hubs namespace.

Parameters:

disableLocalAuth - the disableLocalAuth value to set.

Returns:

the EHNamespaceInner object itself.

withEncryption

public EHNamespaceInner withEncryption(Encryption encryption)

Set the encryption property: Properties of BYOK Encryption description.

Parameters:

encryption - the encryption value to set.

Returns:

the EHNamespaceInner object itself.

withIdentity

public EHNamespaceInner withIdentity(Identity identity)

Set the identity property: Properties of BYOK Identity description.

Parameters:

identity - the identity value to set.

Returns:

the EHNamespaceInner object itself.

withIsAutoInflateEnabled

public EHNamespaceInner withIsAutoInflateEnabled(Boolean isAutoInflateEnabled)

Set the isAutoInflateEnabled property: Value that indicates whether AutoInflate is enabled for eventhub namespace.

Parameters:

isAutoInflateEnabled - the isAutoInflateEnabled value to set.

Returns:

the EHNamespaceInner object itself.

withKafkaEnabled

public EHNamespaceInner withKafkaEnabled(Boolean kafkaEnabled)

Set the kafkaEnabled property: Value that indicates whether Kafka is enabled for eventhub namespace.

Parameters:

kafkaEnabled - the kafkaEnabled value to set.

Returns:

the EHNamespaceInner object itself.

withLocation

public EHNamespaceInner withLocation(String location)

Overrides:

EHNamespaceInner.withLocation(String location)

Parameters:

location

withMaximumThroughputUnits

public EHNamespaceInner withMaximumThroughputUnits(Integer maximumThroughputUnits)

Set the maximumThroughputUnits property: Upper limit of throughput units when AutoInflate is enabled, value should be within 0 to 20 throughput units. ( '0' if AutoInflateEnabled = true).

Parameters:

maximumThroughputUnits - the maximumThroughputUnits value to set.

Returns:

the EHNamespaceInner object itself.

withMinimumTlsVersion

public EHNamespaceInner withMinimumTlsVersion(TlsVersion minimumTlsVersion)

Set the minimumTlsVersion property: The minimum TLS version for the cluster to support, e.g. '1.2'.

Parameters:

minimumTlsVersion - the minimumTlsVersion value to set.

Returns:

the EHNamespaceInner object itself.

withPrivateEndpointConnections

public EHNamespaceInner withPrivateEndpointConnections(List privateEndpointConnections)

Set the privateEndpointConnections property: List of private endpoint connections.

Parameters:

privateEndpointConnections - the privateEndpointConnections value to set.

Returns:

the EHNamespaceInner object itself.

withPublicNetworkAccess

public EHNamespaceInner withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)

Set the publicNetworkAccess property: This determines if traffic is allowed over public network. By default it is enabled.

Parameters:

publicNetworkAccess - the publicNetworkAccess value to set.

Returns:

the EHNamespaceInner object itself.

withSku

public EHNamespaceInner withSku(Sku sku)

Set the sku property: Properties of sku resource.

Parameters:

sku - the sku value to set.

Returns:

the EHNamespaceInner object itself.

withTags

public EHNamespaceInner withTags(Map tags)

Overrides:

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

Parameters:

tags

withZoneRedundant

public EHNamespaceInner withZoneRedundant(Boolean zoneRedundant)

Set the zoneRedundant property: Enabling this property creates a Standard Event Hubs Namespace in regions supported availability zones.

Parameters:

zoneRedundant - the zoneRedundant value to set.

Returns:

the EHNamespaceInner object itself.

zoneRedundant

public Boolean zoneRedundant()

Get the zoneRedundant property: Enabling this property creates a Standard Event Hubs Namespace in regions supported availability zones.

Returns:

the zoneRedundant value.

Applies to