Share via


Namespace Class

Definition

Namespace resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.NamespaceTypeConverter))]
public class Namespace : Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.INamespace, Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.NamespaceTypeConverter))>]
type Namespace = class
    interface INamespace
    interface IJsonSerializable
    interface ITrackedResource
    interface IResource
    interface IValidates
Public Class Namespace
Implements INamespace, IValidates
Inheritance
Namespace
Attributes
Implements

Constructors

Namespace()

Creates an new Namespace instance.

Properties

ClientAuthenticationAlternativeAuthenticationNameSource

Alternative authentication name sources related to client authentication settings for namespace resource.

Id

Fully qualified identifier of the resource.

IdentityPrincipalId

The principal ID of resource identity.

IdentityTenantId

The tenant ID of resource.

IdentityType

The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identity.

IdentityUserAssignedIdentity

The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. This property is currently not used and reserved for future usage.

InboundIPRule

This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.

IsZoneRedundant

Allows the user to specify if the service is zone-redundant. This is a required property and user needs to specify this value explicitly. Once specified, this property cannot be updated.

Location

Location of the resource.

MinimumTlsVersionAllowed

Minimum TLS version of the publisher allowed to publish to this namespace. Only TLS version 1.2 is supported.

Name

Name of the resource.

PrivateEndpointConnection
ProvisioningState

Provisioning state of the namespace resource.

PublicNetworkAccess

This determines if traffic is allowed over public network. By default it is enabled. You can further restrict to specific IPs by configuring

ResourceGroupName

Gets the resource group name

RoutingEnrichmentDynamic
RoutingEnrichmentStatic
RoutingIdentityInfoType
RoutingIdentityInfoUserAssignedIdentity
SkuCapacity

Specifies the number of Throughput Units that defines the capacity for the namespace. The property default value is 1 which signifies 1 Throughput Unit = 1MB/s ingress and 2MB/s egress per namespace. Min capacity is 1 and max allowed capacity is 20.

SkuName

The name of the SKU.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Tag

Tags of the resource.

TopicConfigurationHostname

The hostname for the topics configuration. This is a read-only property.

TopicSpaceConfigurationHostname

The endpoint for the topic spaces configuration. This is a read-only property.

TopicSpaceConfigurationMaximumClientSessionsPerAuthenticationName

The maximum number of sessions per authentication name. The property default value is 1. Min allowed value is 1 and max allowed value is 100.

TopicSpaceConfigurationMaximumSessionExpiryInHour

The maximum session expiry in hours. The property default value is 1 hour. Min allowed value is 1 hour and max allowed value is 8 hours.

TopicSpaceConfigurationRouteTopicResourceId

Fully qualified Azure Resource Id for the Event Grid Topic to which events will be routed to from TopicSpaces under a namespace. This property should be in the following format '/subscriptions/{subId}/resourcegroups/{resourceGroupName}/providers/microsoft.EventGrid/topics/{topicName}'. This topic should reside in the same region where namespace is located.

TopicSpaceConfigurationState

Indicate if Topic Spaces Configuration is enabled for the namespace. Default is Disabled.

Type

Type of the resource.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Namespace.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Namespace.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.INamespace.

FromJsonString(String)

Creates a new instance of Namespace, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Namespace into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to