Skip to content

Commit 2d64ec7

Browse files
author
SDKAuto
committed
CodeGen from PR 32378 in Azure/azure-rest-api-specs
Merge 8000d5a8bf0250f5aae1da42ebc096e4b8b04241 into 351baceb2ef65b59bbc92913b1150d872c866a0b
1 parent dfafd57 commit 2d64ec7

File tree

589 files changed

+2424
-28339
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

589 files changed

+2424
-28339
lines changed

sdk/eventgrid/azure-resourcemanager-eventgrid/CHANGELOG.md

Lines changed: 865 additions & 4 deletions
Large diffs are not rendered by default.

sdk/eventgrid/azure-resourcemanager-eventgrid/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Azure Resource Manager EventGrid client library for Java.
44

5-
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).
5+
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).
66

77
## We'd love to hear your feedback
88

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

104-
104+
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-java%2Fsdk%2Feventgrid%2Fazure-resourcemanager-eventgrid%2FREADME.png)

sdk/eventgrid/azure-resourcemanager-eventgrid/SAMPLE.md

Lines changed: 285 additions & 790 deletions
Large diffs are not rendered by default.

sdk/eventgrid/azure-resourcemanager-eventgrid/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<packaging>jar</packaging>
1919

2020
<name>Microsoft Azure SDK for EventGrid Management</name>
21-
<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>
21+
<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>
2222
<url>https://github.com/Azure/azure-sdk-for-java</url>
2323

2424
<licenses>

sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/EventGridManager.java

Lines changed: 45 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,8 @@
3838
import com.azure.resourcemanager.eventgrid.implementation.NamespaceTopicEventSubscriptionsImpl;
3939
import com.azure.resourcemanager.eventgrid.implementation.NamespaceTopicsImpl;
4040
import com.azure.resourcemanager.eventgrid.implementation.NamespacesImpl;
41-
import com.azure.resourcemanager.eventgrid.implementation.NetworkSecurityPerimeterConfigurationsImpl;
4241
import com.azure.resourcemanager.eventgrid.implementation.OperationsImpl;
4342
import com.azure.resourcemanager.eventgrid.implementation.PartnerConfigurationsImpl;
44-
import com.azure.resourcemanager.eventgrid.implementation.PartnerDestinationsImpl;
4543
import com.azure.resourcemanager.eventgrid.implementation.PartnerNamespacesImpl;
4644
import com.azure.resourcemanager.eventgrid.implementation.PartnerRegistrationsImpl;
4745
import com.azure.resourcemanager.eventgrid.implementation.PartnerTopicEventSubscriptionsImpl;
@@ -69,10 +67,8 @@
6967
import com.azure.resourcemanager.eventgrid.models.NamespaceTopicEventSubscriptions;
7068
import com.azure.resourcemanager.eventgrid.models.NamespaceTopics;
7169
import com.azure.resourcemanager.eventgrid.models.Namespaces;
72-
import com.azure.resourcemanager.eventgrid.models.NetworkSecurityPerimeterConfigurations;
7370
import com.azure.resourcemanager.eventgrid.models.Operations;
7471
import com.azure.resourcemanager.eventgrid.models.PartnerConfigurations;
75-
import com.azure.resourcemanager.eventgrid.models.PartnerDestinations;
7672
import com.azure.resourcemanager.eventgrid.models.PartnerNamespaces;
7773
import com.azure.resourcemanager.eventgrid.models.PartnerRegistrations;
7874
import com.azure.resourcemanager.eventgrid.models.PartnerTopicEventSubscriptions;
@@ -111,17 +107,17 @@ public final class EventGridManager {
111107

112108
private DomainTopics domainTopics;
113109

114-
private DomainTopicEventSubscriptions domainTopicEventSubscriptions;
115-
116110
private TopicEventSubscriptions topicEventSubscriptions;
117111

118112
private DomainEventSubscriptions domainEventSubscriptions;
119113

114+
private NamespaceTopicEventSubscriptions namespaceTopicEventSubscriptions;
115+
120116
private EventSubscriptions eventSubscriptions;
121117

122-
private SystemTopicEventSubscriptions systemTopicEventSubscriptions;
118+
private DomainTopicEventSubscriptions domainTopicEventSubscriptions;
123119

124-
private NamespaceTopicEventSubscriptions namespaceTopicEventSubscriptions;
120+
private SystemTopicEventSubscriptions systemTopicEventSubscriptions;
125121

126122
private PartnerTopicEventSubscriptions partnerTopicEventSubscriptions;
127123

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

132128
private Operations operations;
133129

134-
private PartnerConfigurations partnerConfigurations;
130+
private Topics topics;
135131

136-
private PartnerDestinations partnerDestinations;
132+
private PartnerConfigurations partnerConfigurations;
137133

138134
private PartnerNamespaces partnerNamespaces;
139135

140136
private PartnerRegistrations partnerRegistrations;
141137

142138
private PartnerTopics partnerTopics;
143139

144-
private NetworkSecurityPerimeterConfigurations networkSecurityPerimeterConfigurations;
145-
146140
private PermissionBindings permissionBindings;
147141

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

152146
private SystemTopics systemTopics;
153147

154-
private Topics topics;
155-
156148
private ExtensionTopics extensionTopics;
157149

158150
private TopicSpaces topicSpaces;
@@ -325,7 +317,7 @@ public EventGridManager authenticate(TokenCredential credential, AzureProfile pr
325317
.append("-")
326318
.append("com.azure.resourcemanager.eventgrid")
327319
.append("/")
328-
.append("1.2.0-beta.7");
320+
.append("1.0.0-beta.1");
329321
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
330322
userAgentBuilder.append(" (")
331323
.append(Configuration.getGlobalConfiguration().get("java.version"))
@@ -443,19 +435,6 @@ public DomainTopics domainTopics() {
443435
return domainTopics;
444436
}
445437

446-
/**
447-
* Gets the resource collection API of DomainTopicEventSubscriptions.
448-
*
449-
* @return Resource collection API of DomainTopicEventSubscriptions.
450-
*/
451-
public DomainTopicEventSubscriptions domainTopicEventSubscriptions() {
452-
if (this.domainTopicEventSubscriptions == null) {
453-
this.domainTopicEventSubscriptions
454-
= new DomainTopicEventSubscriptionsImpl(clientObject.getDomainTopicEventSubscriptions(), this);
455-
}
456-
return domainTopicEventSubscriptions;
457-
}
458-
459438
/**
460439
* Gets the resource collection API of TopicEventSubscriptions. It manages EventSubscription.
461440
*
@@ -482,6 +461,19 @@ public DomainEventSubscriptions domainEventSubscriptions() {
482461
return domainEventSubscriptions;
483462
}
484463

464+
/**
465+
* Gets the resource collection API of NamespaceTopicEventSubscriptions. It manages Subscription.
466+
*
467+
* @return Resource collection API of NamespaceTopicEventSubscriptions.
468+
*/
469+
public NamespaceTopicEventSubscriptions namespaceTopicEventSubscriptions() {
470+
if (this.namespaceTopicEventSubscriptions == null) {
471+
this.namespaceTopicEventSubscriptions
472+
= new NamespaceTopicEventSubscriptionsImpl(clientObject.getNamespaceTopicEventSubscriptions(), this);
473+
}
474+
return namespaceTopicEventSubscriptions;
475+
}
476+
485477
/**
486478
* Gets the resource collection API of EventSubscriptions.
487479
*
@@ -494,6 +486,19 @@ public EventSubscriptions eventSubscriptions() {
494486
return eventSubscriptions;
495487
}
496488

489+
/**
490+
* Gets the resource collection API of DomainTopicEventSubscriptions.
491+
*
492+
* @return Resource collection API of DomainTopicEventSubscriptions.
493+
*/
494+
public DomainTopicEventSubscriptions domainTopicEventSubscriptions() {
495+
if (this.domainTopicEventSubscriptions == null) {
496+
this.domainTopicEventSubscriptions
497+
= new DomainTopicEventSubscriptionsImpl(clientObject.getDomainTopicEventSubscriptions(), this);
498+
}
499+
return domainTopicEventSubscriptions;
500+
}
501+
497502
/**
498503
* Gets the resource collection API of SystemTopicEventSubscriptions.
499504
*
@@ -507,19 +512,6 @@ public SystemTopicEventSubscriptions systemTopicEventSubscriptions() {
507512
return systemTopicEventSubscriptions;
508513
}
509514

510-
/**
511-
* Gets the resource collection API of NamespaceTopicEventSubscriptions. It manages Subscription.
512-
*
513-
* @return Resource collection API of NamespaceTopicEventSubscriptions.
514-
*/
515-
public NamespaceTopicEventSubscriptions namespaceTopicEventSubscriptions() {
516-
if (this.namespaceTopicEventSubscriptions == null) {
517-
this.namespaceTopicEventSubscriptions
518-
= new NamespaceTopicEventSubscriptionsImpl(clientObject.getNamespaceTopicEventSubscriptions(), this);
519-
}
520-
return namespaceTopicEventSubscriptions;
521-
}
522-
523515
/**
524516
* Gets the resource collection API of PartnerTopicEventSubscriptions.
525517
*
@@ -570,27 +562,27 @@ public Operations operations() {
570562
}
571563

572564
/**
573-
* Gets the resource collection API of PartnerConfigurations.
565+
* Gets the resource collection API of Topics. It manages Topic.
574566
*
575-
* @return Resource collection API of PartnerConfigurations.
567+
* @return Resource collection API of Topics.
576568
*/
577-
public PartnerConfigurations partnerConfigurations() {
578-
if (this.partnerConfigurations == null) {
579-
this.partnerConfigurations = new PartnerConfigurationsImpl(clientObject.getPartnerConfigurations(), this);
569+
public Topics topics() {
570+
if (this.topics == null) {
571+
this.topics = new TopicsImpl(clientObject.getTopics(), this);
580572
}
581-
return partnerConfigurations;
573+
return topics;
582574
}
583575

584576
/**
585-
* Gets the resource collection API of PartnerDestinations. It manages PartnerDestination.
577+
* Gets the resource collection API of PartnerConfigurations.
586578
*
587-
* @return Resource collection API of PartnerDestinations.
579+
* @return Resource collection API of PartnerConfigurations.
588580
*/
589-
public PartnerDestinations partnerDestinations() {
590-
if (this.partnerDestinations == null) {
591-
this.partnerDestinations = new PartnerDestinationsImpl(clientObject.getPartnerDestinations(), this);
581+
public PartnerConfigurations partnerConfigurations() {
582+
if (this.partnerConfigurations == null) {
583+
this.partnerConfigurations = new PartnerConfigurationsImpl(clientObject.getPartnerConfigurations(), this);
592584
}
593-
return partnerDestinations;
585+
return partnerConfigurations;
594586
}
595587

596588
/**
@@ -629,19 +621,6 @@ public PartnerTopics partnerTopics() {
629621
return partnerTopics;
630622
}
631623

632-
/**
633-
* Gets the resource collection API of NetworkSecurityPerimeterConfigurations.
634-
*
635-
* @return Resource collection API of NetworkSecurityPerimeterConfigurations.
636-
*/
637-
public NetworkSecurityPerimeterConfigurations networkSecurityPerimeterConfigurations() {
638-
if (this.networkSecurityPerimeterConfigurations == null) {
639-
this.networkSecurityPerimeterConfigurations = new NetworkSecurityPerimeterConfigurationsImpl(
640-
clientObject.getNetworkSecurityPerimeterConfigurations(), this);
641-
}
642-
return networkSecurityPerimeterConfigurations;
643-
}
644-
645624
/**
646625
* Gets the resource collection API of PermissionBindings. It manages PermissionBinding.
647626
*
@@ -691,18 +670,6 @@ public SystemTopics systemTopics() {
691670
return systemTopics;
692671
}
693672

694-
/**
695-
* Gets the resource collection API of Topics. It manages Topic.
696-
*
697-
* @return Resource collection API of Topics.
698-
*/
699-
public Topics topics() {
700-
if (this.topics == null) {
701-
this.topics = new TopicsImpl(clientObject.getTopics(), this);
702-
}
703-
return topics;
704-
}
705-
706673
/**
707674
* Gets the resource collection API of ExtensionTopics.
708675
*

sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/DomainTopicEventSubscriptionsClient.java

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -20,43 +20,6 @@
2020
* An instance of this class provides access to all the operations defined in DomainTopicEventSubscriptionsClient.
2121
*/
2222
public interface DomainTopicEventSubscriptionsClient {
23-
/**
24-
* Get delivery attributes for an event subscription for domain topic.
25-
*
26-
* Get all delivery attributes for an event subscription for domain topic.
27-
*
28-
* @param resourceGroupName The name of the resource group within the user's subscription.
29-
* @param domainName Name of the top level domain.
30-
* @param topicName Name of the domain topic.
31-
* @param eventSubscriptionName Name of the event subscription.
32-
* @param context The context to associate with this operation.
33-
* @throws IllegalArgumentException thrown if parameters fail the validation.
34-
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
35-
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
36-
* @return all delivery attributes for an event subscription for domain topic along with {@link Response}.
37-
*/
38-
@ServiceMethod(returns = ReturnType.SINGLE)
39-
Response<DeliveryAttributeListResultInner> getDeliveryAttributesWithResponse(String resourceGroupName,
40-
String domainName, String topicName, String eventSubscriptionName, Context context);
41-
42-
/**
43-
* Get delivery attributes for an event subscription for domain topic.
44-
*
45-
* Get all delivery attributes for an event subscription for domain topic.
46-
*
47-
* @param resourceGroupName The name of the resource group within the user's subscription.
48-
* @param domainName Name of the top level domain.
49-
* @param topicName Name of the domain topic.
50-
* @param eventSubscriptionName Name of the event subscription.
51-
* @throws IllegalArgumentException thrown if parameters fail the validation.
52-
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
53-
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
54-
* @return all delivery attributes for an event subscription for domain topic.
55-
*/
56-
@ServiceMethod(returns = ReturnType.SINGLE)
57-
DeliveryAttributeListResultInner getDeliveryAttributes(String resourceGroupName, String domainName,
58-
String topicName, String eventSubscriptionName);
59-
6023
/**
6124
* Get a nested event subscription for domain topic.
6225
*
@@ -407,4 +370,41 @@ EventSubscriptionFullUrlInner getFullUrl(String resourceGroupName, String domain
407370
@ServiceMethod(returns = ReturnType.COLLECTION)
408371
PagedIterable<EventSubscriptionInner> list(String resourceGroupName, String domainName, String topicName,
409372
String filter, Integer top, Context context);
373+
374+
/**
375+
* Get delivery attributes for an event subscription for domain topic.
376+
*
377+
* Get all delivery attributes for an event subscription for domain topic.
378+
*
379+
* @param resourceGroupName The name of the resource group within the user's subscription.
380+
* @param domainName Name of the top level domain.
381+
* @param topicName Name of the domain topic.
382+
* @param eventSubscriptionName Name of the event subscription.
383+
* @param context The context to associate with this operation.
384+
* @throws IllegalArgumentException thrown if parameters fail the validation.
385+
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
386+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
387+
* @return all delivery attributes for an event subscription for domain topic along with {@link Response}.
388+
*/
389+
@ServiceMethod(returns = ReturnType.SINGLE)
390+
Response<DeliveryAttributeListResultInner> getDeliveryAttributesWithResponse(String resourceGroupName,
391+
String domainName, String topicName, String eventSubscriptionName, Context context);
392+
393+
/**
394+
* Get delivery attributes for an event subscription for domain topic.
395+
*
396+
* Get all delivery attributes for an event subscription for domain topic.
397+
*
398+
* @param resourceGroupName The name of the resource group within the user's subscription.
399+
* @param domainName Name of the top level domain.
400+
* @param topicName Name of the domain topic.
401+
* @param eventSubscriptionName Name of the event subscription.
402+
* @throws IllegalArgumentException thrown if parameters fail the validation.
403+
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
404+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
405+
* @return all delivery attributes for an event subscription for domain topic.
406+
*/
407+
@ServiceMethod(returns = ReturnType.SINGLE)
408+
DeliveryAttributeListResultInner getDeliveryAttributes(String resourceGroupName, String domainName,
409+
String topicName, String eventSubscriptionName);
410410
}

0 commit comments

Comments
 (0)