
com.azure.resourcemanager.eventgrid.models.DomainTopics Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-eventgrid Show documentation
Show all versions of azure-resourcemanager-eventgrid Show documentation
This package contains Microsoft Azure SDK for EventGrid Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Azure EventGrid Management Client. Package tag package-2021-10-preview.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.eventgrid.models;
import com.azure.core.http.rest.PagedIterable;
import com.azure.core.http.rest.Response;
import com.azure.core.util.Context;
/**
* Resource collection API of DomainTopics.
*/
public interface DomainTopics {
/**
* Get a domain topic.
*
* 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}.
*/
Response getWithResponse(String resourceGroupName, String domainName, String domainTopicName,
Context context);
/**
* Get a domain topic.
*
* 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.
* @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.
*/
DomainTopic get(String resourceGroupName, String domainName, String domainTopicName);
/**
* Create or update a domain topic.
*
* 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.
* @param domainTopicName Name of the domain topic.
* @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 domain Topic.
*/
DomainTopic createOrUpdate(String resourceGroupName, String domainName, String domainTopicName);
/**
* Create or update a domain topic.
*
* 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.
* @param domainTopicName Name of the domain 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 domain Topic.
*/
DomainTopic createOrUpdate(String resourceGroupName, String domainName, String domainTopicName, Context context);
/**
* 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.
* @param domainTopicName Name of the domain topic.
* @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.
*/
void delete(String resourceGroupName, String domainName, String domainTopicName);
/**
* 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.
* @param domainTopicName Name of the domain 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.
*/
void delete(String resourceGroupName, String domainName, String domainTopicName, Context context);
/**
* List domain topics.
*
* List all the topics in a domain.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Domain name.
* @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 result of the List Domain Topics operation as paginated response with {@link PagedIterable}.
*/
PagedIterable listByDomain(String resourceGroupName, String domainName);
/**
* List domain topics.
*
* List all the topics in a domain.
*
* @param resourceGroupName The name of the resource group within the user's subscription.
* @param domainName Domain name.
* @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 result of the List Domain Topics operation as paginated response with {@link PagedIterable}.
*/
PagedIterable listByDomain(String resourceGroupName, String domainName, String filter, Integer top,
Context context);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy