Get properties of a CA certificate.
+ *
+ * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param namespaceName Name of the namespace.
+ * @param caCertificateName Name of the CA certificate.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return properties of a CA certificate along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response Get properties of a CA certificate.
+ *
+ * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param namespaceName Name of the namespace.
+ * @param caCertificateName Name of the CA certificate.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return properties of a CA certificate.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CaCertificateInner get(String resourceGroupName, String namespaceName, String caCertificateName);
+
+ /**
+ * Create or update a CA certificate.
+ *
+ * Create or update a CA certificate with the specified parameters.
+ *
+ * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param namespaceName Name of the namespace.
+ * @param caCertificateName The CA certificate name.
+ * @param caCertificateInfo CA certificate information.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of the CA Certificate resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller Create or update a CA certificate with the specified parameters.
+ *
+ * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param namespaceName Name of the namespace.
+ * @param caCertificateName The CA certificate name.
+ * @param caCertificateInfo CA certificate information.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of the CA Certificate resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller Create or update a CA certificate with the specified parameters.
+ *
+ * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param namespaceName Name of the namespace.
+ * @param caCertificateName The CA certificate name.
+ * @param caCertificateInfo CA certificate information.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the CA Certificate resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CaCertificateInner createOrUpdate(
+ String resourceGroupName, String namespaceName, String caCertificateName, CaCertificateInner caCertificateInfo);
+
+ /**
+ * Create or update a CA certificate.
+ *
+ * Create or update a CA certificate with the specified parameters.
+ *
+ * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param namespaceName Name of the namespace.
+ * @param caCertificateName The CA certificate name.
+ * @param caCertificateInfo CA certificate information.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the CA Certificate resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CaCertificateInner createOrUpdate(
+ String resourceGroupName,
+ String namespaceName,
+ String caCertificateName,
+ CaCertificateInner caCertificateInfo,
+ Context context);
+
+ /**
+ * Delete a CA certificate.
+ *
+ * Delete an existing CA certificate.
+ *
+ * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param namespaceName Name of the namespace.
+ * @param caCertificateName Name of the CA certificate.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller Delete an existing CA certificate.
+ *
+ * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param namespaceName Name of the namespace.
+ * @param caCertificateName Name of the CA certificate.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller Delete an existing CA certificate.
+ *
+ * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param namespaceName Name of the namespace.
+ * @param caCertificateName Name of the CA certificate.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String namespaceName, String caCertificateName);
+
+ /**
+ * Delete a CA certificate.
+ *
+ * Delete an existing CA certificate.
+ *
+ * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param namespaceName Name of the namespace.
+ * @param caCertificateName Name of the CA certificate.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String namespaceName, String caCertificateName, Context context);
+
+ /**
+ * List all CA certificates under a namespace.
+ *
+ * Get all the CA certificates under a namespace.
+ *
+ * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param namespaceName Name of the namespace.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return all the CA certificates under a namespace as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable Get all the CA certificates under a namespace.
+ *
+ * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param namespaceName Name of the namespace.
+ * @param filter The query used to filter the search results using OData syntax. Filtering is permitted on the
+ * 'name' property only and with limited number of OData operations. These operations are: the 'contains'
+ * function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal).
+ * No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE,
+ * 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq
+ * 'westus'.
+ * @param top The number of results to return per page for the list operation. Valid range for top parameter is 1 to
+ * 100. If not specified, the default number of results to be returned is 20 items per page.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return all the CA certificates under a namespace as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable Get properties of a channel.
*
* @param resourceGroupName The name of the resource group within the partners subscription.
* @param partnerNamespaceName Name of the partner namespace.
@@ -48,23 +36,25 @@ Response Get properties of a channel.
*
* @param resourceGroupName The name of the resource group within the partners subscription.
* @param partnerNamespaceName Name of the partner namespace.
* @param channelName Name of the channel.
- * @param channelInfo Channel information.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return channel info.
+ * @return properties of a channel.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ChannelInner createOrUpdate(
- String resourceGroupName, String partnerNamespaceName, String channelName, ChannelInner channelInfo);
+ ChannelInner get(String resourceGroupName, String partnerNamespaceName, String channelName);
/**
- * Synchronously creates or updates a new channel with the specified parameters.
+ * Create or update a channel.
+ *
+ * Synchronously creates or updates a new channel with the specified parameters.
*
* @param resourceGroupName The name of the resource group within the partners subscription.
* @param partnerNamespaceName Name of the partner namespace.
@@ -85,7 +75,27 @@ Response Synchronously creates or updates a new channel with the specified parameters.
+ *
+ * @param resourceGroupName The name of the resource group within the partners subscription.
+ * @param partnerNamespaceName Name of the partner namespace.
+ * @param channelName Name of the channel.
+ * @param channelInfo Channel information.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return channel info.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ChannelInner createOrUpdate(
+ String resourceGroupName, String partnerNamespaceName, String channelName, ChannelInner channelInfo);
+
+ /**
+ * Delete a channel.
+ *
+ * Delete an existing channel.
*
* @param resourceGroupName The name of the resource group within the partners subscription.
* @param partnerNamespaceName Name of the partner namespace.
@@ -100,7 +110,9 @@ SyncPoller Delete an existing channel.
*
* @param resourceGroupName The name of the resource group within the partners subscription.
* @param partnerNamespaceName Name of the partner namespace.
@@ -116,7 +128,9 @@ SyncPoller Delete an existing channel.
*
* @param resourceGroupName The name of the resource group within the partners subscription.
* @param partnerNamespaceName Name of the partner namespace.
@@ -129,7 +143,9 @@ SyncPoller Delete an existing channel.
*
* @param resourceGroupName The name of the resource group within the partners subscription.
* @param partnerNamespaceName Name of the partner namespace.
@@ -143,46 +159,52 @@ SyncPoller Synchronously updates a channel with the specified parameters.
*
* @param resourceGroupName The name of the resource group within the partners subscription.
* @param partnerNamespaceName Name of the partner namespace.
* @param channelName Name of the channel.
* @param channelUpdateParameters Channel update information.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void update(
+ Response Synchronously updates a channel with the specified parameters.
*
* @param resourceGroupName The name of the resource group within the partners subscription.
* @param partnerNamespaceName Name of the partner namespace.
* @param channelName Name of the channel.
* @param channelUpdateParameters Channel update information.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response List all the channels in a partner namespace.
*
* @param resourceGroupName The name of the resource group within the partners subscription.
* @param partnerNamespaceName Name of the partner namespace.
@@ -195,7 +217,9 @@ Response List all the channels in a partner namespace.
*
* @param resourceGroupName The name of the resource group within the partners subscription.
* @param partnerNamespaceName Name of the partner namespace.
@@ -218,32 +242,36 @@ PagedIterable Get the full endpoint URL of a partner destination channel.
*
* @param resourceGroupName The name of the resource group within the partners subscription.
* @param partnerNamespaceName Name of the partner namespace.
* @param channelName Name of the Channel.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the full endpoint URL of a partner destination channel.
+ * @return the full endpoint URL of a partner destination channel along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- EventSubscriptionFullUrlInner getFullUrl(String resourceGroupName, String partnerNamespaceName, String channelName);
+ Response Get the full endpoint URL of a partner destination channel.
*
* @param resourceGroupName The name of the resource group within the partners subscription.
* @param partnerNamespaceName Name of the partner namespace.
* @param channelName Name of the Channel.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the full endpoint URL of a partner destination channel along with {@link Response}.
+ * @return the full endpoint URL of a partner destination channel.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response Get properties of a client group.
+ *
+ * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param namespaceName Name of the namespace.
+ * @param clientGroupName Name of the client group.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return properties of a client group along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response Get properties of a client group.
+ *
+ * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param namespaceName Name of the namespace.
+ * @param clientGroupName Name of the client group.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return properties of a client group.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ClientGroupInner get(String resourceGroupName, String namespaceName, String clientGroupName);
+
+ /**
+ * Create or update a client group.
+ *
+ * Create or update a client group with the specified parameters.
+ *
+ * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param namespaceName Name of the namespace.
+ * @param clientGroupName The client group name.
+ * @param clientGroupInfo Client group information.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of the Client group resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller Create or update a client group with the specified parameters.
+ *
+ * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param namespaceName Name of the namespace.
+ * @param clientGroupName The client group name.
+ * @param clientGroupInfo Client group information.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of the Client group resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller Create or update a client group with the specified parameters.
+ *
+ * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param namespaceName Name of the namespace.
+ * @param clientGroupName The client group name.
+ * @param clientGroupInfo Client group information.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Client group resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ClientGroupInner createOrUpdate(
+ String resourceGroupName, String namespaceName, String clientGroupName, ClientGroupInner clientGroupInfo);
+
+ /**
+ * Create or update a client group.
+ *
+ * Create or update a client group with the specified parameters.
+ *
+ * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param namespaceName Name of the namespace.
+ * @param clientGroupName The client group name.
+ * @param clientGroupInfo Client group information.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Client group resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ClientGroupInner createOrUpdate(
+ String resourceGroupName,
+ String namespaceName,
+ String clientGroupName,
+ ClientGroupInner clientGroupInfo,
+ Context context);
+
+ /**
+ * Delete a client group.
+ *
+ * Delete an existing client group.
+ *
+ * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param namespaceName Name of the namespace.
+ * @param clientGroupName Name of the client group.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller Delete an existing client group.
+ *
+ * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param namespaceName Name of the namespace.
+ * @param clientGroupName Name of the client group.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller Delete an existing client group.
+ *
+ * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param namespaceName Name of the namespace.
+ * @param clientGroupName Name of the client group.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String namespaceName, String clientGroupName);
+
+ /**
+ * Delete a client group.
+ *
+ * Delete an existing client group.
+ *
+ * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param namespaceName Name of the namespace.
+ * @param clientGroupName Name of the client group.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String namespaceName, String clientGroupName, Context context);
+
+ /**
+ * List all client groups under a namespace.
+ *
+ * Get all the client groups under a namespace.
+ *
+ * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param namespaceName Name of the namespace.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return all the client groups under a namespace as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable Get all the client groups under a namespace.
+ *
+ * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param namespaceName Name of the namespace.
+ * @param filter The query used to filter the search results using OData syntax. Filtering is permitted on the
+ * 'name' property only and with limited number of OData operations. These operations are: the 'contains'
+ * function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal).
+ * No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE,
+ * 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq
+ * 'westus'.
+ * @param top The number of results to return per page for the list operation. Valid range for top parameter is 1 to
+ * 100. If not specified, the default number of results to be returned is 20 items per page.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return all the client groups under a namespace as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable Get properties of a client.
+ *
+ * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param namespaceName Name of the namespace.
+ * @param clientName Name of the client.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return properties of a client along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response Get properties of a client.
+ *
+ * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param namespaceName Name of the namespace.
+ * @param clientName Name of the client.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return properties of a client.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ClientInner get(String resourceGroupName, String namespaceName, String clientName);
+
+ /**
+ * Create or update a client.
+ *
+ * Create or update a client with the specified parameters.
+ *
+ * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param namespaceName Name of the namespace.
+ * @param clientName The client name.
+ * @param clientInfo Client information.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of the Client resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller Create or update a client with the specified parameters.
+ *
+ * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param namespaceName Name of the namespace.
+ * @param clientName The client name.
+ * @param clientInfo Client information.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of the Client resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller Create or update a client with the specified parameters.
+ *
+ * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param namespaceName Name of the namespace.
+ * @param clientName The client name.
+ * @param clientInfo Client information.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Client resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ClientInner createOrUpdate(
+ String resourceGroupName, String namespaceName, String clientName, ClientInner clientInfo);
+
+ /**
+ * Create or update a client.
+ *
+ * Create or update a client with the specified parameters.
+ *
+ * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param namespaceName Name of the namespace.
+ * @param clientName The client name.
+ * @param clientInfo Client information.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the Client resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ClientInner createOrUpdate(
+ String resourceGroupName, String namespaceName, String clientName, ClientInner clientInfo, Context context);
+
+ /**
+ * Delete a client.
+ *
+ * Delete an existing client.
+ *
+ * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param namespaceName Name of the namespace.
+ * @param clientName Name of the client.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller Delete an existing client.
+ *
+ * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param namespaceName Name of the namespace.
+ * @param clientName Name of the client.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller Delete an existing client.
+ *
+ * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param namespaceName Name of the namespace.
+ * @param clientName Name of the client.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String namespaceName, String clientName);
+
+ /**
+ * Delete a client.
+ *
+ * Delete an existing client.
+ *
+ * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param namespaceName Name of the namespace.
+ * @param clientName Name of the client.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String namespaceName, String clientName, Context context);
+
+ /**
+ * List all permission bindings under a namespace.
+ *
+ * Get all the permission bindings under a namespace.
+ *
+ * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param namespaceName Name of the namespace.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return all the permission bindings under a namespace as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable Get all the permission bindings under a namespace.
+ *
+ * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param namespaceName Name of the namespace.
+ * @param filter The query used to filter the search results using OData syntax. Filtering is permitted on the
+ * 'name' property only and with limited number of OData operations. These operations are: the 'contains'
+ * function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal).
+ * No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE,
+ * 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq
+ * 'westus'.
+ * @param top The number of results to return per page for the list operation. Valid range for top parameter is 1 to
+ * 100. If not specified, the default number of results to be returned is 20 items per page.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return all the permission bindings under a namespace as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable Get all delivery attributes for an event subscription for domain.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
- * @param domainName Name of the domain topic.
+ * @param domainName Name of the domain.
* @param eventSubscriptionName Name of the event subscription.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all delivery attributes for an event subscription for domain.
+ * @return all delivery attributes for an event subscription for domain along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- DeliveryAttributeListResultInner getDeliveryAttributes(
- String resourceGroupName, String domainName, String eventSubscriptionName);
+ Response Get all delivery attributes for an event subscription for domain.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
- * @param domainName Name of the domain topic.
+ * @param domainName Name of the domain.
* @param eventSubscriptionName Name of the event subscription.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all delivery attributes for an event subscription for domain along with {@link Response}.
+ * @return all delivery attributes for an event subscription for domain.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response Get properties of an event subscription of a domain.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
- * @param domainName Name of the partner topic.
+ * @param domainName Name of the domain.
* @param eventSubscriptionName Name of the event subscription to be found. Event subscription names must be between
* 3 and 100 characters in length and use alphanumeric letters only.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return properties of an event subscription of a domain.
+ * @return properties of an event subscription of a domain along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- EventSubscriptionInner get(String resourceGroupName, String domainName, String eventSubscriptionName);
+ Response Get properties of an event subscription of a domain.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
- * @param domainName Name of the partner topic.
+ * @param domainName Name of the domain.
* @param eventSubscriptionName Name of the event subscription to be found. Event subscription names must be between
* 3 and 100 characters in length and use alphanumeric letters only.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return properties of an event subscription of a domain along with {@link Response}.
+ * @return properties of an event subscription of a domain.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response Asynchronously creates a new event subscription or updates an existing event subscription.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain topic.
@@ -102,7 +112,9 @@ SyncPoller Asynchronously creates a new event subscription or updates an existing event subscription.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain topic.
@@ -124,7 +136,9 @@ SyncPoller Asynchronously creates a new event subscription or updates an existing event subscription.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain topic.
@@ -144,7 +158,9 @@ EventSubscriptionInner createOrUpdate(
EventSubscriptionInner eventSubscriptionInfo);
/**
- * Asynchronously creates a new event subscription or updates an existing event subscription.
+ * Create or update an event subscription to a domain.
+ *
+ * Asynchronously creates a new event subscription or updates an existing event subscription.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain topic.
@@ -166,7 +182,9 @@ EventSubscriptionInner createOrUpdate(
Context context);
/**
- * Delete an existing event subscription for a domain.
+ * Delete an event subscription for a domain.
+ *
+ * Delete an existing event subscription for a domain.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
@@ -182,7 +200,9 @@ SyncPoller Delete an existing event subscription for a domain.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
@@ -199,7 +219,9 @@ SyncPoller Delete an existing event subscription for a domain.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
@@ -213,7 +235,9 @@ SyncPoller Delete an existing event subscription for a domain.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
@@ -228,7 +252,9 @@ SyncPoller Update an existing event subscription for a topic.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
@@ -247,7 +273,9 @@ SyncPoller Update an existing event subscription for a topic.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
@@ -268,7 +296,9 @@ SyncPoller Update an existing event subscription for a topic.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
@@ -287,7 +317,9 @@ EventSubscriptionInner update(
EventSubscriptionUpdateParameters eventSubscriptionUpdateParameters);
/**
- * Update an existing event subscription for a topic.
+ * Update an event subscription for a domain.
+ *
+ * Update an existing event subscription for a topic.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
@@ -308,37 +340,43 @@ EventSubscriptionInner update(
Context context);
/**
- * Get the full endpoint URL for an event subscription for domain.
+ * Get full URL of an event subscription for domain.
+ *
+ * Get the full endpoint URL for an event subscription for domain.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain topic.
* @param eventSubscriptionName Name of the event subscription.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the full endpoint URL for an event subscription for domain.
+ * @return the full endpoint URL for an event subscription for domain along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- EventSubscriptionFullUrlInner getFullUrl(String resourceGroupName, String domainName, String eventSubscriptionName);
+ Response Get the full endpoint URL for an event subscription for domain.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain topic.
* @param eventSubscriptionName Name of the event subscription.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the full endpoint URL for an event subscription for domain along with {@link Response}.
+ * @return the full endpoint URL for an event subscription for domain.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response List all event subscriptions that have been created for a specific topic.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
@@ -351,7 +389,9 @@ Response List all event subscriptions that have been created for a specific topic.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/DomainTopicEventSubscriptionsClient.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/DomainTopicEventSubscriptionsClient.java
index 22ed96214abf..2154e9b8a074 100644
--- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/DomainTopicEventSubscriptionsClient.java
+++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/DomainTopicEventSubscriptionsClient.java
@@ -19,23 +19,46 @@
/** An instance of this class provides access to all the operations defined in DomainTopicEventSubscriptionsClient. */
public interface DomainTopicEventSubscriptionsClient {
/**
- * Get properties of a nested event subscription for a domain topic.
+ * Get delivery attributes for an event subscription for domain topic.
+ *
+ * Get all delivery attributes for an event subscription for domain topic.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the top level domain.
* @param topicName Name of the domain topic.
* @param eventSubscriptionName Name of the event subscription.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return properties of a nested event subscription for a domain topic.
+ * @return all delivery attributes for an event subscription for domain topic along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- EventSubscriptionInner get(
+ Response Get all delivery attributes for an event subscription for domain topic.
+ *
+ * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param domainName Name of the top level domain.
+ * @param topicName Name of the domain topic.
+ * @param eventSubscriptionName Name of the event subscription.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return all delivery attributes for an event subscription for domain topic.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DeliveryAttributeListResultInner getDeliveryAttributes(
String resourceGroupName, String domainName, String topicName, String eventSubscriptionName);
/**
- * Get properties of a nested event subscription for a domain topic.
+ * Get a nested event subscription for domain topic.
+ *
+ * Get properties of a nested event subscription for a domain topic.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the top level domain.
@@ -52,7 +75,27 @@ Response Get properties of a nested event subscription for a domain topic.
+ *
+ * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param domainName Name of the top level domain.
+ * @param topicName Name of the domain topic.
+ * @param eventSubscriptionName Name of the event subscription.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return properties of a nested event subscription for a domain topic.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ EventSubscriptionInner get(
+ String resourceGroupName, String domainName, String topicName, String eventSubscriptionName);
+
+ /**
+ * Create or update a nested event subscription to a domain topic.
+ *
+ * Asynchronously creates a new event subscription or updates an existing event subscription.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the top level domain.
@@ -74,7 +117,9 @@ SyncPoller Asynchronously creates a new event subscription or updates an existing event subscription.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the top level domain.
@@ -98,7 +143,9 @@ SyncPoller Asynchronously creates a new event subscription or updates an existing event subscription.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the top level domain.
@@ -120,7 +167,9 @@ EventSubscriptionInner createOrUpdate(
EventSubscriptionInner eventSubscriptionInfo);
/**
- * Asynchronously creates a new event subscription or updates an existing event subscription.
+ * Create or update a nested event subscription to a domain topic.
+ *
+ * Asynchronously creates a new event subscription or updates an existing event subscription.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the top level domain.
@@ -144,7 +193,9 @@ EventSubscriptionInner createOrUpdate(
Context context);
/**
- * Delete a nested existing event subscription for a domain topic.
+ * Delete a nested event subscription for a domain topic.
+ *
+ * Delete a nested existing event subscription for a domain topic.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the top level domain.
@@ -161,7 +212,9 @@ SyncPoller Delete a nested existing event subscription for a domain topic.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the top level domain.
@@ -179,7 +232,9 @@ SyncPoller Delete a nested existing event subscription for a domain topic.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the top level domain.
@@ -194,7 +249,9 @@ SyncPoller Delete a nested existing event subscription for a domain topic.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the top level domain.
@@ -211,7 +268,9 @@ void delete(
String resourceGroupName, String domainName, String topicName, String eventSubscriptionName, Context context);
/**
- * Update an existing event subscription for a domain topic.
+ * Update a nested event subscription for a domain topic.
+ *
+ * Update an existing event subscription for a domain topic.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
@@ -232,7 +291,9 @@ SyncPoller Update an existing event subscription for a domain topic.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
@@ -255,7 +316,9 @@ SyncPoller Update an existing event subscription for a domain topic.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
@@ -276,7 +339,9 @@ EventSubscriptionInner update(
EventSubscriptionUpdateParameters eventSubscriptionUpdateParameters);
/**
- * Update an existing event subscription for a domain topic.
+ * Update a nested event subscription for a domain topic.
+ *
+ * Update an existing event subscription for a domain topic.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
@@ -299,40 +364,46 @@ EventSubscriptionInner update(
Context context);
/**
- * Get the full endpoint URL for a nested event subscription for domain topic.
+ * Get full URL of a nested event subscription for domain topic.
+ *
+ * Get the full endpoint URL for a nested event subscription for domain topic.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the top level domain.
* @param topicName Name of the domain topic.
* @param eventSubscriptionName Name of the event subscription.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the full endpoint URL for a nested event subscription for domain topic.
+ * @return the full endpoint URL for a nested event subscription for domain topic along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- EventSubscriptionFullUrlInner getFullUrl(
- String resourceGroupName, String domainName, String topicName, String eventSubscriptionName);
+ Response Get the full endpoint URL for a nested event subscription for domain topic.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the top level domain.
* @param topicName Name of the domain topic.
* @param eventSubscriptionName Name of the event subscription.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the full endpoint URL for a nested event subscription for domain topic along with {@link Response}.
+ * @return the full endpoint URL for a nested event subscription for domain topic.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response List all event subscriptions that have been created for a specific domain topic.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the top level domain.
@@ -346,7 +417,9 @@ Response List all event subscriptions that have been created for a specific domain topic.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the top level domain.
@@ -368,37 +441,4 @@ Response Get properties of a domain topic.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
* @param domainTopicName Name of the topic.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return properties of a domain topic.
+ * @return properties of a domain topic along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- DomainTopicInner get(String resourceGroupName, String domainName, String domainTopicName);
+ Response Get properties of a domain topic.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
* @param domainTopicName Name of the topic.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return properties of a domain topic along with {@link Response}.
+ * @return properties of a domain topic.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response Asynchronously creates or updates a new domain topic with the specified parameters.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
@@ -61,7 +67,9 @@ SyncPoller Asynchronously creates or updates a new domain topic with the specified parameters.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
@@ -77,7 +85,9 @@ SyncPoller Asynchronously creates or updates a new domain topic with the specified parameters.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
@@ -91,7 +101,9 @@ SyncPoller Asynchronously creates or updates a new domain topic with the specified parameters.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
@@ -107,7 +119,9 @@ DomainTopicInner createOrUpdate(
String resourceGroupName, String domainName, String domainTopicName, Context context);
/**
- * Delete existing domain topic.
+ * Delete a domain topic.
+ *
+ * Delete existing domain topic.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
@@ -121,7 +135,9 @@ DomainTopicInner createOrUpdate(
SyncPoller Delete existing domain topic.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
@@ -137,7 +153,9 @@ SyncPoller Delete existing domain topic.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
@@ -150,7 +168,9 @@ SyncPoller Delete existing domain topic.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
@@ -164,7 +184,9 @@ SyncPoller List all the topics in a domain.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Domain name.
@@ -177,7 +199,9 @@ SyncPoller List all the topics in a domain.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Domain name.
diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/DomainsClient.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/DomainsClient.java
index 12abdb9e3f26..c10bc74b0a90 100644
--- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/DomainsClient.java
+++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/DomainsClient.java
@@ -19,34 +19,40 @@
/** An instance of this class provides access to all the operations defined in DomainsClient. */
public interface DomainsClient {
/**
- * Get properties of a domain.
+ * Get a domain.
+ *
+ * Get properties of a domain.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return properties of a domain.
+ * @return properties of a domain along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- DomainInner getByResourceGroup(String resourceGroupName, String domainName);
+ Response Get properties of a domain.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return properties of a domain along with {@link Response}.
+ * @return properties of a domain.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response Asynchronously creates or updates a new domain with the specified parameters.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
@@ -61,7 +67,9 @@ SyncPoller Asynchronously creates or updates a new domain with the specified parameters.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
@@ -77,7 +85,9 @@ SyncPoller Asynchronously creates or updates a new domain with the specified parameters.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
@@ -91,7 +101,9 @@ SyncPoller Asynchronously creates or updates a new domain with the specified parameters.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
@@ -106,7 +118,9 @@ SyncPoller Delete existing domain.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
@@ -119,7 +133,9 @@ SyncPoller Delete existing domain.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
@@ -133,7 +149,9 @@ SyncPoller Delete existing domain.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
@@ -145,7 +163,9 @@ SyncPoller Delete existing domain.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
@@ -158,7 +178,9 @@ SyncPoller Asynchronously updates a domain with the specified parameters.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
@@ -173,7 +195,9 @@ SyncPoller Asynchronously updates a domain with the specified parameters.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
@@ -189,7 +213,9 @@ SyncPoller Asynchronously updates a domain with the specified parameters.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
@@ -203,7 +229,9 @@ SyncPoller Asynchronously updates a domain with the specified parameters.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
@@ -219,7 +247,9 @@ DomainInner update(
String resourceGroupName, String domainName, DomainUpdateParameters domainUpdateParameters, Context context);
/**
- * List all the domains under an Azure subscription.
+ * List domains under an Azure subscription.
+ *
+ * List all the domains under an Azure subscription.
*
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -229,7 +259,9 @@ DomainInner update(
PagedIterable List all the domains under an Azure subscription.
*
* @param filter The query used to filter the search results using OData syntax. Filtering is permitted on the
* 'name' property only and with limited number of OData operations. These operations are: the 'contains'
@@ -249,7 +281,9 @@ DomainInner update(
PagedIterable List all the domains under a resource group.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -261,7 +295,9 @@ DomainInner update(
PagedIterable List all the domains under a resource group.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param filter The query used to filter the search results using OData syntax. Filtering is permitted on the
@@ -283,61 +319,69 @@ PagedIterable List the two keys used to publish to a domain.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return shared access keys of the Domain.
+ * @return shared access keys of the Domain along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- DomainSharedAccessKeysInner listSharedAccessKeys(String resourceGroupName, String domainName);
+ Response List the two keys used to publish to a domain.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return shared access keys of the Domain along with {@link Response}.
+ * @return shared access keys of the Domain.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response Regenerate a shared access key for a domain.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
* @param regenerateKeyRequest Request body to regenerate key.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return shared access keys of the Domain.
+ * @return shared access keys of the Domain along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- DomainSharedAccessKeysInner regenerateKey(
- String resourceGroupName, String domainName, DomainRegenerateKeyRequest regenerateKeyRequest);
+ Response Regenerate a shared access key for a domain.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Name of the domain.
* @param regenerateKeyRequest Request body to regenerate key.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return shared access keys of the Domain along with {@link Response}.
+ * @return shared access keys of the Domain.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response Get all delivery attributes for an event subscription.
*
* @param scope The scope of the event subscription. The scope can be a subscription, or a resource group, or a top
* level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use
@@ -30,16 +32,42 @@ public interface EventSubscriptionsClient {
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
* for an EventGrid topic.
* @param eventSubscriptionName Name of the event subscription.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return properties of an event subscription.
+ * @return all delivery attributes for an event subscription along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- EventSubscriptionInner get(String scope, String eventSubscriptionName);
+ Response Get all delivery attributes for an event subscription.
+ *
+ * @param scope The scope of the event subscription. The scope can be a subscription, or a resource group, or a top
+ * level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use
+ * '/subscriptions/{subscriptionId}/' for a subscription,
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
+ * for a resource, and
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
+ * for an EventGrid topic.
+ * @param eventSubscriptionName Name of the event subscription.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return all delivery attributes for an event subscription.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DeliveryAttributeListResultInner getDeliveryAttributes(String scope, String eventSubscriptionName);
/**
- * Get properties of an event subscription.
+ * Get an event subscription.
+ *
+ * Get properties of an event subscription.
*
* @param scope The scope of the event subscription. The scope can be a subscription, or a resource group, or a top
* level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use
@@ -60,8 +88,32 @@ public interface EventSubscriptionsClient {
Response Get properties of an event subscription.
+ *
+ * @param scope The scope of the event subscription. The scope can be a subscription, or a resource group, or a top
+ * level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use
+ * '/subscriptions/{subscriptionId}/' for a subscription,
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
+ * for a resource, and
+ * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
+ * for an EventGrid topic.
+ * @param eventSubscriptionName Name of the event subscription.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return properties of an event subscription.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ EventSubscriptionInner get(String scope, String eventSubscriptionName);
+
+ /**
+ * Create or update an event subscription.
+ *
+ * Asynchronously creates a new event subscription or updates an existing event subscription based on the
+ * specified scope.
*
* @param scope The identifier of the resource to which the event subscription needs to be created or updated. The
* scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider
@@ -84,8 +136,10 @@ SyncPoller Asynchronously creates a new event subscription or updates an existing event subscription based on the
+ * specified scope.
*
* @param scope The identifier of the resource to which the event subscription needs to be created or updated. The
* scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider
@@ -109,8 +163,10 @@ SyncPoller Asynchronously creates a new event subscription or updates an existing event subscription based on the
+ * specified scope.
*
* @param scope The identifier of the resource to which the event subscription needs to be created or updated. The
* scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider
@@ -133,8 +189,10 @@ EventSubscriptionInner createOrUpdate(
String scope, String eventSubscriptionName, EventSubscriptionInner eventSubscriptionInfo);
/**
- * Asynchronously creates a new event subscription or updates an existing event subscription based on the specified
- * scope.
+ * Create or update an event subscription.
+ *
+ * Asynchronously creates a new event subscription or updates an existing event subscription based on the
+ * specified scope.
*
* @param scope The identifier of the resource to which the event subscription needs to be created or updated. The
* scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider
@@ -158,7 +216,9 @@ EventSubscriptionInner createOrUpdate(
String scope, String eventSubscriptionName, EventSubscriptionInner eventSubscriptionInfo, Context context);
/**
- * Delete an existing event subscription.
+ * Delete an event subscription.
+ *
+ * Delete an existing event subscription.
*
* @param scope The scope of the event subscription. The scope can be a subscription, or a resource group, or a top
* level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use
@@ -178,7 +238,9 @@ EventSubscriptionInner createOrUpdate(
SyncPoller Delete an existing event subscription.
*
* @param scope The scope of the event subscription. The scope can be a subscription, or a resource group, or a top
* level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use
@@ -199,7 +261,9 @@ EventSubscriptionInner createOrUpdate(
SyncPoller Delete an existing event subscription.
*
* @param scope The scope of the event subscription. The scope can be a subscription, or a resource group, or a top
* level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use
@@ -218,7 +282,9 @@ EventSubscriptionInner createOrUpdate(
void delete(String scope, String eventSubscriptionName);
/**
- * Delete an existing event subscription.
+ * Delete an event subscription.
+ *
+ * Delete an existing event subscription.
*
* @param scope The scope of the event subscription. The scope can be a subscription, or a resource group, or a top
* level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use
@@ -238,7 +304,9 @@ EventSubscriptionInner createOrUpdate(
void delete(String scope, String eventSubscriptionName, Context context);
/**
- * Asynchronously updates an existing event subscription.
+ * Update an event subscription.
+ *
+ * Asynchronously updates an existing event subscription.
*
* @param scope The scope of existing event subscription. The scope can be a subscription, or a resource group, or a
* top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use
@@ -262,7 +330,9 @@ SyncPoller Asynchronously updates an existing event subscription.
*
* @param scope The scope of existing event subscription. The scope can be a subscription, or a resource group, or a
* top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use
@@ -288,7 +358,9 @@ SyncPoller Asynchronously updates an existing event subscription.
*
* @param scope The scope of existing event subscription. The scope can be a subscription, or a resource group, or a
* top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use
@@ -312,7 +384,9 @@ EventSubscriptionInner update(
EventSubscriptionUpdateParameters eventSubscriptionUpdateParameters);
/**
- * Asynchronously updates an existing event subscription.
+ * Update an event subscription.
+ *
+ * Asynchronously updates an existing event subscription.
*
* @param scope The scope of existing event subscription. The scope can be a subscription, or a resource group, or a
* top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use
@@ -338,7 +412,9 @@ EventSubscriptionInner update(
Context context);
/**
- * Get the full endpoint URL for an event subscription.
+ * Get full URL of an event subscription.
+ *
+ * Get the full endpoint URL for an event subscription.
*
* @param scope The scope of the event subscription. The scope can be a subscription, or a resource group, or a top
* level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use
@@ -349,16 +425,20 @@ EventSubscriptionInner update(
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
* for an EventGrid topic.
* @param eventSubscriptionName Name of the event subscription.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the full endpoint URL for an event subscription.
+ * @return the full endpoint URL for an event subscription along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- EventSubscriptionFullUrlInner getFullUrl(String scope, String eventSubscriptionName);
+ Response Get the full endpoint URL for an event subscription.
*
* @param scope The scope of the event subscription. The scope can be a subscription, or a resource group, or a top
* level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use
@@ -369,18 +449,18 @@ EventSubscriptionInner update(
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
* for an EventGrid topic.
* @param eventSubscriptionName Name of the event subscription.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the full endpoint URL for an event subscription along with {@link Response}.
+ * @return the full endpoint URL for an event subscription.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response List all aggregated global event subscriptions under a specific Azure subscription.
*
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -390,7 +470,9 @@ Response List all aggregated global event subscriptions under a specific Azure subscription.
*
* @param filter The query used to filter the search results using OData syntax. Filtering is permitted on the
* 'name' property only and with limited number of OData operations. These operations are: the 'contains'
@@ -410,7 +492,9 @@ Response List all global event subscriptions under an Azure subscription for a topic type.
*
* @param topicTypeName Name of the topic type.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -422,7 +506,9 @@ Response List all global event subscriptions under an Azure subscription for a topic type.
*
* @param topicTypeName Name of the topic type.
* @param filter The query used to filter the search results using OData syntax. Filtering is permitted on the
@@ -444,7 +530,9 @@ PagedIterable List all global event subscriptions under a specific Azure subscription and resource group.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -456,7 +544,9 @@ PagedIterable