Skip to content

Commit

Permalink
[Event Hubs] update docs with explicit ignores (#4073)
Browse files Browse the repository at this point in the history
  • Loading branch information
chradek authored and ramya-rao-a committed Jun 25, 2019
1 parent 762e03b commit 95d09d6
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/eventhub/event-hubs/review/event-hubs.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class EventHubClient {
createConsumer(consumerGroup: string, partitionId: string, eventPosition: EventPosition, options?: EventHubConsumerOptions): EventHubConsumer;
static createFromIotHubConnectionString(iothubConnectionString: string, options?: EventHubClientOptions): Promise<EventHubClient>;
createProducer(options?: EventHubProducerOptions): EventHubProducer;
static defaultConsumerGroup: string;
static defaultConsumerGroupName: string;
readonly eventHubName: string;
getPartitionIds(abortSignal?: AbortSignalLike): Promise<Array<string>>;
getPartitionProperties(partitionId: string, abortSignal?: AbortSignalLike): Promise<PartitionProperties>;
Expand Down
1 change: 1 addition & 0 deletions sdk/eventhub/event-hubs/src/batchingReceiver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import { EventPosition } from "./eventPosition";
* @class BatchingReceiver
* @extends EventHubReceiver
* @internal
* @ignore
*/
export class BatchingReceiver extends EventHubReceiver {
/**
Expand Down
1 change: 1 addition & 0 deletions sdk/eventhub/event-hubs/src/connectionContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import { Dictionary, OnAmqpEvent, EventContext, ConnectionEvents } from "rhea-pr
/**
* @interface ConnectionContext
* @internal
* @ignore
* Provides contextual information like the underlying amqp connection, cbs session, management session,
* tokenProvider, senders, receivers, etc. about the EventHub client.
*/
Expand Down
5 changes: 5 additions & 0 deletions sdk/eventhub/event-hubs/src/eventHubReceiver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ import { LinkEntity } from "./linkEntity";
import { EventPosition, getEventPositionFilter } from "./eventPosition";
import { AbortSignalLike, AbortError } from "@azure/abort-controller";

/**
* @ignore
*/
interface CreateReceiverOptions {
onMessage: OnAmqpEvent;
onError: OnAmqpEvent;
Expand All @@ -31,6 +34,7 @@ interface CreateReceiverOptions {

/**
* @internal
* @ignore
* Represents the approximate receiver runtime information for a logical partition of an Event Hub.
* @interface ReceiverRuntimeInfo
*/
Expand Down Expand Up @@ -67,6 +71,7 @@ export type OnError = (error: MessagingError | Error) => void;
* Describes the EventHubReceiver that will receive event data from EventHub.
* @class EventHubReceiver
* @internal
* @ignore
*/
export class EventHubReceiver extends LinkEntity {
/**
Expand Down
4 changes: 4 additions & 0 deletions sdk/eventhub/event-hubs/src/eventHubSender.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ import { LinkEntity } from "./linkEntity";
import { SendOptions, EventHubProducerOptions } from "./eventHubClient";
import { AbortSignalLike, AbortError } from "@azure/abort-controller";

/**
* @ignore
*/
interface CreateSenderOptions {
newName?: boolean;
}
Expand All @@ -39,6 +42,7 @@ interface CreateSenderOptions {
* Describes the EventHubSender that will send event data to EventHub.
* @class EventHubSender
* @internal
* @ignore
*/
export class EventHubSender extends LinkEntity {
/**
Expand Down
1 change: 1 addition & 0 deletions sdk/eventhub/event-hubs/src/eventPosition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { translate, Constants, ErrorNameConditionMapper } from "@azure/core-amqp
/**
* Describes the options that can be set while creating an EventPosition.
* @internal
* @ignore
* @interface EventPositionOptions
*/
export interface EventPositionOptions {
Expand Down
1 change: 1 addition & 0 deletions sdk/eventhub/event-hubs/src/linkEntity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export interface LinkEntityOptions {
/**
* Describes the base class for entities like EventHub Sender, Receiver and Management link.
* @internal
* @ignore
* @class LinkEntity
*/
export class LinkEntity {
Expand Down
1 change: 1 addition & 0 deletions sdk/eventhub/event-hubs/src/managementClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ export interface ManagementClientOptions {
/**
* @class ManagementClient
* @internal
* @ignore
* Descibes the EventHubs Management Client that talks
* to the $management endpoint over AMQP connection.
*/
Expand Down
1 change: 1 addition & 0 deletions sdk/eventhub/event-hubs/src/streamingReceiver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export class ReceiveHandler {
* Describes the streaming receiver where the user can receive the message
* by providing handler functions.
* @internal
* @ignore
* @class StreamingReceiver
* @extends EventHubReceiver
*/
Expand Down
3 changes: 3 additions & 0 deletions sdk/eventhub/event-hubs/src/util/constants.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

/**
* @ignore
*/
export const packageJsonInfo = {
name: "@azure/event-hubs",
version: "3.0.0-preview.1"
Expand Down
2 changes: 2 additions & 0 deletions sdk/eventhub/event-hubs/src/util/error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { ConnectionContext } from "../connectionContext";

/**
* @internal
* @ignore
* Logs and throws Error if the current AMQP connection is closed.
* @param context The ConnectionContext associated with the current AMQP connection.
*/
Expand All @@ -20,6 +21,7 @@ export function throwErrorIfConnectionClosed(context: ConnectionContext): void {

/**
* @internal
* @ignore
* Logs and Throws TypeError if given parameter is undefined or null
* @param connectionId Id of the underlying AMQP connection used for logging
* @param parameterName Name of the parameter to check
Expand Down

0 comments on commit 95d09d6

Please sign in to comment.