azure-docs-sdk-java/docs-ref-autogen/com.azure.messaging.eventgr...

96 строки
7.5 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.messaging.eventgrid.namespaces.EventGridSenderClient"
fullName: "com.azure.messaging.eventgrid.namespaces.EventGridSenderClient"
name: "EventGridSenderClient"
nameWithType: "EventGridSenderClient"
summary: "Initializes a new instance of the synchronous Event<wbr>Grid<wbr>Sender<wbr>Client type."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **EventGridSenderClient**"
methods:
- uid: "com.azure.messaging.eventgrid.namespaces.EventGridSenderClient.getTopicName()"
fullName: "com.azure.messaging.eventgrid.namespaces.EventGridSenderClient.getTopicName()"
name: "getTopicName()"
nameWithType: "EventGridSenderClient.getTopicName()"
summary: "Gets the topic<wbr>Name for this client."
syntax: "public String getTopicName()"
desc: "Gets the topicName for this client."
returns:
description: "the topic name."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.messaging.eventgrid.namespaces.EventGridSenderClient.send(com.azure.core.models.CloudEvent)"
fullName: "com.azure.messaging.eventgrid.namespaces.EventGridSenderClient.send(CloudEvent event)"
name: "send(CloudEvent event)"
nameWithType: "EventGridSenderClient.send(CloudEvent event)"
summary: "Publish a single Cloud Event to a namespace topic."
parameters:
- description: "Single Cloud Event being published."
name: "event"
type: "<xref href=\"com.azure.core.models.CloudEvent?alt=com.azure.core.models.CloudEvent&text=CloudEvent\" data-throw-if-not-resolved=\"False\" />"
syntax: "public void send(CloudEvent event)"
desc: "Publish a single Cloud Event to a namespace topic."
- uid: "com.azure.messaging.eventgrid.namespaces.EventGridSenderClient.send(java.util.List<com.azure.core.models.CloudEvent>)"
fullName: "com.azure.messaging.eventgrid.namespaces.EventGridSenderClient.send(List<CloudEvent> events)"
name: "send(List<CloudEvent> events)"
nameWithType: "EventGridSenderClient.send(List<CloudEvent> events)"
summary: "Publish a batch of Cloud Events to a namespace topic."
parameters:
- description: "Array of Cloud Events being published."
name: "events"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.core.models.CloudEvent?alt=com.azure.core.models.CloudEvent&text=CloudEvent\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public void send(List<CloudEvent> events)"
desc: "Publish a batch of Cloud Events to a namespace topic."
- uid: "com.azure.messaging.eventgrid.namespaces.EventGridSenderClient.sendWithResponse(com.azure.core.models.CloudEvent,com.azure.core.http.rest.RequestOptions)"
fullName: "com.azure.messaging.eventgrid.namespaces.EventGridSenderClient.sendWithResponse(CloudEvent event, RequestOptions requestOptions)"
name: "sendWithResponse(CloudEvent event, RequestOptions requestOptions)"
nameWithType: "EventGridSenderClient.sendWithResponse(CloudEvent event, RequestOptions requestOptions)"
summary: "Publish a single Cloud Event to a namespace topic."
parameters:
- description: "Array of Cloud Events being published."
name: "event"
type: "<xref href=\"com.azure.core.models.CloudEvent?alt=com.azure.core.models.CloudEvent&text=CloudEvent\" data-throw-if-not-resolved=\"False\" />"
- description: "The options to configure the HTTP request before HTTP client sends it."
name: "requestOptions"
type: "<xref href=\"com.azure.core.http.rest.RequestOptions?alt=com.azure.core.http.rest.RequestOptions&text=RequestOptions\" data-throw-if-not-resolved=\"False\" />"
syntax: "public Response<Void> sendWithResponse(CloudEvent event, RequestOptions requestOptions)"
desc: "Publish a single Cloud Event to a namespace topic."
returns:
description: "The <xref uid=\"com.azure.core.http.rest.Response\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Response\"></xref> of the send operation."
type: "<xref href=\"com.azure.core.http.rest.Response?alt=com.azure.core.http.rest.Response&text=Response\" data-throw-if-not-resolved=\"False\" />&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html\">Void</a>&gt;"
- uid: "com.azure.messaging.eventgrid.namespaces.EventGridSenderClient.sendWithResponse(java.util.List<com.azure.core.models.CloudEvent>,com.azure.core.http.rest.RequestOptions)"
fullName: "com.azure.messaging.eventgrid.namespaces.EventGridSenderClient.sendWithResponse(List<CloudEvent> events, RequestOptions requestOptions)"
name: "sendWithResponse(List<CloudEvent> events, RequestOptions requestOptions)"
nameWithType: "EventGridSenderClient.sendWithResponse(List<CloudEvent> events, RequestOptions requestOptions)"
summary: "Publish a batch of Cloud Events to a namespace topic."
parameters:
- description: "Array of Cloud Events being published."
name: "events"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.core.models.CloudEvent?alt=com.azure.core.models.CloudEvent&text=CloudEvent\" data-throw-if-not-resolved=\"False\" />&gt;"
- description: "The options to configure the HTTP request before HTTP client sends it."
name: "requestOptions"
type: "<xref href=\"com.azure.core.http.rest.RequestOptions?alt=com.azure.core.http.rest.RequestOptions&text=RequestOptions\" data-throw-if-not-resolved=\"False\" />"
syntax: "public Response<Void> sendWithResponse(List<CloudEvent> events, RequestOptions requestOptions)"
desc: "Publish a batch of Cloud Events to a namespace topic."
returns:
description: "The <xref uid=\"com.azure.core.http.rest.Response\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Response\"></xref> of the send operation."
type: "<xref href=\"com.azure.core.http.rest.Response?alt=com.azure.core.http.rest.Response&text=Response\" data-throw-if-not-resolved=\"False\" />&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html\">Void</a>&gt;"
type: "class"
desc: "Initializes a new instance of the synchronous EventGridSenderClient type."
metadata: {}
package: "com.azure.messaging.eventgrid.namespaces"
artifact: com.azure:azure-messaging-eventgrid-namespaces:1.1.0