Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
869 changes: 865 additions & 4 deletions sdk/eventgrid/azure-resourcemanager-eventgrid/CHANGELOG.md

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions sdk/eventgrid/azure-resourcemanager-eventgrid/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Azure Resource Manager EventGrid client library for Java.

This package contains Microsoft Azure SDK for EventGrid Management SDK. Azure EventGrid Management Client. Package tag package-2024-06-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
This package contains Microsoft Azure SDK for EventGrid Management SDK. Azure EventGrid Management Client. Package tag package-2025-02. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

## We'd love to hear your feedback

Expand Down Expand Up @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-eventgrid</artifactId>
<version>1.2.0-beta.7</version>
<version>1.2.0-beta.8</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down Expand Up @@ -101,4 +101,4 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
[coc]: https://opensource.microsoft.com/codeofconduct/
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/


![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-java%2Fsdk%2Feventgrid%2Fazure-resourcemanager-eventgrid%2FREADME.png)
1,075 changes: 285 additions & 790 deletions sdk/eventgrid/azure-resourcemanager-eventgrid/SAMPLE.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion sdk/eventgrid/azure-resourcemanager-eventgrid/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<packaging>jar</packaging>

<name>Microsoft Azure SDK for EventGrid Management</name>
<description>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-2024-06-preview.</description>
<description>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-2025-02.</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<licenses>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,8 @@
import com.azure.resourcemanager.eventgrid.implementation.NamespaceTopicEventSubscriptionsImpl;
import com.azure.resourcemanager.eventgrid.implementation.NamespaceTopicsImpl;
import com.azure.resourcemanager.eventgrid.implementation.NamespacesImpl;
import com.azure.resourcemanager.eventgrid.implementation.NetworkSecurityPerimeterConfigurationsImpl;
import com.azure.resourcemanager.eventgrid.implementation.OperationsImpl;
import com.azure.resourcemanager.eventgrid.implementation.PartnerConfigurationsImpl;
import com.azure.resourcemanager.eventgrid.implementation.PartnerDestinationsImpl;
import com.azure.resourcemanager.eventgrid.implementation.PartnerNamespacesImpl;
import com.azure.resourcemanager.eventgrid.implementation.PartnerRegistrationsImpl;
import com.azure.resourcemanager.eventgrid.implementation.PartnerTopicEventSubscriptionsImpl;
Expand Down Expand Up @@ -69,10 +67,8 @@
import com.azure.resourcemanager.eventgrid.models.NamespaceTopicEventSubscriptions;
import com.azure.resourcemanager.eventgrid.models.NamespaceTopics;
import com.azure.resourcemanager.eventgrid.models.Namespaces;
import com.azure.resourcemanager.eventgrid.models.NetworkSecurityPerimeterConfigurations;
import com.azure.resourcemanager.eventgrid.models.Operations;
import com.azure.resourcemanager.eventgrid.models.PartnerConfigurations;
import com.azure.resourcemanager.eventgrid.models.PartnerDestinations;
import com.azure.resourcemanager.eventgrid.models.PartnerNamespaces;
import com.azure.resourcemanager.eventgrid.models.PartnerRegistrations;
import com.azure.resourcemanager.eventgrid.models.PartnerTopicEventSubscriptions;
Expand Down Expand Up @@ -111,17 +107,17 @@ public final class EventGridManager {

private DomainTopics domainTopics;

private DomainTopicEventSubscriptions domainTopicEventSubscriptions;

private TopicEventSubscriptions topicEventSubscriptions;

private DomainEventSubscriptions domainEventSubscriptions;

private NamespaceTopicEventSubscriptions namespaceTopicEventSubscriptions;

private EventSubscriptions eventSubscriptions;

private SystemTopicEventSubscriptions systemTopicEventSubscriptions;
private DomainTopicEventSubscriptions domainTopicEventSubscriptions;

private NamespaceTopicEventSubscriptions namespaceTopicEventSubscriptions;
private SystemTopicEventSubscriptions systemTopicEventSubscriptions;

private PartnerTopicEventSubscriptions partnerTopicEventSubscriptions;

Expand All @@ -131,18 +127,16 @@ public final class EventGridManager {

private Operations operations;

private PartnerConfigurations partnerConfigurations;
private Topics topics;

private PartnerDestinations partnerDestinations;
private PartnerConfigurations partnerConfigurations;

private PartnerNamespaces partnerNamespaces;

private PartnerRegistrations partnerRegistrations;

private PartnerTopics partnerTopics;

private NetworkSecurityPerimeterConfigurations networkSecurityPerimeterConfigurations;

private PermissionBindings permissionBindings;

private PrivateEndpointConnections privateEndpointConnections;
Expand All @@ -151,8 +145,6 @@ public final class EventGridManager {

private SystemTopics systemTopics;

private Topics topics;

private ExtensionTopics extensionTopics;

private TopicSpaces topicSpaces;
Expand Down Expand Up @@ -325,7 +317,7 @@ public EventGridManager authenticate(TokenCredential credential, AzureProfile pr
.append("-")
.append("com.azure.resourcemanager.eventgrid")
.append("/")
.append("1.2.0-beta.7");
.append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder.append(" (")
.append(Configuration.getGlobalConfiguration().get("java.version"))
Expand Down Expand Up @@ -443,19 +435,6 @@ public DomainTopics domainTopics() {
return domainTopics;
}

/**
* Gets the resource collection API of DomainTopicEventSubscriptions.
*
* @return Resource collection API of DomainTopicEventSubscriptions.
*/
public DomainTopicEventSubscriptions domainTopicEventSubscriptions() {
if (this.domainTopicEventSubscriptions == null) {
this.domainTopicEventSubscriptions
= new DomainTopicEventSubscriptionsImpl(clientObject.getDomainTopicEventSubscriptions(), this);
}
return domainTopicEventSubscriptions;
}

/**
* Gets the resource collection API of TopicEventSubscriptions. It manages EventSubscription.
*
Expand All @@ -482,6 +461,19 @@ public DomainEventSubscriptions domainEventSubscriptions() {
return domainEventSubscriptions;
}

/**
* Gets the resource collection API of NamespaceTopicEventSubscriptions. It manages Subscription.
*
* @return Resource collection API of NamespaceTopicEventSubscriptions.
*/
public NamespaceTopicEventSubscriptions namespaceTopicEventSubscriptions() {
if (this.namespaceTopicEventSubscriptions == null) {
this.namespaceTopicEventSubscriptions
= new NamespaceTopicEventSubscriptionsImpl(clientObject.getNamespaceTopicEventSubscriptions(), this);
}
return namespaceTopicEventSubscriptions;
}

/**
* Gets the resource collection API of EventSubscriptions.
*
Expand All @@ -494,6 +486,19 @@ public EventSubscriptions eventSubscriptions() {
return eventSubscriptions;
}

/**
* Gets the resource collection API of DomainTopicEventSubscriptions.
*
* @return Resource collection API of DomainTopicEventSubscriptions.
*/
public DomainTopicEventSubscriptions domainTopicEventSubscriptions() {
if (this.domainTopicEventSubscriptions == null) {
this.domainTopicEventSubscriptions
= new DomainTopicEventSubscriptionsImpl(clientObject.getDomainTopicEventSubscriptions(), this);
}
return domainTopicEventSubscriptions;
}

/**
* Gets the resource collection API of SystemTopicEventSubscriptions.
*
Expand All @@ -507,19 +512,6 @@ public SystemTopicEventSubscriptions systemTopicEventSubscriptions() {
return systemTopicEventSubscriptions;
}

/**
* Gets the resource collection API of NamespaceTopicEventSubscriptions. It manages Subscription.
*
* @return Resource collection API of NamespaceTopicEventSubscriptions.
*/
public NamespaceTopicEventSubscriptions namespaceTopicEventSubscriptions() {
if (this.namespaceTopicEventSubscriptions == null) {
this.namespaceTopicEventSubscriptions
= new NamespaceTopicEventSubscriptionsImpl(clientObject.getNamespaceTopicEventSubscriptions(), this);
}
return namespaceTopicEventSubscriptions;
}

/**
* Gets the resource collection API of PartnerTopicEventSubscriptions.
*
Expand Down Expand Up @@ -570,27 +562,27 @@ public Operations operations() {
}

/**
* Gets the resource collection API of PartnerConfigurations.
* Gets the resource collection API of Topics. It manages Topic.
*
* @return Resource collection API of PartnerConfigurations.
* @return Resource collection API of Topics.
*/
public PartnerConfigurations partnerConfigurations() {
if (this.partnerConfigurations == null) {
this.partnerConfigurations = new PartnerConfigurationsImpl(clientObject.getPartnerConfigurations(), this);
public Topics topics() {
if (this.topics == null) {
this.topics = new TopicsImpl(clientObject.getTopics(), this);
}
return partnerConfigurations;
return topics;
}

/**
* Gets the resource collection API of PartnerDestinations. It manages PartnerDestination.
* Gets the resource collection API of PartnerConfigurations.
*
* @return Resource collection API of PartnerDestinations.
* @return Resource collection API of PartnerConfigurations.
*/
public PartnerDestinations partnerDestinations() {
if (this.partnerDestinations == null) {
this.partnerDestinations = new PartnerDestinationsImpl(clientObject.getPartnerDestinations(), this);
public PartnerConfigurations partnerConfigurations() {
if (this.partnerConfigurations == null) {
this.partnerConfigurations = new PartnerConfigurationsImpl(clientObject.getPartnerConfigurations(), this);
}
return partnerDestinations;
return partnerConfigurations;
}

/**
Expand Down Expand Up @@ -629,19 +621,6 @@ public PartnerTopics partnerTopics() {
return partnerTopics;
}

/**
* Gets the resource collection API of NetworkSecurityPerimeterConfigurations.
*
* @return Resource collection API of NetworkSecurityPerimeterConfigurations.
*/
public NetworkSecurityPerimeterConfigurations networkSecurityPerimeterConfigurations() {
if (this.networkSecurityPerimeterConfigurations == null) {
this.networkSecurityPerimeterConfigurations = new NetworkSecurityPerimeterConfigurationsImpl(
clientObject.getNetworkSecurityPerimeterConfigurations(), this);
}
return networkSecurityPerimeterConfigurations;
}

/**
* Gets the resource collection API of PermissionBindings. It manages PermissionBinding.
*
Expand Down Expand Up @@ -691,18 +670,6 @@ public SystemTopics systemTopics() {
return systemTopics;
}

/**
* Gets the resource collection API of Topics. It manages Topic.
*
* @return Resource collection API of Topics.
*/
public Topics topics() {
if (this.topics == null) {
this.topics = new TopicsImpl(clientObject.getTopics(), this);
}
return topics;
}

/**
* Gets the resource collection API of ExtensionTopics.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,43 +20,6 @@
* An instance of this class provides access to all the operations defined in DomainTopicEventSubscriptionsClient.
*/
public interface DomainTopicEventSubscriptionsClient {
/**
* 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 all delivery attributes for an event subscription for domain topic along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<DeliveryAttributeListResultInner> getDeliveryAttributesWithResponse(String resourceGroupName,
String domainName, String topicName, String eventSubscriptionName, Context context);

/**
* 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.
* @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 a nested event subscription for domain topic.
*
Expand Down Expand Up @@ -407,4 +370,41 @@ EventSubscriptionFullUrlInner getFullUrl(String resourceGroupName, String domain
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<EventSubscriptionInner> list(String resourceGroupName, String domainName, String topicName,
String filter, Integer top, Context context);

/**
* 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 all delivery attributes for an event subscription for domain topic along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<DeliveryAttributeListResultInner> getDeliveryAttributesWithResponse(String resourceGroupName,
String domainName, String topicName, String eventSubscriptionName, Context context);

/**
* 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.
* @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);
}
Loading