Share via


EventHub Class

Definition

EventHub.

public class EventHub : Azure.Provisioning.Primitives.Resource
type EventHub = class
    inherit Resource
Public Class EventHub
Inherits Resource
Inheritance

Constructors

EventHub(String, String)

Creates a new EventHub.

Properties

CaptureDescription

Properties of capture description.

CreatedOn

Exact time the Event Hub was created.

DependsOn

Declares explicit dependencies on other resources.

(Inherited from Resource)
Id

Gets the Id.

IdentifierName

Gets or sets the the Bicep identifier name of the resource. This can be used to refer to the resource in expressions, but is not the Azure name of the resource. This value can contain letters, numbers, and underscores.

(Inherited from NamedProvisioningConstruct)
IsExistingResource

Gets whether this is referencing an existing resource or we're defining a new resource.

(Inherited from Resource)
Location

The geo-location where the resource lives.

Name

The Event Hub name.

Parent

Gets or sets a reference to the parent EventHubsNamespace.

PartitionCount

Number of partitions created for the Event Hub, allowed values are from 1 to 32 partitions.

PartitionIds

Current number of shards on the Event Hub.

ResourceType

Gets the type of the resource.

(Inherited from Resource)
ResourceVersion

Gets or sets the version of the resource.

(Inherited from Resource)
RetentionDescription

Event Hub retention settings.

Status

Enumerates the possible values for the status of the Event Hub.

SystemData

Gets the SystemData.

UpdatedOn

The exact time the message was updated.

Methods

Build(ProvisioningContext)

Compose the resource into a provisioning plan that can be saved as Bicep or deployed directly.

(Inherited from Resource)
Compile()

Compile the resource into a set of Bicep statements.

(Inherited from Resource)
FromExisting(String, String)

Creates a reference to an existing EventHub.

GetResources()

Get any resources represented by this object. This will typically only be the object itself for everything but Infrastructure.

(Inherited from Provisionable)
OverrideWithExpression(Expression)

Set this construct to represent the result of an expression. This is primarily meant to be called via FromExpression static methods on specific resources or constructs.

(Inherited from ProvisioningConstruct)
Resolve(ProvisioningContext)

Resolve any resources or properties that were not explicitly specified.

(Inherited from ProvisioningConstruct)
Validate(ProvisioningContext)

Validate the presence of any required members.

(Inherited from Resource)

Applies to