Interface SchemaRegistriesClient
public interface SchemaRegistriesClient
An instance of this class provides access to all the operations defined in SchemaRegistriesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate(String resourceGroupName, String namespaceName, String schemaGroupName, SchemaGroupInner parameters) Creates or Updates an EventHub schema group.createOrUpdateAsync(String resourceGroupName, String namespaceName, String schemaGroupName, SchemaGroupInner parameters) Creates or Updates an EventHub schema group.com.azure.core.http.rest.Response<SchemaGroupInner> createOrUpdateWithResponse(String resourceGroupName, String namespaceName, String schemaGroupName, SchemaGroupInner parameters, com.azure.core.util.Context context) Creates or Updates an EventHub schema group.Mono<com.azure.core.http.rest.Response<SchemaGroupInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String namespaceName, String schemaGroupName, SchemaGroupInner parameters) Creates or Updates an EventHub schema group.voidDeletes an EventHub schema group.deleteAsync(String resourceGroupName, String namespaceName, String schemaGroupName) Deletes an EventHub schema group.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String namespaceName, String schemaGroupName, com.azure.core.util.Context context) Deletes an EventHub schema group.deleteWithResponseAsync(String resourceGroupName, String namespaceName, String schemaGroupName) Deletes an EventHub schema group.Gets the details of an EventHub schema group.Gets the details of an EventHub schema group.com.azure.core.http.rest.Response<SchemaGroupInner> getWithResponse(String resourceGroupName, String namespaceName, String schemaGroupName, com.azure.core.util.Context context) Gets the details of an EventHub schema group.Mono<com.azure.core.http.rest.Response<SchemaGroupInner>> getWithResponseAsync(String resourceGroupName, String namespaceName, String schemaGroupName) Gets the details of an EventHub schema group.com.azure.core.http.rest.PagedIterable<SchemaGroupInner> listByNamespace(String resourceGroupName, String namespaceName) Gets all the Schema Groups in a Namespace.com.azure.core.http.rest.PagedIterable<SchemaGroupInner> listByNamespace(String resourceGroupName, String namespaceName, Integer skip, Integer top, com.azure.core.util.Context context) Gets all the Schema Groups in a Namespace.com.azure.core.http.rest.PagedFlux<SchemaGroupInner> listByNamespaceAsync(String resourceGroupName, String namespaceName) Gets all the Schema Groups in a Namespace.com.azure.core.http.rest.PagedFlux<SchemaGroupInner> listByNamespaceAsync(String resourceGroupName, String namespaceName, Integer skip, Integer top) Gets all the Schema Groups in a Namespace.
-
Method Details
-
listByNamespaceAsync
com.azure.core.http.rest.PagedFlux<SchemaGroupInner> listByNamespaceAsync(String resourceGroupName, String namespaceName, Integer skip, Integer top) Gets all the Schema Groups in a Namespace.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.namespaceName- The Namespace name.skip- Skip is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skip parameter that specifies a starting point to use for subsequent calls.top- May be used to limit the number of results to the most recent N usageDetails.- Returns:
- all the Schema Groups in a Namespace as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByNamespaceAsync
com.azure.core.http.rest.PagedFlux<SchemaGroupInner> listByNamespaceAsync(String resourceGroupName, String namespaceName) Gets all the Schema Groups in a Namespace.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.namespaceName- The Namespace name.- Returns:
- all the Schema Groups in a Namespace as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByNamespace
com.azure.core.http.rest.PagedIterable<SchemaGroupInner> listByNamespace(String resourceGroupName, String namespaceName) Gets all the Schema Groups in a Namespace.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.namespaceName- The Namespace name.- Returns:
- all the Schema Groups in a Namespace as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByNamespace
com.azure.core.http.rest.PagedIterable<SchemaGroupInner> listByNamespace(String resourceGroupName, String namespaceName, Integer skip, Integer top, com.azure.core.util.Context context) Gets all the Schema Groups in a Namespace.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.namespaceName- The Namespace name.skip- Skip is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skip parameter that specifies a starting point to use for subsequent calls.top- May be used to limit the number of results to the most recent N usageDetails.context- The context to associate with this operation.- Returns:
- all the Schema Groups in a Namespace as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<SchemaGroupInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String namespaceName, String schemaGroupName, SchemaGroupInner parameters) Creates or Updates an EventHub schema group.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.namespaceName- The Namespace name.schemaGroupName- The Schema Group name.parameters- Parameters supplied to create an Event Hub resource.- Returns:
- single item in List or Get Schema Group operation along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
Mono<SchemaGroupInner> createOrUpdateAsync(String resourceGroupName, String namespaceName, String schemaGroupName, SchemaGroupInner parameters) Creates or Updates an EventHub schema group.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.namespaceName- The Namespace name.schemaGroupName- The Schema Group name.parameters- Parameters supplied to create an Event Hub resource.- Returns:
- single item in List or Get Schema Group operation on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<SchemaGroupInner> createOrUpdateWithResponse(String resourceGroupName, String namespaceName, String schemaGroupName, SchemaGroupInner parameters, com.azure.core.util.Context context) Creates or Updates an EventHub schema group.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.namespaceName- The Namespace name.schemaGroupName- The Schema Group name.parameters- Parameters supplied to create an Event Hub resource.context- The context to associate with this operation.- Returns:
- single item in List or Get Schema Group operation along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
SchemaGroupInner createOrUpdate(String resourceGroupName, String namespaceName, String schemaGroupName, SchemaGroupInner parameters) Creates or Updates an EventHub schema group.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.namespaceName- The Namespace name.schemaGroupName- The Schema Group name.parameters- Parameters supplied to create an Event Hub resource.- Returns:
- single item in List or Get Schema Group operation.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String namespaceName, String schemaGroupName) Deletes an EventHub schema group.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.namespaceName- The Namespace name.schemaGroupName- The Schema Group name.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
Deletes an EventHub schema group.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.namespaceName- The Namespace name.schemaGroupName- The Schema Group name.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String namespaceName, String schemaGroupName, com.azure.core.util.Context context) Deletes an EventHub schema group.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.namespaceName- The Namespace name.schemaGroupName- The Schema Group name.context- The context to associate with this operation.- Returns:
- the
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Deletes an EventHub schema group.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.namespaceName- The Namespace name.schemaGroupName- The Schema Group name.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<SchemaGroupInner>> getWithResponseAsync(String resourceGroupName, String namespaceName, String schemaGroupName) Gets the details of an EventHub schema group.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.namespaceName- The Namespace name.schemaGroupName- The Schema Group name.- Returns:
- the details of an EventHub schema group along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAsync
Mono<SchemaGroupInner> getAsync(String resourceGroupName, String namespaceName, String schemaGroupName) Gets the details of an EventHub schema group.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.namespaceName- The Namespace name.schemaGroupName- The Schema Group name.- Returns:
- the details of an EventHub schema group on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<SchemaGroupInner> getWithResponse(String resourceGroupName, String namespaceName, String schemaGroupName, com.azure.core.util.Context context) Gets the details of an EventHub schema group.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.namespaceName- The Namespace name.schemaGroupName- The Schema Group name.context- The context to associate with this operation.- Returns:
- the details of an EventHub schema group along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
get
Gets the details of an EventHub schema group.- Parameters:
resourceGroupName- Name of the resource group within the azure subscription.namespaceName- The Namespace name.schemaGroupName- The Schema Group name.- Returns:
- the details of an EventHub schema group.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-