diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/CHANGELOG.md b/sdk/eventgrid/azure-resourcemanager-eventgrid/CHANGELOG.md
index 82144eed72212..6886fe40a9ee5 100644
--- a/sdk/eventgrid/azure-resourcemanager-eventgrid/CHANGELOG.md
+++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/CHANGELOG.md
@@ -1,14 +1,793 @@
# Release History
-## 1.3.0-beta.2 (Unreleased)
+## 1.3.0-beta.2 (2026-10-09)
-### Features Added
+- Azure Resource Manager EventGrid client library for Java. This package contains Microsoft Azure SDK for EventGrid Management SDK. Azure EventGrid Management Client. Package api-version 2026-06-15-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
### Breaking Changes
-### Bugs Fixed
+#### `models.EventSubscriptionsListResult` was removed
+
+#### `models.PrivateEndpointConnectionListResult` was removed
+
+#### `models.SubscriptionsListResult` was removed
+
+#### `models.NamespaceTopicsListResult` was removed
+
+#### `models.OperationsListResult` was removed
+
+#### `models.DomainsListResult` was removed
+
+#### `models.TopicSpacesListResult` was removed
+
+#### `models.TopicsListResult` was removed
+
+#### `models.DomainTopicsListResult` was removed
+
+#### `models.ChannelsListResult` was removed
+
+#### `models.CaCertificatesListResult` was removed
+
+#### `models.VerifiedPartnersListResult` was removed
+
+#### `models.NetworkSecurityPerimeterConfigurationList` was removed
+
+#### `models.EventTypesListResult` was removed
+
+#### `models.NamespacesListResult` was removed
+
+#### `models.PartnerConfigurationsListResult` was removed
+
+#### `models.PrivateLinkResourcesListResult` was removed
+
+#### `models.PermissionBindingsListResult` was removed
+
+#### `models.ClientsListResult` was removed
+
+#### `models.PartnerNamespacesListResult` was removed
+
+#### `models.ClientGroupsListResult` was removed
+
+#### `models.PartnerRegistrationsListResult` was removed
+
+#### `models.SystemTopicsListResult` was removed
+
+#### `models.TopicTypesListResult` was removed
+
+#### `models.PartnerTopicsListResult` was removed
+
+#### `models.PartnerDestinationsListResult` was removed
+
+#### `models.PartnerDestinationInfo` was modified
+
+* `validate()` was removed
+
+#### `models.PartnerUpdateDestinationInfo` was modified
+
+* `validate()` was removed
+
+#### `models.PrivateEndpoint` was modified
+
+* `validate()` was removed
+
+#### `models.StringNotBeginsWithAdvancedFilter` was modified
+
+* `validate()` was removed
+
+#### `models.ConnectionState` was modified
+
+* `validate()` was removed
+
+#### `models.StringEndsWithFilter` was modified
+
+* `validate()` was removed
+
+#### `models.InlineEventProperties` was modified
+
+* `validate()` was removed
+
+#### `models.WebhookEventSubscriptionDestination` was modified
+
+* `validate()` was removed
+
+#### `models.StringEndsWithAdvancedFilter` was modified
+
+* `validate()` was removed
+
+#### `models.NumberInRangeAdvancedFilter` was modified
+
+* `validate()` was removed
+
+#### `models.IsNotNullAdvancedFilter` was modified
+
+* `validate()` was removed
+
+#### `models.BoolEqualsFilter` was modified
+
+* `validate()` was removed
+
+#### `models.UpdateTopicSpacesConfigurationInfo` was modified
+
+* `validate()` was removed
+
+#### `models.DeliveryConfiguration` was modified
+
+* `validate()` was removed
+
+#### `models.PartnerConfigurationUpdateParameters` was modified
+
+* `validate()` was removed
+
+#### `models.UpdateTopicsConfigurationInfo` was modified
+
+* `validate()` was removed
+
+#### `models.StringNotEndsWithFilter` was modified
+
+* `validate()` was removed
+
+#### `models.ServiceBusQueueEventSubscriptionDestination` was modified
+
+* `validate()` was removed
+
+#### `models.UserIdentityProperties` was modified
+
+* `validate()` was removed
+
+#### `models.TopicUpdateParameters` was modified
+
+* `validate()` was removed
+
+#### `models.IsNullOrUndefinedAdvancedFilter` was modified
+
+* `validate()` was removed
+
+#### `models.NumberLessThanFilter` was modified
+
+* `validate()` was removed
+
+#### `models.StringNotBeginsWithFilter` was modified
+
+* `validate()` was removed
+
+#### `models.PartnerDestination$Definition` was modified
+
+* `withPartnerRegistrationImmutableId(java.util.UUID)` was removed
+
+#### `models.PartnerTopic$Definition` was modified
+
+* `withPartnerRegistrationImmutableId(java.util.UUID)` was removed
+
+#### `models.StringContainsFilter` was modified
+
+* `validate()` was removed
+
+#### `models.Filter` was modified
+
+* `validate()` was removed
+
+#### `models.ResourceSku` was modified
+
+* `validate()` was removed
+
+#### `models.StringNotInFilter` was modified
+
+* `validate()` was removed
+
+#### `models.PartnerClientAuthentication` was modified
+
+* `validate()` was removed
+
+#### `models.ClientCertificateAuthentication` was modified
+
+* `validate()` was removed
+
+#### `models.RoutingEnrichments` was modified
+
+* `validate()` was removed
+
+#### `models.WebhookAuthenticationSettings` was modified
+
+* `validate()` was removed
+
+#### `models.NumberNotInFilter` was modified
+
+* `validate()` was removed
+
+#### `models.StringBeginsWithAdvancedFilter` was modified
+
+* `validate()` was removed
+
+#### `models.TopicsConfiguration` was modified
+
+* `validate()` was removed
+
+#### `models.DeliveryAttributeMapping` was modified
+
+* `validate()` was removed
+
+#### `models.DomainUpdateParameters` was modified
+
+* `validate()` was removed
+
+#### `models.PartnerRegistration$Definition` was modified
+
+* `withPartnerRegistrationImmutableId(java.util.UUID)` was removed
+
+#### `models.StringNotEndsWithAdvancedFilter` was modified
+
+* `validate()` was removed
+
+#### `models.NumberGreaterThanAdvancedFilter` was modified
+
+* `validate()` was removed
+
+#### `models.StringBeginsWithFilter` was modified
+
+* `validate()` was removed
+
+#### `models.NetworkSecurityPerimeterConfigurationIssues` was modified
+
+* `NetworkSecurityPerimeterConfigurationIssues()` was changed to private access
+* `withSuggestedResourceIds(java.util.List)` was removed
+* `validate()` was removed
+* `withName(java.lang.String)` was removed
+* `withDescription(java.lang.String)` was removed
+* `withIssueType(models.NetworkSecurityPerimeterConfigurationIssueType)` was removed
+* `withSuggestedAccessRules(java.util.List)` was removed
+* `withSeverity(models.NetworkSecurityPerimeterConfigurationIssueSeverity)` was removed
+
+#### `models.BoolEqualsAdvancedFilter` was modified
+
+* `validate()` was removed
+
+#### `models.StringNotInAdvancedFilter` was modified
+
+* `validate()` was removed
+
+#### `models.NumberLessThanAdvancedFilter` was modified
+
+* `validate()` was removed
+
+#### `models.StringInFilter` was modified
+
+* `validate()` was removed
+
+#### `models.TopicSpacesConfiguration` was modified
+
+* `validate()` was removed
+
+#### `models.StaticDeliveryAttributeMapping` was modified
+
+* `validate()` was removed
+
+#### `models.EventSubscriptionDestination` was modified
+
+* `validate()` was removed
+
+#### `models.DeliveryWithResourceIdentity` was modified
+
+* `validate()` was removed
+
+#### `models.NamespaceSku` was modified
+
+* `validate()` was removed
+
+#### `models.PartnerDestination` was modified
+
+* `java.util.UUID partnerRegistrationImmutableId()` -> `java.lang.String partnerRegistrationImmutableId()`
+
+#### `models.AzureFunctionEventSubscriptionDestination` was modified
+
+* `validate()` was removed
+
+#### `models.DeadLetterDestination` was modified
+
+* `validate()` was removed
+
+#### `models.DynamicDeliveryAttributeMapping` was modified
+
+* `validate()` was removed
+
+#### `models.NumberInFilter` was modified
+
+* `validate()` was removed
+
+#### `models.PartnerRegistration` was modified
+
+* `java.util.UUID partnerRegistrationImmutableId()` -> `java.lang.String partnerRegistrationImmutableId()`
+
+#### `models.StorageBlobDeadLetterDestination` was modified
+
+* `validate()` was removed
+
+#### `models.EncodedIssuerCertificateInfo` was modified
+
+* `validate()` was removed
+
+#### `models.JsonField` was modified
+
+* `validate()` was removed
+
+#### `models.CustomJwtAuthenticationSettings` was modified
+
+* `validate()` was removed
+
+#### `models.NetworkSecurityPerimeterConfigurationProfile` was modified
+
+* `NetworkSecurityPerimeterConfigurationProfile()` was changed to private access
+* `withAccessRulesVersion(java.lang.String)` was removed
+* `withDiagnosticSettingsVersion(java.lang.String)` was removed
+* `validate()` was removed
+* `withEnabledLogCategories(java.util.List)` was removed
+* `withAccessRules(java.util.List)` was removed
+* `withName(java.lang.String)` was removed
+
+#### `models.NumberLessThanOrEqualsFilter` was modified
+
+* `validate()` was removed
+
+#### `models.PartnerTopicInfo` was modified
+
+* `validate()` was removed
+
+#### `models.StaticStringRoutingEnrichment` was modified
+
+* `validate()` was removed
+
+#### `models.ResourceMoveChangeHistory` was modified
+
+* `validate()` was removed
+
+#### `models.CustomDomainConfiguration` was modified
+
+* `validate()` was removed
+
+#### `models.StringNotContainsFilter` was modified
+
+* `validate()` was removed
+
+#### `models.PartnerTopic` was modified
+
+* `java.util.UUID partnerRegistrationImmutableId()` -> `java.lang.String partnerRegistrationImmutableId()`
+
+#### `models.WebhookPartnerDestinationInfo` was modified
+
+* `validate()` was removed
+
+#### `models.PartnerNamespaceRegenerateKeyRequest` was modified
+
+* `validate()` was removed
+
+#### `models.PartnerAuthorization` was modified
+
+* `validate()` was removed
+
+#### `models.NumberGreaterThanOrEqualsFilter` was modified
+
+* `validate()` was removed
+
+#### `models.RetryPolicy` was modified
+
+* `validate()` was removed
+
+#### `models.JsonInputSchemaMapping` was modified
+
+* `validate()` was removed
+
+#### `models.DynamicRoutingEnrichment` was modified
+
+* `validate()` was removed
+
+#### `models.EventSubscriptionIdentity` was modified
-### Other Changes
+* `validate()` was removed
+
+#### `models.CustomJwtAuthenticationManagedIdentity` was modified
+
+* `validate()` was removed
+
+#### `models.EventSubscriptionFilter` was modified
+
+* `validate()` was removed
+
+#### `models.PartnerUpdateTopicInfo` was modified
+
+* `validate()` was removed
+
+#### `models.InboundIpRule` was modified
+
+* `validate()` was removed
+
+#### `models.PartnerEventSubscriptionDestination` was modified
+
+* `validate()` was removed
+
+#### `models.DeadLetterWithResourceIdentity` was modified
+
+* `validate()` was removed
+
+#### `models.StorageQueueEventSubscriptionDestination` was modified
+
+* `validate()` was removed
+
+#### `models.IsNotNullFilter` was modified
+
+* `validate()` was removed
+
+#### `models.OperationInfo` was modified
+
+* `OperationInfo()` was changed to private access
+* `withProvider(java.lang.String)` was removed
+* `withResource(java.lang.String)` was removed
+* `withDescription(java.lang.String)` was removed
+* `withOperation(java.lang.String)` was removed
+* `validate()` was removed
+
+#### `models.StringInAdvancedFilter` was modified
+
+* `validate()` was removed
+
+#### `models.ClientAuthenticationSettings` was modified
+
+* `validate()` was removed
+
+#### `models.QueueInfo` was modified
+
+* `validate()` was removed
+
+#### `models.PartnerTopicUpdateParameters` was modified
+
+* `validate()` was removed
+
+#### `models.PushInfo` was modified
+
+* `validate()` was removed
+
+#### `models.PartnerDetails` was modified
+
+* `PartnerDetails()` was changed to private access
+* `withSetupUri(java.lang.String)` was removed
+* `validate()` was removed
+* `withDescription(java.lang.String)` was removed
+* `withLongDescription(java.lang.String)` was removed
+
+#### `models.ResourceAssociation` was modified
+
+* `ResourceAssociation()` was changed to private access
+* `withName(java.lang.String)` was removed
+* `withAccessMode(models.NetworkSecurityPerimeterAssociationAccessMode)` was removed
+* `validate()` was removed
+
+#### `models.PartnerDestinationUpdateParameters` was modified
+
+* `validate()` was removed
+
+#### `models.StringContainsAdvancedFilter` was modified
+
+* `validate()` was removed
+
+#### `models.FiltersConfiguration` was modified
+
+* `validate()` was removed
+
+#### `models.DomainRegenerateKeyRequest` was modified
+
+* `validate()` was removed
+
+#### `models.NumberNotInRangeAdvancedFilter` was modified
+
+* `validate()` was removed
+
+#### `models.NamespaceUpdateParameters` was modified
+
+* `validate()` was removed
+
+#### `models.NumberGreaterThanFilter` was modified
+
+* `validate()` was removed
+
+#### `models.TopicTypeAdditionalEnforcedPermission` was modified
+
+* `TopicTypeAdditionalEnforcedPermission()` was changed to private access
+* `validate()` was removed
+* `withIsDataAction(java.lang.Boolean)` was removed
+* `withPermissionName(java.lang.String)` was removed
+
+#### `models.IdentityInfo` was modified
+
+* `validate()` was removed
+
+#### `models.NumberNotInAdvancedFilter` was modified
+
+* `validate()` was removed
+
+#### `models.MonitorAlertEventSubscriptionDestination` was modified
+
+* `validate()` was removed
+
+#### `models.EventTypeInfo` was modified
+
+* `validate()` was removed
+
+#### `models.ServiceBusTopicEventSubscriptionDestination` was modified
+
+* `validate()` was removed
+
+#### `models.WebhookUpdatePartnerDestinationInfo` was modified
+
+* `validate()` was removed
+
+#### `models.CustomWebhookAuthenticationManagedIdentity` was modified
+
+* `validate()` was removed
+
+#### `models.RoutingIdentityInfo` was modified
+
+* `validate()` was removed
+
+#### `models.SystemTopicUpdateParameters` was modified
+
+* `validate()` was removed
+
+#### `models.NamespaceTopicEventSubscriptionDestination` was modified
+
+* `validate()` was removed
+
+#### `models.PartnerNamespaceUpdateParameters` was modified
+
+* `validate()` was removed
+
+#### `models.AdvancedFilter` was modified
+
+* `validate()` was removed
+
+#### `models.FederatedIdentityCredentialInfo` was modified
+
+* `java.util.UUID federatedClientId()` -> `java.lang.String federatedClientId()`
+* `validate()` was removed
+* `withFederatedClientId(java.util.UUID)` was removed
+
+#### `models.NetworkSecurityPerimeterSubscription` was modified
+
+* `NetworkSecurityPerimeterSubscription()` was changed to private access
+* `withId(java.lang.String)` was removed
+* `validate()` was removed
+
+#### `models.SubscriptionUpdateParameters` was modified
+
+* `validate()` was removed
+
+#### `models.NetworkSecurityPerimeterProfileAccessRule` was modified
+
+* `NetworkSecurityPerimeterProfileAccessRule()` was changed to private access
+* `withName(java.lang.String)` was removed
+* `withSubscriptions(java.util.List)` was removed
+* `withType(java.lang.String)` was removed
+* `withEmailAddresses(java.util.List)` was removed
+* `validate()` was removed
+* `withAddressPrefixes(java.util.List)` was removed
+* `withNetworkSecurityPerimeters(java.util.List)` was removed
+* `withPhoneNumbers(java.util.List)` was removed
+* `withDirection(models.NetworkSecurityPerimeterProfileAccessRuleDirection)` was removed
+* `withFullyQualifiedArmId(java.lang.String)` was removed
+* `withFullyQualifiedDomainNames(java.util.List)` was removed
+
+#### `models.NamespaceTopicUpdateParameters` was modified
+
+* `validate()` was removed
+
+#### `models.TopicRegenerateKeyRequest` was modified
+
+* `validate()` was removed
+
+#### `models.PartnerRegistrationUpdateParameters` was modified
+
+* `validate()` was removed
+
+#### `models.CustomDomainIdentity` was modified
+
+* `validate()` was removed
+
+#### `models.NetworkSecurityPerimeterInfo` was modified
+
+* `NetworkSecurityPerimeterInfo()` was changed to private access
+* `withId(java.lang.String)` was removed
+* `withLocation(java.lang.String)` was removed
+* `validate()` was removed
+* `withPerimeterGuid(java.lang.String)` was removed
+
+#### `models.StaticRoutingEnrichment` was modified
+
+* `validate()` was removed
+
+#### `models.AzureADPartnerClientAuthentication` was modified
+
+* `validate()` was removed
+
+#### `models.NumberGreaterThanOrEqualsAdvancedFilter` was modified
+
+* `validate()` was removed
+
+#### `models.HybridConnectionEventSubscriptionDestination` was modified
+
+* `validate()` was removed
+
+#### `models.NumberInRangeFilter` was modified
+
+* `validate()` was removed
+
+#### `models.IsNullOrUndefinedFilter` was modified
+
+* `validate()` was removed
+
+#### `models.InputSchemaMapping` was modified
+
+* `validate()` was removed
+
+#### `models.ChannelUpdateParameters` was modified
+
+* `validate()` was removed
+
+#### `models.StringNotContainsAdvancedFilter` was modified
+
+* `validate()` was removed
+
+#### `models.EventHubEventSubscriptionDestination` was modified
+
+* `validate()` was removed
+
+#### `models.IssuerCertificateInfo` was modified
+
+* `validate()` was removed
+
+#### `models.NamespaceRegenerateKeyRequest` was modified
+
+* `validate()` was removed
+
+#### `models.NumberLessThanOrEqualsAdvancedFilter` was modified
+
+* `validate()` was removed
+
+#### `models.NumberNotInRangeFilter` was modified
+
+* `validate()` was removed
+
+#### `models.ExtendedLocation` was modified
+
+* `validate()` was removed
+
+#### `models.JsonFieldWithDefault` was modified
+
+* `validate()` was removed
+
+#### `models.VerifiedPartner` was modified
+
+* `java.util.UUID partnerRegistrationImmutableId()` -> `java.lang.String partnerRegistrationImmutableId()`
+
+#### `models.Partner` was modified
+
+* `java.util.UUID partnerRegistrationImmutableId()` -> `java.lang.String partnerRegistrationImmutableId()`
+* `validate()` was removed
+* `withPartnerRegistrationImmutableId(java.util.UUID)` was removed
+
+#### `models.NumberInAdvancedFilter` was modified
+
+* `validate()` was removed
+
+#### `models.EventSubscriptionUpdateParameters` was modified
+
+* `validate()` was removed
+
+### Features Added
+
+* `models.ConfidentialCompute` was added
+
+* `models.PlatformCapabilities` was added
+
+* `models.IpAddressType` was added
+
+* `models.ConfidentialComputeMode` was added
+
+* `models.AutoScaleConfiguration` was added
+
+* `models.KeyEncryptionKeyIdentity` was added
+
+* `models.KeyEncryption` was added
+
+* `models.KeyEncryptionIdentityType` was added
+
+* `models.CustomerManagedKeyEncryption` was added
+
+* `models.KeyEncryptionKeyStatus` was added
+
+* `models.UpdateAutoScaleConfiguration` was added
+
+#### `models.SystemTopic` was modified
+
+* `encryption()` was added
+* `platformCapabilities()` was added
+
+#### `models.PartnerDestination$Definition` was modified
+
+* `withPartnerRegistrationImmutableId(java.lang.String)` was added
+
+#### `models.PartnerTopic$Definition` was modified
+
+* `withPartnerRegistrationImmutableId(java.lang.String)` was added
+
+#### `models.Namespace` was modified
+
+* `ipAddressType()` was added
+* `autoScaleConfiguration()` was added
+
+#### `models.Topic$Definition` was modified
+
+* `withPlatformCapabilities(models.PlatformCapabilities)` was added
+* `withEncryption(models.KeyEncryption)` was added
+
+#### `models.PrivateEndpointConnection` was modified
+
+* `systemData()` was added
+
+#### `models.PartnerRegistration$Definition` was modified
+
+* `withPartnerRegistrationImmutableId(java.lang.String)` was added
+
+#### `models.EventType` was modified
+
+* `systemData()` was added
+
+#### `models.TlsVersion` was modified
+
+* `ONE_THREE` was added
+
+#### `models.WebhookPartnerDestinationInfo` was modified
+
+* `resourceMoveChangeHistory()` was added
+
+#### `models.Topic` was modified
+
+* `encryption()` was added
+* `platformCapabilities()` was added
+
+#### `models.Namespace$Definition` was modified
+
+* `withIpAddressType(models.IpAddressType)` was added
+* `withAutoScaleConfiguration(models.AutoScaleConfiguration)` was added
+
+#### `models.SystemTopic$Definition` was modified
+
+* `withPlatformCapabilities(models.PlatformCapabilities)` was added
+* `withEncryption(models.KeyEncryption)` was added
+
+#### `models.Namespace$Update` was modified
+
+* `withIpAddressType(models.IpAddressType)` was added
+* `withAutoScaleConfiguration(models.UpdateAutoScaleConfiguration)` was added
+
+#### `models.NamespaceUpdateParameters` was modified
+
+* `autoScaleConfiguration()` was added
+* `withIpAddressType(models.IpAddressType)` was added
+* `ipAddressType()` was added
+* `withAutoScaleConfiguration(models.UpdateAutoScaleConfiguration)` was added
+
+#### `models.FederatedIdentityCredentialInfo` was modified
+
+* `withFederatedClientId(java.lang.String)` was added
+
+#### `models.TopicTypeInfo` was modified
+
+* `systemData()` was added
+
+#### `models.Partner` was modified
+
+* `withPartnerRegistrationImmutableId(java.lang.String)` was added
+
+#### `models.NetworkSecurityPerimeterConfiguration` was modified
+
+* `systemData()` was added
## 1.3.0-beta.1 (2025-07-25)
diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/README.md b/sdk/eventgrid/azure-resourcemanager-eventgrid/README.md
index 215cd75236e64..d41feebe50ede 100644
--- a/sdk/eventgrid/azure-resourcemanager-eventgrid/README.md
+++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/README.md
@@ -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-2025-04-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 api-version 2026-06-15-preview. 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
@@ -32,7 +32,7 @@ Various documentation is available to help you get started
com.azure.resourcemanager
azure-resourcemanager-eventgrid
- 1.3.0-beta.1
+ 1.3.0-beta.2
```
[//]: # ({x-version-update-end})
diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/SAMPLE.md b/sdk/eventgrid/azure-resourcemanager-eventgrid/SAMPLE.md
index ce5fd937bb72f..8c8b8e7238f69 100644
--- a/sdk/eventgrid/azure-resourcemanager-eventgrid/SAMPLE.md
+++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/SAMPLE.md
@@ -281,9 +281,7 @@
*/
public final class CaCertificatesCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * CaCertificates_CreateOrUpdate.json
+ * x-ms-original-file: 2026-06-15-preview/CaCertificates_CreateOrUpdate.json
*/
/**
* Sample code: CaCertificates_CreateOrUpdate.
@@ -309,9 +307,7 @@ public final class CaCertificatesCreateOrUpdateSamples {
*/
public final class CaCertificatesDeleteSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * CaCertificates_Delete.json
+ * x-ms-original-file: 2026-06-15-preview/CaCertificates_Delete.json
*/
/**
* Sample code: CaCertificates_Delete.
@@ -334,9 +330,7 @@ public final class CaCertificatesDeleteSamples {
*/
public final class CaCertificatesGetSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * CaCertificates_Get.json
+ * x-ms-original-file: 2026-06-15-preview/CaCertificates_Get.json
*/
/**
* Sample code: CaCertificates_Get.
@@ -359,9 +353,7 @@ public final class CaCertificatesGetSamples {
*/
public final class CaCertificatesListByNamespaceSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * CaCertificates_ListByNamespace.json
+ * x-ms-original-file: 2026-06-15-preview/CaCertificates_ListByNamespace.json
*/
/**
* Sample code: CaCertificates_ListByNamespace.
@@ -387,9 +379,7 @@ import java.time.OffsetDateTime;
*/
public final class ChannelsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * Channels_CreateOrUpdate.json
+ * x-ms-original-file: 2026-06-15-preview/Channels_CreateOrUpdate.json
*/
/**
* Sample code: Channels_CreateOrUpdate.
@@ -420,9 +410,7 @@ public final class ChannelsCreateOrUpdateSamples {
*/
public final class ChannelsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/Channels_Delete.
- * json
+ * x-ms-original-file: 2026-06-15-preview/Channels_Delete.json
*/
/**
* Sample code: Channels_Delete.
@@ -445,9 +433,7 @@ public final class ChannelsDeleteSamples {
*/
public final class ChannelsGetSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/Channels_Get.
- * json
+ * x-ms-original-file: 2026-06-15-preview/Channels_Get.json
*/
/**
* Sample code: Channels_Get.
@@ -470,9 +456,7 @@ public final class ChannelsGetSamples {
*/
public final class ChannelsGetFullUrlSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * Channels_GetFullUrl.json
+ * x-ms-original-file: 2026-06-15-preview/Channels_GetFullUrl.json
*/
/**
* Sample code: Channels_GetFullUrl.
@@ -495,9 +479,7 @@ public final class ChannelsGetFullUrlSamples {
*/
public final class ChannelsListByPartnerNamespaceSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * Channels_ListByPartnerNamespace.json
+ * x-ms-original-file: 2026-06-15-preview/Channels_ListByPartnerNamespace.json
*/
/**
* Sample code: Channels_ListByPartnerNamespace.
@@ -523,9 +505,7 @@ import java.time.OffsetDateTime;
*/
public final class ChannelsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/Channels_Update.
- * json
+ * x-ms-original-file: 2026-06-15-preview/Channels_Update.json
*/
/**
* Sample code: Channels_Update.
@@ -550,9 +530,7 @@ public final class ChannelsUpdateSamples {
*/
public final class ClientGroupsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * ClientGroups_CreateOrUpdate.json
+ * x-ms-original-file: 2026-06-15-preview/ClientGroups_CreateOrUpdate.json
*/
/**
* Sample code: ClientGroups_CreateOrUpdate.
@@ -578,9 +556,7 @@ public final class ClientGroupsCreateOrUpdateSamples {
*/
public final class ClientGroupsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * ClientGroups_Delete.json
+ * x-ms-original-file: 2026-06-15-preview/ClientGroups_Delete.json
*/
/**
* Sample code: ClientGroups_Delete.
@@ -602,9 +578,7 @@ public final class ClientGroupsDeleteSamples {
*/
public final class ClientGroupsGetSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/ClientGroups_Get
- * .json
+ * x-ms-original-file: 2026-06-15-preview/ClientGroups_Get.json
*/
/**
* Sample code: ClientGroups_Get.
@@ -627,9 +601,7 @@ public final class ClientGroupsGetSamples {
*/
public final class ClientGroupsListByNamespaceSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * ClientGroups_ListByNamespace.json
+ * x-ms-original-file: 2026-06-15-preview/ClientGroups_ListByNamespace.json
*/
/**
* Sample code: ClientGroups_ListByNamespace.
@@ -660,9 +632,7 @@ import java.util.Map;
*/
public final class ClientsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * Clients_CreateOrUpdate.json
+ * x-ms-original-file: 2026-06-15-preview/Clients_CreateOrUpdate.json
*/
/**
* Sample code: Clients_CreateOrUpdate.
@@ -707,9 +677,7 @@ public final class ClientsCreateOrUpdateSamples {
*/
public final class ClientsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/Clients_Delete.
- * json
+ * x-ms-original-file: 2026-06-15-preview/Clients_Delete.json
*/
/**
* Sample code: Clients_Delete.
@@ -731,8 +699,7 @@ public final class ClientsDeleteSamples {
*/
public final class ClientsGetSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/Clients_Get.json
+ * x-ms-original-file: 2026-06-15-preview/Clients_Get.json
*/
/**
* Sample code: Clients_Get.
@@ -755,9 +722,7 @@ public final class ClientsGetSamples {
*/
public final class ClientsListByNamespaceSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * Clients_ListByNamespace.json
+ * x-ms-original-file: 2026-06-15-preview/Clients_ListByNamespace.json
*/
/**
* Sample code: Clients_ListByNamespace.
@@ -782,9 +747,7 @@ import com.azure.resourcemanager.eventgrid.models.WebhookEventSubscriptionDestin
*/
public final class DomainEventSubscriptionsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * DomainEventSubscriptions_CreateOrUpdate.json
+ * x-ms-original-file: 2026-06-15-preview/DomainEventSubscriptions_CreateOrUpdate.json
*/
/**
* Sample code: DomainEventSubscriptions_CreateOrUpdate.
@@ -814,9 +777,7 @@ public final class DomainEventSubscriptionsCreateOrUpdateSamples {
*/
public final class DomainEventSubscriptionsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * DomainEventSubscriptions_Delete.json
+ * x-ms-original-file: 2026-06-15-preview/DomainEventSubscriptions_Delete.json
*/
/**
* Sample code: DomainEventSubscriptions_Delete.
@@ -838,9 +799,7 @@ public final class DomainEventSubscriptionsDeleteSamples {
*/
public final class DomainEventSubscriptionsGetSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * DomainEventSubscriptions_Get.json
+ * x-ms-original-file: 2026-06-15-preview/DomainEventSubscriptions_Get.json
*/
/**
* Sample code: DomainEventSubscriptions_Get.
@@ -862,9 +821,7 @@ public final class DomainEventSubscriptionsGetSamples {
*/
public final class DomainEventSubscriptionsGetDeliveryAttributesSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * DomainEventSubscriptions_GetDeliveryAttributes.json
+ * x-ms-original-file: 2026-06-15-preview/DomainEventSubscriptions_GetDeliveryAttributes.json
*/
/**
* Sample code: DomainEventSubscriptions_GetDeliveryAttributes.
@@ -888,9 +845,7 @@ public final class DomainEventSubscriptionsGetDeliveryAttributesSamples {
*/
public final class DomainEventSubscriptionsGetFullUrlSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * DomainEventSubscriptions_GetFullUrl.json
+ * x-ms-original-file: 2026-06-15-preview/DomainEventSubscriptions_GetFullUrl.json
*/
/**
* Sample code: DomainEventSubscriptions_GetFullUrl.
@@ -914,9 +869,7 @@ public final class DomainEventSubscriptionsGetFullUrlSamples {
*/
public final class DomainEventSubscriptionsListSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * DomainEventSubscriptions_List.json
+ * x-ms-original-file: 2026-06-15-preview/DomainEventSubscriptions_List.json
*/
/**
* Sample code: DomainEventSubscriptions_List.
@@ -943,9 +896,7 @@ import java.util.Arrays;
*/
public final class DomainEventSubscriptionsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * DomainEventSubscriptions_Update.json
+ * x-ms-original-file: 2026-06-15-preview/DomainEventSubscriptions_Update.json
*/
/**
* Sample code: DomainEventSubscriptions_Update.
@@ -979,9 +930,7 @@ import com.azure.resourcemanager.eventgrid.models.WebhookEventSubscriptionDestin
*/
public final class DomainTopicEventSubscriptionsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * DomainTopicEventSubscriptions_CreateOrUpdate.json
+ * x-ms-original-file: 2026-06-15-preview/DomainTopicEventSubscriptions_CreateOrUpdate.json
*/
/**
* Sample code: DomainTopicEventSubscriptions_CreateOrUpdate.
@@ -1011,9 +960,7 @@ public final class DomainTopicEventSubscriptionsCreateOrUpdateSamples {
*/
public final class DomainTopicEventSubscriptionsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * DomainTopicEventSubscriptions_Delete.json
+ * x-ms-original-file: 2026-06-15-preview/DomainTopicEventSubscriptions_Delete.json
*/
/**
* Sample code: DomainTopicEventSubscriptions_Delete.
@@ -1037,9 +984,7 @@ public final class DomainTopicEventSubscriptionsDeleteSamples {
*/
public final class DomainTopicEventSubscriptionsGetSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * DomainTopicEventSubscriptions_Get.json
+ * x-ms-original-file: 2026-06-15-preview/DomainTopicEventSubscriptions_Get.json
*/
/**
* Sample code: DomainTopicEventSubscriptions_Get.
@@ -1062,9 +1007,7 @@ public final class DomainTopicEventSubscriptionsGetSamples {
*/
public final class DomainTopicEventSubscriptionsGetDeliveryAttributesSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * DomainTopicEventSubscriptions_GetDeliveryAttributes.json
+ * x-ms-original-file: 2026-06-15-preview/DomainTopicEventSubscriptions_GetDeliveryAttributes.json
*/
/**
* Sample code: DomainTopicEventSubscriptions_GetDeliveryAttributes.
@@ -1088,9 +1031,7 @@ public final class DomainTopicEventSubscriptionsGetDeliveryAttributesSamples {
*/
public final class DomainTopicEventSubscriptionsGetFullUrlSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * DomainTopicEventSubscriptions_GetFullUrl.json
+ * x-ms-original-file: 2026-06-15-preview/DomainTopicEventSubscriptions_GetFullUrl.json
*/
/**
* Sample code: DomainTopicEventSubscriptions_GetFullUrl.
@@ -1114,9 +1055,7 @@ public final class DomainTopicEventSubscriptionsGetFullUrlSamples {
*/
public final class DomainTopicEventSubscriptionsListSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * DomainTopicEventSubscriptions_List.json
+ * x-ms-original-file: 2026-06-15-preview/DomainTopicEventSubscriptions_List.json
*/
/**
* Sample code: DomainTopicEventSubscriptions_List.
@@ -1143,9 +1082,7 @@ import java.util.Arrays;
*/
public final class DomainTopicEventSubscriptionsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * DomainTopicEventSubscriptions_Update.json
+ * x-ms-original-file: 2026-06-15-preview/DomainTopicEventSubscriptions_Update.json
*/
/**
* Sample code: DomainTopicEventSubscriptions_Update.
@@ -1176,9 +1113,7 @@ public final class DomainTopicEventSubscriptionsUpdateSamples {
*/
public final class DomainTopicsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * DomainTopics_CreateOrUpdate.json
+ * x-ms-original-file: 2026-06-15-preview/DomainTopics_CreateOrUpdate.json
*/
/**
* Sample code: DomainTopics_CreateOrUpdate.
@@ -1200,9 +1135,7 @@ public final class DomainTopicsCreateOrUpdateSamples {
*/
public final class DomainTopicsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * DomainTopics_Delete.json
+ * x-ms-original-file: 2026-06-15-preview/DomainTopics_Delete.json
*/
/**
* Sample code: DomainTopics_Delete.
@@ -1224,9 +1157,7 @@ public final class DomainTopicsDeleteSamples {
*/
public final class DomainTopicsGetSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/DomainTopics_Get
- * .json
+ * x-ms-original-file: 2026-06-15-preview/DomainTopics_Get.json
*/
/**
* Sample code: DomainTopics_Get.
@@ -1248,9 +1179,7 @@ public final class DomainTopicsGetSamples {
*/
public final class DomainTopicsListByDomainSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * DomainTopics_ListByDomain.json
+ * x-ms-original-file: 2026-06-15-preview/DomainTopics_ListByDomain.json
*/
/**
* Sample code: DomainTopics_ListByDomain.
@@ -1279,9 +1208,7 @@ import java.util.Map;
*/
public final class DomainsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * Domains_CreateOrUpdate.json
+ * x-ms-original-file: 2026-06-15-preview/Domains_CreateOrUpdate.json
*/
/**
* Sample code: Domains_CreateOrUpdate.
@@ -1323,9 +1250,7 @@ public final class DomainsCreateOrUpdateSamples {
*/
public final class DomainsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/Domains_Delete.
- * json
+ * x-ms-original-file: 2026-06-15-preview/Domains_Delete.json
*/
/**
* Sample code: Domains_Delete.
@@ -1346,8 +1271,7 @@ public final class DomainsDeleteSamples {
*/
public final class DomainsGetByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/Domains_Get.json
+ * x-ms-original-file: 2026-06-15-preview/Domains_Get.json
*/
/**
* Sample code: Domains_Get.
@@ -1369,9 +1293,7 @@ public final class DomainsGetByResourceGroupSamples {
*/
public final class DomainsListSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * Domains_ListBySubscription.json
+ * x-ms-original-file: 2026-06-15-preview/Domains_ListBySubscription.json
*/
/**
* Sample code: Domains_ListBySubscription.
@@ -1392,9 +1314,7 @@ public final class DomainsListSamples {
*/
public final class DomainsListByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * Domains_ListByResourceGroup.json
+ * x-ms-original-file: 2026-06-15-preview/Domains_ListByResourceGroup.json
*/
/**
* Sample code: Domains_ListByResourceGroup.
@@ -1415,9 +1335,7 @@ public final class DomainsListByResourceGroupSamples {
*/
public final class DomainsListSharedAccessKeysSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * Domains_ListSharedAccessKeys.json
+ * x-ms-original-file: 2026-06-15-preview/Domains_ListSharedAccessKeys.json
*/
/**
* Sample code: Domains_ListSharedAccessKeys.
@@ -1441,9 +1359,7 @@ import com.azure.resourcemanager.eventgrid.models.DomainRegenerateKeyRequest;
*/
public final class DomainsRegenerateKeySamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * Domains_RegenerateKey.json
+ * x-ms-original-file: 2026-06-15-preview/Domains_RegenerateKey.json
*/
/**
* Sample code: Domains_RegenerateKey.
@@ -1474,9 +1390,7 @@ import java.util.Map;
*/
public final class DomainsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/Domains_Update.
- * json
+ * x-ms-original-file: 2026-06-15-preview/Domains_Update.json
*/
/**
* Sample code: Domains_Update.
@@ -1528,9 +1442,7 @@ import com.azure.resourcemanager.eventgrid.models.WebhookEventSubscriptionDestin
*/
public final class EventSubscriptionsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination.json
*/
/**
* Sample code: EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination.
@@ -1552,9 +1464,7 @@ public final class EventSubscriptionsCreateOrUpdateSamples {
}
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_CreateOrUpdateForSubscription.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_CreateOrUpdateForSubscription.json
*/
/**
* Sample code: EventSubscriptions_CreateOrUpdateForSubscription.
@@ -1573,8 +1483,7 @@ public final class EventSubscriptionsCreateOrUpdateSamples {
/*
* x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_CreateOrUpdateForCustomTopic_ServiceBusTopicDestination.json
+ * 2026-06-15-preview/EventSubscriptions_CreateOrUpdateForCustomTopic_ServiceBusTopicDestination.json
*/
/**
* Sample code: EventSubscriptions_CreateOrUpdateForCustomTopic_ServiceBusTopicDestination.
@@ -1599,9 +1508,7 @@ public final class EventSubscriptionsCreateOrUpdateSamples {
}
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_CreateOrUpdateForResource.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_CreateOrUpdateForResource.json
*/
/**
* Sample code: EventSubscriptions_CreateOrUpdateForResource.
@@ -1622,9 +1529,7 @@ public final class EventSubscriptionsCreateOrUpdateSamples {
}
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_CreateOrUpdateForCustomTopic.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_CreateOrUpdateForCustomTopic.json
*/
/**
* Sample code: EventSubscriptions_CreateOrUpdateForCustomTopic.
@@ -1646,9 +1551,7 @@ public final class EventSubscriptionsCreateOrUpdateSamples {
}
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_CreateOrUpdateForResourceGroup.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_CreateOrUpdateForResourceGroup.json
*/
/**
* Sample code: EventSubscriptions_CreateOrUpdateForResourceGroup.
@@ -1668,9 +1571,7 @@ public final class EventSubscriptionsCreateOrUpdateSamples {
}
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_CreateOrUpdateForCustomTopic_EventHubDestination.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_CreateOrUpdateForCustomTopic_EventHubDestination.json
*/
/**
* Sample code: EventSubscriptions_CreateOrUpdateForCustomTopic_EventHubDestination.
@@ -1696,8 +1597,7 @@ public final class EventSubscriptionsCreateOrUpdateSamples {
/*
* x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_CreateOrUpdateForCustomTopic_StorageQueueDestination.json
+ * 2026-06-15-preview/EventSubscriptions_CreateOrUpdateForCustomTopic_StorageQueueDestination.json
*/
/**
* Sample code: EventSubscriptions_CreateOrUpdateForCustomTopic_StorageQueueDestination.
@@ -1725,8 +1625,7 @@ public final class EventSubscriptionsCreateOrUpdateSamples {
/*
* x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_CreateOrUpdateForCustomTopic_AzureFunctionDestination.json
+ * 2026-06-15-preview/EventSubscriptions_CreateOrUpdateForCustomTopic_AzureFunctionDestination.json
*/
/**
* Sample code: EventSubscriptions_CreateOrUpdateForCustomTopic_AzureFunctionDestination.
@@ -1752,8 +1651,7 @@ public final class EventSubscriptionsCreateOrUpdateSamples {
/*
* x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_CreateOrUpdateForCustomTopic_HybridConnectionDestination.json
+ * 2026-06-15-preview/EventSubscriptions_CreateOrUpdateForCustomTopic_HybridConnectionDestination.json
*/
/**
* Sample code: EventSubscriptions_CreateOrUpdateForCustomTopic_HybridConnectionDestination.
@@ -1779,8 +1677,7 @@ public final class EventSubscriptionsCreateOrUpdateSamples {
/*
* x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_CreateOrUpdateForCustomTopic_ServiceBusQueueDestination.json
+ * 2026-06-15-preview/EventSubscriptions_CreateOrUpdateForCustomTopic_ServiceBusQueueDestination.json
*/
/**
* Sample code: EventSubscriptions_CreateOrUpdateForCustomTopic_ServiceBusQueueDestination.
@@ -1814,9 +1711,7 @@ public final class EventSubscriptionsCreateOrUpdateSamples {
*/
public final class EventSubscriptionsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_DeleteForCustomTopic.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_DeleteForCustomTopic.json
*/
/**
* Sample code: EventSubscriptions_DeleteForCustomTopic.
@@ -1832,9 +1727,7 @@ public final class EventSubscriptionsDeleteSamples {
}
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_DeleteForResourceGroup.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_DeleteForResourceGroup.json
*/
/**
* Sample code: EventSubscriptions_DeleteForResourceGroup.
@@ -1849,9 +1742,7 @@ public final class EventSubscriptionsDeleteSamples {
}
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_DeleteForSubscription.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_DeleteForSubscription.json
*/
/**
* Sample code: EventSubscriptions_DeleteForSubscription.
@@ -1866,9 +1757,7 @@ public final class EventSubscriptionsDeleteSamples {
}
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_DeleteForResource.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_DeleteForResource.json
*/
/**
* Sample code: EventSubscriptions_DeleteForResource.
@@ -1893,9 +1782,7 @@ public final class EventSubscriptionsDeleteSamples {
*/
public final class EventSubscriptionsGetSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_GetForCustomTopic_HybridConnectionDestination.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_GetForCustomTopic_HybridConnectionDestination.json
*/
/**
* Sample code: EventSubscriptions_GetForCustomTopic_HybridConnectionDestination.
@@ -1911,9 +1798,7 @@ public final class EventSubscriptionsGetSamples {
}
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_GetForCustomTopic_ServiceBusTopicDestination.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_GetForCustomTopic_ServiceBusTopicDestination.json
*/
/**
* Sample code: EventSubscriptions_GetForCustomTopic_ServiceBusTopicDestination.
@@ -1929,9 +1814,7 @@ public final class EventSubscriptionsGetSamples {
}
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_GetForResourceGroup.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_GetForResourceGroup.json
*/
/**
* Sample code: EventSubscriptions_GetForResourceGroup.
@@ -1946,9 +1829,7 @@ public final class EventSubscriptionsGetSamples {
}
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_GetForCustomTopic_EventHubDestination.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_GetForCustomTopic_EventHubDestination.json
*/
/**
* Sample code: EventSubscriptions_GetForCustomTopic_EventHubDestination.
@@ -1964,9 +1845,7 @@ public final class EventSubscriptionsGetSamples {
}
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_GetForSubscription.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_GetForSubscription.json
*/
/**
* Sample code: EventSubscriptions_GetForSubscription.
@@ -1981,9 +1860,7 @@ public final class EventSubscriptionsGetSamples {
}
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_GetForCustomTopic_WebhookDestination.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_GetForCustomTopic_WebhookDestination.json
*/
/**
* Sample code: EventSubscriptions_GetForCustomTopic_WebhookDestination.
@@ -1999,9 +1876,7 @@ public final class EventSubscriptionsGetSamples {
}
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_GetForCustomTopic_AzureFunctionDestination.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_GetForCustomTopic_AzureFunctionDestination.json
*/
/**
* Sample code: EventSubscriptions_GetForCustomTopic_AzureFunctionDestination.
@@ -2017,9 +1892,7 @@ public final class EventSubscriptionsGetSamples {
}
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_GetForCustomTopic.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_GetForCustomTopic.json
*/
/**
* Sample code: EventSubscriptions_GetForCustomTopic.
@@ -2035,9 +1908,7 @@ public final class EventSubscriptionsGetSamples {
}
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_GetForCustomTopic_StorageQueueDestination.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_GetForCustomTopic_StorageQueueDestination.json
*/
/**
* Sample code: EventSubscriptions_GetForCustomTopic_StorageQueueDestination.
@@ -2053,9 +1924,7 @@ public final class EventSubscriptionsGetSamples {
}
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_GetForResource.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_GetForResource.json
*/
/**
* Sample code: EventSubscriptions_GetForResource.
@@ -2070,9 +1939,7 @@ public final class EventSubscriptionsGetSamples {
}
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_GetForCustomTopic_ServiceBusQueueDestination.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_GetForCustomTopic_ServiceBusQueueDestination.json
*/
/**
* Sample code: EventSubscriptions_GetForCustomTopic_ServiceBusQueueDestination.
@@ -2097,9 +1964,7 @@ public final class EventSubscriptionsGetSamples {
*/
public final class EventSubscriptionsGetDeliveryAttributesSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_GetDeliveryAttributes.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_GetDeliveryAttributes.json
*/
/**
* Sample code: EventSubscriptions_GetDeliveryAttributes.
@@ -2124,9 +1989,7 @@ public final class EventSubscriptionsGetDeliveryAttributesSamples {
*/
public final class EventSubscriptionsGetFullUrlSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_GetFullUrlForResource.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_GetFullUrlForResource.json
*/
/**
* Sample code: EventSubscriptions_GetFullUrlForResource.
@@ -2142,9 +2005,7 @@ public final class EventSubscriptionsGetFullUrlSamples {
}
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_GetFullUrlForResourceGroup.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_GetFullUrlForResourceGroup.json
*/
/**
* Sample code: EventSubscriptions_GetFullUrlForResourceGroup.
@@ -2159,9 +2020,7 @@ public final class EventSubscriptionsGetFullUrlSamples {
}
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_GetFullUrlForSubscription.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_GetFullUrlForSubscription.json
*/
/**
* Sample code: EventSubscriptions_GetFullUrlForSubscription.
@@ -2176,9 +2035,7 @@ public final class EventSubscriptionsGetFullUrlSamples {
}
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_GetFullUrlForCustomTopic.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_GetFullUrlForCustomTopic.json
*/
/**
* Sample code: EventSubscriptions_GetFullUrlForCustomTopic.
@@ -2203,9 +2060,7 @@ public final class EventSubscriptionsGetFullUrlSamples {
*/
public final class EventSubscriptionsListSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_ListGlobalBySubscription.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_ListGlobalBySubscription.json
*/
/**
* Sample code: EventSubscriptions_ListGlobalBySubscription.
@@ -2227,9 +2082,7 @@ public final class EventSubscriptionsListSamples {
*/
public final class EventSubscriptionsListByDomainTopicSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_ListByDomainTopic.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_ListByDomainTopic.json
*/
/**
* Sample code: EventSubscriptions_ListByDomainTopic.
@@ -2252,9 +2105,7 @@ public final class EventSubscriptionsListByDomainTopicSamples {
*/
public final class EventSubscriptionsListByResourceSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_ListByResource.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_ListByResource.json
*/
/**
* Sample code: EventSubscriptions_ListByResource.
@@ -2277,9 +2128,7 @@ public final class EventSubscriptionsListByResourceSamples {
*/
public final class EventSubscriptionsListByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_ListGlobalByResourceGroup.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_ListGlobalByResourceGroup.json
*/
/**
* Sample code: EventSubscriptions_ListGlobalByResourceGroup.
@@ -2301,9 +2150,7 @@ public final class EventSubscriptionsListByResourceGroupSamples {
*/
public final class EventSubscriptionsListGlobalByResourceGroupForTopicTypeSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_ListGlobalByResourceGroupForTopicType.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_ListGlobalByResourceGroupForTopicType.json
*/
/**
* Sample code: EventSubscriptions_ListGlobalByResourceGroupForTopicType.
@@ -2327,9 +2174,7 @@ public final class EventSubscriptionsListGlobalByResourceGroupForTopicTypeSample
*/
public final class EventSubscriptionsListGlobalBySubscriptionForTopicTypeSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_ListGlobalBySubscriptionForTopicType.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_ListGlobalBySubscriptionForTopicType.json
*/
/**
* Sample code: EventSubscriptions_ListGlobalBySubscriptionForTopicType.
@@ -2353,9 +2198,7 @@ public final class EventSubscriptionsListGlobalBySubscriptionForTopicTypeSamples
*/
public final class EventSubscriptionsListRegionalByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_ListRegionalByResourceGroup.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_ListRegionalByResourceGroup.json
*/
/**
* Sample code: EventSubscriptions_ListRegionalByResourceGroup.
@@ -2378,9 +2221,7 @@ public final class EventSubscriptionsListRegionalByResourceGroupSamples {
*/
public final class EventSubscriptionsListRegionalByResourceGroupForTopicTypeSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_ListRegionalByResourceGroupForTopicType.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_ListRegionalByResourceGroupForTopicType.json
*/
/**
* Sample code: EventSubscriptions_ListRegionalByResourceGroupForTopicType.
@@ -2404,9 +2245,7 @@ public final class EventSubscriptionsListRegionalByResourceGroupForTopicTypeSamp
*/
public final class EventSubscriptionsListRegionalBySubscriptionSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_ListRegionalBySubscription.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_ListRegionalBySubscription.json
*/
/**
* Sample code: EventSubscriptions_ListRegionalBySubscription.
@@ -2429,9 +2268,7 @@ public final class EventSubscriptionsListRegionalBySubscriptionSamples {
*/
public final class EventSubscriptionsListRegionalBySubscriptionForTopicTypeSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_ListRegionalBySubscriptionForTopicType.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_ListRegionalBySubscriptionForTopicType.json
*/
/**
* Sample code: EventSubscriptions_ListRegionalBySubscriptionForTopicType.
@@ -2467,9 +2304,7 @@ import java.util.Arrays;
*/
public final class EventSubscriptionsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_UpdateForCustomTopic_EventHubDestination.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_UpdateForCustomTopic_EventHubDestination.json
*/
/**
* Sample code: EventSubscriptions_UpdateForCustomTopic_EventHubDestination.
@@ -2494,9 +2329,7 @@ public final class EventSubscriptionsUpdateSamples {
}
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_UpdateForCustomTopic_AzureFunctionDestination.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_UpdateForCustomTopic_AzureFunctionDestination.json
*/
/**
* Sample code: EventSubscriptions_UpdateForCustomTopic_AzureFunctionDestination.
@@ -2523,9 +2356,7 @@ public final class EventSubscriptionsUpdateSamples {
}
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_UpdateForCustomTopic_WebhookDestination.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_UpdateForCustomTopic_WebhookDestination.json
*/
/**
* Sample code: EventSubscriptions_UpdateForCustomTopic_WebhookDestination.
@@ -2549,9 +2380,7 @@ public final class EventSubscriptionsUpdateSamples {
}
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_UpdateForCustomTopic_StorageQueueDestination.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_UpdateForCustomTopic_StorageQueueDestination.json
*/
/**
* Sample code: EventSubscriptions_UpdateForCustomTopic_StorageQueueDestination.
@@ -2580,9 +2409,7 @@ public final class EventSubscriptionsUpdateSamples {
}
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_UpdateForCustomTopic_ServiceBusTopicDestination.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_UpdateForCustomTopic_ServiceBusTopicDestination.json
*/
/**
* Sample code: EventSubscriptions_UpdateForCustomTopic_ServiceBusTopicDestination.
@@ -2607,9 +2434,7 @@ public final class EventSubscriptionsUpdateSamples {
}
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_UpdateForCustomTopic_HybridConnectionDestination.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_UpdateForCustomTopic_HybridConnectionDestination.json
*/
/**
* Sample code: EventSubscriptions_UpdateForCustomTopic_HybridConnectionDestination.
@@ -2634,9 +2459,7 @@ public final class EventSubscriptionsUpdateSamples {
}
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_UpdateForCustomTopic_ServiceBusQueueDestination.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_UpdateForCustomTopic_ServiceBusQueueDestination.json
*/
/**
* Sample code: EventSubscriptions_UpdateForCustomTopic_ServiceBusQueueDestination.
@@ -2663,9 +2486,7 @@ public final class EventSubscriptionsUpdateSamples {
}
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_UpdateForCustomTopic.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_UpdateForCustomTopic.json
*/
/**
* Sample code: EventSubscriptions_UpdateForCustomTopic.
@@ -2689,9 +2510,7 @@ public final class EventSubscriptionsUpdateSamples {
}
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_UpdateForResource.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_UpdateForResource.json
*/
/**
* Sample code: EventSubscriptions_UpdateForResource.
@@ -2715,9 +2534,7 @@ public final class EventSubscriptionsUpdateSamples {
}
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_UpdateForResourceGroup.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_UpdateForResourceGroup.json
*/
/**
* Sample code: EventSubscriptions_UpdateForResourceGroup.
@@ -2741,9 +2558,7 @@ public final class EventSubscriptionsUpdateSamples {
}
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * EventSubscriptions_UpdateForSubscription.json
+ * x-ms-original-file: 2026-06-15-preview/EventSubscriptions_UpdateForSubscription.json
*/
/**
* Sample code: EventSubscriptions_UpdateForSubscription.
@@ -2775,9 +2590,7 @@ public final class EventSubscriptionsUpdateSamples {
*/
public final class ExtensionTopicsGetSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * ExtensionTopics_Get.json
+ * x-ms-original-file: 2026-06-15-preview/ExtensionTopics_Get.json
*/
/**
* Sample code: ExtensionTopics_Get.
@@ -2807,9 +2620,7 @@ import java.time.Duration;
*/
public final class NamespaceTopicEventSubscriptionsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * NamespaceTopicEventSubscriptions_CreateOrUpdate.json
+ * x-ms-original-file: 2026-06-15-preview/NamespaceTopicEventSubscriptions_CreateOrUpdate.json
*/
/**
* Sample code: NamespaceTopicEventSubscriptions_CreateOrUpdate.
@@ -2839,9 +2650,7 @@ public final class NamespaceTopicEventSubscriptionsCreateOrUpdateSamples {
*/
public final class NamespaceTopicEventSubscriptionsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * NamespaceTopicEventSubscriptions_Delete.json
+ * x-ms-original-file: 2026-06-15-preview/NamespaceTopicEventSubscriptions_Delete.json
*/
/**
* Sample code: NamespaceTopicEventSubscriptions_Delete.
@@ -2865,9 +2674,7 @@ public final class NamespaceTopicEventSubscriptionsDeleteSamples {
*/
public final class NamespaceTopicEventSubscriptionsGetSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * NamespaceTopicEventSubscriptions_Get.json
+ * x-ms-original-file: 2026-06-15-preview/NamespaceTopicEventSubscriptions_Get.json
*/
/**
* Sample code: NamespaceTopicEventSubscriptions_Get.
@@ -2891,9 +2698,7 @@ public final class NamespaceTopicEventSubscriptionsGetSamples {
*/
public final class NamespaceTopicEventSubscriptionsGetDeliveryAttributesSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * NamespaceTopicEventSubscriptions_GetDeliveryAttributes.json
+ * x-ms-original-file: 2026-06-15-preview/NamespaceTopicEventSubscriptions_GetDeliveryAttributes.json
*/
/**
* Sample code: NamespaceTopicEventSubscriptions_GetDeliveryAttributes.
@@ -2917,9 +2722,7 @@ public final class NamespaceTopicEventSubscriptionsGetDeliveryAttributesSamples
*/
public final class NamespaceTopicEventSubscriptionsGetFullUrlSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * NamespaceTopicEventSubscriptions_GetFullUrl.json
+ * x-ms-original-file: 2026-06-15-preview/NamespaceTopicEventSubscriptions_GetFullUrl.json
*/
/**
* Sample code: NamespaceTopicEventSubscriptions_GetFullUrl.
@@ -2943,9 +2746,7 @@ public final class NamespaceTopicEventSubscriptionsGetFullUrlSamples {
*/
public final class NamespaceTopicEventSubscriptionsListByNamespaceTopicSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * NamespaceTopicEventSubscriptions_ListByNamespaceTopic.json
+ * x-ms-original-file: 2026-06-15-preview/NamespaceTopicEventSubscriptions_ListByNamespaceTopic.json
*/
/**
* Sample code: NamespaceTopicEventSubscriptions_ListByNamespaceTopic.
@@ -2976,9 +2777,7 @@ import java.time.Duration;
*/
public final class NamespaceTopicEventSubscriptionsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * NamespaceTopicEventSubscriptions_Update.json
+ * x-ms-original-file: 2026-06-15-preview/NamespaceTopicEventSubscriptions_Update.json
*/
/**
* Sample code: NamespaceTopicEventSubscriptions_Update.
@@ -3013,9 +2812,7 @@ import com.azure.resourcemanager.eventgrid.models.PublisherType;
*/
public final class NamespaceTopicsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * NamespaceTopics_CreateOrUpdate.json
+ * x-ms-original-file: 2026-06-15-preview/NamespaceTopics_CreateOrUpdate.json
*/
/**
* Sample code: NamespaceTopics_CreateOrUpdate.
@@ -3042,9 +2839,7 @@ public final class NamespaceTopicsCreateOrUpdateSamples {
*/
public final class NamespaceTopicsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * NamespaceTopics_Delete.json
+ * x-ms-original-file: 2026-06-15-preview/NamespaceTopics_Delete.json
*/
/**
* Sample code: NamespaceTopics_Delete.
@@ -3066,9 +2861,7 @@ public final class NamespaceTopicsDeleteSamples {
*/
public final class NamespaceTopicsGetSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * NamespaceTopics_Get.json
+ * x-ms-original-file: 2026-06-15-preview/NamespaceTopics_Get.json
*/
/**
* Sample code: NamespaceTopics_Get.
@@ -3091,9 +2884,7 @@ public final class NamespaceTopicsGetSamples {
*/
public final class NamespaceTopicsListByNamespaceSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * NamespaceTopics_ListByNamespace.json
+ * x-ms-original-file: 2026-06-15-preview/NamespaceTopics_ListByNamespace.json
*/
/**
* Sample code: NamespaceTopics_ListByNamespace.
@@ -3115,9 +2906,7 @@ public final class NamespaceTopicsListByNamespaceSamples {
*/
public final class NamespaceTopicsListSharedAccessKeysSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * NamespaceTopics_ListSharedAccessKeys.json
+ * x-ms-original-file: 2026-06-15-preview/NamespaceTopics_ListSharedAccessKeys.json
*/
/**
* Sample code: NamespaceTopics_ListSharedAccessKeys.
@@ -3143,9 +2932,7 @@ import com.azure.resourcemanager.eventgrid.models.TopicRegenerateKeyRequest;
*/
public final class NamespaceTopicsRegenerateKeySamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * NamespaceTopics_RegenerateKey.json
+ * x-ms-original-file: 2026-06-15-preview/NamespaceTopics_RegenerateKey.json
*/
/**
* Sample code: NamespaceTopics_RegenerateKey.
@@ -3170,9 +2957,7 @@ import com.azure.resourcemanager.eventgrid.models.NamespaceTopic;
*/
public final class NamespaceTopicsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * NamespaceTopics_Update.json
+ * x-ms-original-file: 2026-06-15-preview/NamespaceTopics_Update.json
*/
/**
* Sample code: NamespaceTopics_Update.
@@ -3192,6 +2977,7 @@ public final class NamespaceTopicsUpdateSamples {
### Namespaces_CreateOrUpdate
```java
+import com.azure.resourcemanager.eventgrid.models.IpAddressType;
import com.azure.resourcemanager.eventgrid.models.TopicSpacesConfiguration;
import com.azure.resourcemanager.eventgrid.models.TopicSpacesConfigurationState;
import java.util.HashMap;
@@ -3202,9 +2988,7 @@ import java.util.Map;
*/
public final class NamespacesCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * Namespaces_CreateOrUpdate.json
+ * x-ms-original-file: 2026-06-15-preview/Namespaces_CreateOrUpdate.json
*/
/**
* Sample code: Namespaces_CreateOrUpdate.
@@ -3221,6 +3005,7 @@ public final class NamespacesCreateOrUpdateSamples {
.withState(TopicSpacesConfigurationState.ENABLED)
.withRouteTopicResourceId(
"/subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampleTopic1"))
+ .withIpAddressType(IpAddressType.DUAL_STACK)
.create();
}
@@ -3246,9 +3031,7 @@ public final class NamespacesCreateOrUpdateSamples {
*/
public final class NamespacesDeleteSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * Namespaces_Delete.json
+ * x-ms-original-file: 2026-06-15-preview/Namespaces_Delete.json
*/
/**
* Sample code: Namespaces_Delete.
@@ -3269,9 +3052,7 @@ public final class NamespacesDeleteSamples {
*/
public final class NamespacesGetByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/Namespaces_Get.
- * json
+ * x-ms-original-file: 2026-06-15-preview/Namespaces_Get.json
*/
/**
* Sample code: Namespaces_Get.
@@ -3293,9 +3074,7 @@ public final class NamespacesGetByResourceGroupSamples {
*/
public final class NamespacesListSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * Namespaces_ListBySubscription.json
+ * x-ms-original-file: 2026-06-15-preview/Namespaces_ListBySubscription.json
*/
/**
* Sample code: Namespaces_ListBySubscription.
@@ -3316,9 +3095,7 @@ public final class NamespacesListSamples {
*/
public final class NamespacesListByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * Namespaces_ListByResourceGroup.json
+ * x-ms-original-file: 2026-06-15-preview/Namespaces_ListByResourceGroup.json
*/
/**
* Sample code: Namespaces_ListByResourceGroup.
@@ -3339,9 +3116,7 @@ public final class NamespacesListByResourceGroupSamples {
*/
public final class NamespacesListSharedAccessKeysSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * Namespaces_ListSharedAccessKeys.json
+ * x-ms-original-file: 2026-06-15-preview/Namespaces_ListSharedAccessKeys.json
*/
/**
* Sample code: Namespaces_ListSharedAccessKeys.
@@ -3365,9 +3140,7 @@ import com.azure.resourcemanager.eventgrid.models.NamespaceRegenerateKeyRequest;
*/
public final class NamespacesRegenerateKeySamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * Namespaces_RegenerateKey.json
+ * x-ms-original-file: 2026-06-15-preview/Namespaces_RegenerateKey.json
*/
/**
* Sample code: Namespaces_RegenerateKey.
@@ -3386,6 +3159,7 @@ public final class NamespacesRegenerateKeySamples {
### Namespaces_Update
```java
+import com.azure.resourcemanager.eventgrid.models.IpAddressType;
import com.azure.resourcemanager.eventgrid.models.Namespace;
import java.util.HashMap;
import java.util.Map;
@@ -3395,9 +3169,7 @@ import java.util.Map;
*/
public final class NamespacesUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * Namespaces_Update.json
+ * x-ms-original-file: 2026-06-15-preview/Namespaces_Update.json
*/
/**
* Sample code: Namespaces_Update.
@@ -3408,7 +3180,7 @@ public final class NamespacesUpdateSamples {
Namespace resource = manager.namespaces()
.getByResourceGroupWithResponse("examplerg", "exampleNamespaceName1", com.azure.core.util.Context.NONE)
.getValue();
- resource.update().withTags(mapOf("tag1", "value1Updated")).apply();
+ resource.update().withTags(mapOf("tag1", "value1Updated")).withIpAddressType(IpAddressType.DUAL_STACK).apply();
}
// Use "Map.of" if available
@@ -3433,9 +3205,7 @@ public final class NamespacesUpdateSamples {
*/
public final class NamespacesValidateCustomDomainOwnershipSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * Namespaces_ValidateCustomDomainOwnership.json
+ * x-ms-original-file: 2026-06-15-preview/Namespaces_ValidateCustomDomainOwnership.json
*/
/**
* Sample code: Namespaces_ValidateCustomDomainOwnership.
@@ -3460,9 +3230,7 @@ import com.azure.resourcemanager.eventgrid.models.NetworkSecurityPerimeterResour
*/
public final class NetworkSecurityPerimeterConfigurationsGetSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * NetworkSecurityPerimeterConfigurations_Get.json
+ * x-ms-original-file: 2026-06-15-preview/NetworkSecurityPerimeterConfigurations_Get.json
*/
/**
* Sample code: NetworkSecurityPerimeterConfigurations_Get.
@@ -3488,9 +3256,7 @@ import com.azure.resourcemanager.eventgrid.models.NetworkSecurityPerimeterResour
*/
public final class NetworkSecurityPerimeterConfigurationsListSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * NetworkSecurityPerimeterConfigurations_List.json
+ * x-ms-original-file: 2026-06-15-preview/NetworkSecurityPerimeterConfigurations_List.json
*/
/**
* Sample code: NetworkSecurityPerimeterConfigurations_List.
@@ -3516,9 +3282,7 @@ import com.azure.resourcemanager.eventgrid.models.NetworkSecurityPerimeterResour
*/
public final class NetworkSecurityPerimeterConfigurationsReconcileSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * NetworkSecurityPerimeterConfigurations_Reconcile.json
+ * x-ms-original-file: 2026-06-15-preview/NetworkSecurityPerimeterConfigurations_Reconcile.json
*/
/**
* Sample code: NetworkSecurityPerimeterConfigurations_Reconcile.
@@ -3542,9 +3306,7 @@ public final class NetworkSecurityPerimeterConfigurationsReconcileSamples {
*/
public final class OperationsListSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/Operations_List.
- * json
+ * x-ms-original-file: 2026-06-15-preview/Operations_List.json
*/
/**
* Sample code: Operations_List.
@@ -3562,16 +3324,13 @@ public final class OperationsListSamples {
```java
import com.azure.resourcemanager.eventgrid.models.Partner;
import java.time.OffsetDateTime;
-import java.util.UUID;
/**
* Samples for PartnerConfigurations AuthorizePartner.
*/
public final class PartnerConfigurationsAuthorizePartnerSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerConfigurations_AuthorizePartner.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerConfigurations_AuthorizePartner.json
*/
/**
* Sample code: PartnerConfigurations_AuthorizePartner.
@@ -3582,8 +3341,7 @@ public final class PartnerConfigurationsAuthorizePartnerSamples {
partnerConfigurationsAuthorizePartner(com.azure.resourcemanager.eventgrid.EventGridManager manager) {
manager.partnerConfigurations()
.authorizePartnerWithResponse("examplerg",
- new Partner()
- .withPartnerRegistrationImmutableId(UUID.fromString("941892bc-f5d0-4d1c-8fb5-477570fc2b71"))
+ new Partner().withPartnerRegistrationImmutableId("941892bc-f5d0-4d1c-8fb5-477570fc2b71")
.withPartnerName("Contoso.Finance")
.withAuthorizationExpirationTimeInUtc(OffsetDateTime.parse("2022-01-28T01:20:55.142Z")),
com.azure.core.util.Context.NONE);
@@ -3599,16 +3357,13 @@ import com.azure.resourcemanager.eventgrid.models.Partner;
import com.azure.resourcemanager.eventgrid.models.PartnerAuthorization;
import java.time.OffsetDateTime;
import java.util.Arrays;
-import java.util.UUID;
/**
* Samples for PartnerConfigurations CreateOrUpdate.
*/
public final class PartnerConfigurationsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerConfigurations_CreateOrUpdate.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerConfigurations_CreateOrUpdate.json
*/
/**
* Sample code: PartnerConfigurations_CreateOrUpdate.
@@ -3619,20 +3374,15 @@ public final class PartnerConfigurationsCreateOrUpdateSamples {
partnerConfigurationsCreateOrUpdate(com.azure.resourcemanager.eventgrid.EventGridManager manager) {
manager.partnerConfigurations()
.createOrUpdate("examplerg",
- new PartnerConfigurationInner()
- .withPartnerAuthorization(new PartnerAuthorization().withDefaultMaximumExpirationTimeInDays(10)
- .withAuthorizedPartnersList(Arrays.asList(
- new Partner()
- .withPartnerRegistrationImmutableId(
- UUID.fromString("941892bc-f5d0-4d1c-8fb5-477570fc2b71"))
- .withPartnerName("Contoso.Finance")
- .withAuthorizationExpirationTimeInUtc(OffsetDateTime.parse("2022-01-28T01:20:55.142Z")),
- new Partner()
- .withPartnerRegistrationImmutableId(
- UUID.fromString("5362bdb6-ce3e-4d0d-9a5b-3eb92c8aab38"))
- .withPartnerName("fabrikam.HR")
- .withAuthorizationExpirationTimeInUtc(
- OffsetDateTime.parse("2022-02-20T01:00:00.142Z"))))),
+ new PartnerConfigurationInner().withPartnerAuthorization(new PartnerAuthorization()
+ .withDefaultMaximumExpirationTimeInDays(10)
+ .withAuthorizedPartnersList(Arrays.asList(
+ new Partner().withPartnerRegistrationImmutableId("941892bc-f5d0-4d1c-8fb5-477570fc2b71")
+ .withPartnerName("Contoso.Finance")
+ .withAuthorizationExpirationTimeInUtc(OffsetDateTime.parse("2022-01-28T01:20:55.142Z")),
+ new Partner().withPartnerRegistrationImmutableId("5362bdb6-ce3e-4d0d-9a5b-3eb92c8aab38")
+ .withPartnerName("fabrikam.HR")
+ .withAuthorizationExpirationTimeInUtc(OffsetDateTime.parse("2022-02-20T01:00:00.142Z"))))),
com.azure.core.util.Context.NONE);
}
}
@@ -3646,9 +3396,7 @@ public final class PartnerConfigurationsCreateOrUpdateSamples {
*/
public final class PartnerConfigurationsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerConfigurations_Delete.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerConfigurations_Delete.json
*/
/**
* Sample code: PartnerConfigurations_Delete.
@@ -3669,9 +3417,7 @@ public final class PartnerConfigurationsDeleteSamples {
*/
public final class PartnerConfigurationsGetByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerConfigurations_Get.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerConfigurations_Get.json
*/
/**
* Sample code: PartnerConfigurations_Get.
@@ -3692,9 +3438,7 @@ public final class PartnerConfigurationsGetByResourceGroupSamples {
*/
public final class PartnerConfigurationsListSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerConfigurations_ListBySubscription.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerConfigurations_ListBySubscription.json
*/
/**
* Sample code: PartnerConfigurations_ListBySubscription.
@@ -3716,9 +3460,7 @@ public final class PartnerConfigurationsListSamples {
*/
public final class PartnerConfigurationsListByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerConfigurations_ListByResourceGroup.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerConfigurations_ListByResourceGroup.json
*/
/**
* Sample code: PartnerConfigurations_ListByResourceGroup.
@@ -3737,16 +3479,13 @@ public final class PartnerConfigurationsListByResourceGroupSamples {
```java
import com.azure.resourcemanager.eventgrid.models.Partner;
import java.time.OffsetDateTime;
-import java.util.UUID;
/**
* Samples for PartnerConfigurations UnauthorizePartner.
*/
public final class PartnerConfigurationsUnauthorizePartnerSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerConfigurations_UnauthorizePartner.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerConfigurations_UnauthorizePartner.json
*/
/**
* Sample code: PartnerConfigurations_UnauthorizePartner.
@@ -3757,8 +3496,7 @@ public final class PartnerConfigurationsUnauthorizePartnerSamples {
partnerConfigurationsUnauthorizePartner(com.azure.resourcemanager.eventgrid.EventGridManager manager) {
manager.partnerConfigurations()
.unauthorizePartnerWithResponse("examplerg",
- new Partner()
- .withPartnerRegistrationImmutableId(UUID.fromString("941892bc-f5d0-4d1c-8fb5-477570fc2b71"))
+ new Partner().withPartnerRegistrationImmutableId("941892bc-f5d0-4d1c-8fb5-477570fc2b71")
.withPartnerName("Contoso.Finance")
.withAuthorizationExpirationTimeInUtc(OffsetDateTime.parse("2022-01-28T01:20:55.142Z")),
com.azure.core.util.Context.NONE);
@@ -3778,9 +3516,7 @@ import java.util.Map;
*/
public final class PartnerConfigurationsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerConfigurations_Update.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerConfigurations_Update.json
*/
/**
* Sample code: PartnerConfigurations_Update.
@@ -3817,9 +3553,7 @@ public final class PartnerConfigurationsUpdateSamples {
*/
public final class PartnerDestinationsActivateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerDestinations_Activate.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerDestinations_Activate.json
*/
/**
* Sample code: PartnerDestinations_Activate.
@@ -3837,16 +3571,13 @@ public final class PartnerDestinationsActivateSamples {
```java
import java.time.OffsetDateTime;
-import java.util.UUID;
/**
* Samples for PartnerDestinations CreateOrUpdate.
*/
public final class PartnerDestinationsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerDestinations_CreateOrUpdate.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerDestinations_CreateOrUpdate.json
*/
/**
* Sample code: PartnerDestinations_CreateOrUpdate.
@@ -3858,7 +3589,7 @@ public final class PartnerDestinationsCreateOrUpdateSamples {
.define("examplePartnerDestinationName1")
.withRegion("westus2")
.withExistingResourceGroup("examplerg")
- .withPartnerRegistrationImmutableId(UUID.fromString("0bd70ee2-7d95-447e-ab1f-c4f320019404"))
+ .withPartnerRegistrationImmutableId("0bd70ee2-7d95-447e-ab1f-c4f320019404")
.withEndpointServiceContext("This is an example")
.withExpirationTimeIfNotActivatedUtc(OffsetDateTime.parse("2022-03-14T19:33:43.430Z"))
.withEndpointBaseUrl("https://www.example/endpoint")
@@ -3876,9 +3607,7 @@ public final class PartnerDestinationsCreateOrUpdateSamples {
*/
public final class PartnerDestinationsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerDestinations_Delete.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerDestinations_Delete.json
*/
/**
* Sample code: PartnerDestinations_Delete.
@@ -3900,9 +3629,7 @@ public final class PartnerDestinationsDeleteSamples {
*/
public final class PartnerDestinationsGetByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerDestinations_Get.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerDestinations_Get.json
*/
/**
* Sample code: PartnerDestinations_Get.
@@ -3925,9 +3652,7 @@ public final class PartnerDestinationsGetByResourceGroupSamples {
*/
public final class PartnerDestinationsListSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerDestinations_ListBySubscription.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerDestinations_ListBySubscription.json
*/
/**
* Sample code: PartnerDestinations_ListBySubscription.
@@ -3949,9 +3674,7 @@ public final class PartnerDestinationsListSamples {
*/
public final class PartnerDestinationsListByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerDestinations_ListByResourceGroup.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerDestinations_ListByResourceGroup.json
*/
/**
* Sample code: PartnerDestinations_ListByResourceGroup.
@@ -3977,9 +3700,7 @@ import java.util.Map;
*/
public final class PartnerDestinationsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerDestinations_Update.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerDestinations_Update.json
*/
/**
* Sample code: PartnerDestinations_Update.
@@ -4019,9 +3740,7 @@ import java.util.Map;
*/
public final class PartnerNamespacesCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerNamespaces_CreateOrUpdate.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerNamespaces_CreateOrUpdate.json
*/
/**
* Sample code: PartnerNamespaces_CreateOrUpdate.
@@ -4061,9 +3780,7 @@ public final class PartnerNamespacesCreateOrUpdateSamples {
*/
public final class PartnerNamespacesDeleteSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerNamespaces_Delete.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerNamespaces_Delete.json
*/
/**
* Sample code: PartnerNamespaces_Delete.
@@ -4085,9 +3802,7 @@ public final class PartnerNamespacesDeleteSamples {
*/
public final class PartnerNamespacesGetByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerNamespaces_Get.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerNamespaces_Get.json
*/
/**
* Sample code: PartnerNamespaces_Get.
@@ -4110,9 +3825,7 @@ public final class PartnerNamespacesGetByResourceGroupSamples {
*/
public final class PartnerNamespacesListSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerNamespaces_ListBySubscription.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerNamespaces_ListBySubscription.json
*/
/**
* Sample code: PartnerNamespaces_ListBySubscription.
@@ -4134,9 +3847,7 @@ public final class PartnerNamespacesListSamples {
*/
public final class PartnerNamespacesListByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerNamespaces_ListByResourceGroup.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerNamespaces_ListByResourceGroup.json
*/
/**
* Sample code: PartnerNamespaces_ListByResourceGroup.
@@ -4158,9 +3869,7 @@ public final class PartnerNamespacesListByResourceGroupSamples {
*/
public final class PartnerNamespacesListSharedAccessKeysSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerNamespaces_ListSharedAccessKeys.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerNamespaces_ListSharedAccessKeys.json
*/
/**
* Sample code: PartnerNamespaces_ListSharedAccessKeys.
@@ -4186,9 +3895,7 @@ import com.azure.resourcemanager.eventgrid.models.PartnerNamespaceRegenerateKeyR
*/
public final class PartnerNamespacesRegenerateKeySamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerNamespaces_RegenerateKey.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerNamespaces_RegenerateKey.json
*/
/**
* Sample code: PartnerNamespaces_RegenerateKey.
@@ -4216,9 +3923,7 @@ import java.util.Map;
*/
public final class PartnerNamespacesUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerNamespaces_Update.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerNamespaces_Update.json
*/
/**
* Sample code: PartnerNamespaces_Update.
@@ -4258,9 +3963,7 @@ import java.util.Map;
*/
public final class PartnerRegistrationsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerRegistrations_CreateOrUpdate.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerRegistrations_CreateOrUpdate.json
*/
/**
* Sample code: PartnerRegistrations_CreateOrUpdate.
@@ -4300,9 +4003,7 @@ public final class PartnerRegistrationsCreateOrUpdateSamples {
*/
public final class PartnerRegistrationsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerRegistrations_Delete.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerRegistrations_Delete.json
*/
/**
* Sample code: PartnerRegistrations_Delete.
@@ -4324,9 +4025,7 @@ public final class PartnerRegistrationsDeleteSamples {
*/
public final class PartnerRegistrationsGetByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerRegistrations_Get.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerRegistrations_Get.json
*/
/**
* Sample code: PartnerRegistrations_Get.
@@ -4349,9 +4048,7 @@ public final class PartnerRegistrationsGetByResourceGroupSamples {
*/
public final class PartnerRegistrationsListSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerRegistrations_ListBySubscription.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerRegistrations_ListBySubscription.json
*/
/**
* Sample code: PartnerRegistrations_ListBySubscription.
@@ -4373,9 +4070,7 @@ public final class PartnerRegistrationsListSamples {
*/
public final class PartnerRegistrationsListByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerRegistrations_ListByResourceGroup.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerRegistrations_ListByResourceGroup.json
*/
/**
* Sample code: PartnerRegistrations_ListByResourceGroup.
@@ -4401,9 +4096,7 @@ import java.util.Map;
*/
public final class PartnerRegistrationsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerRegistrations_Update.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerRegistrations_Update.json
*/
/**
* Sample code: PartnerRegistrations_Update.
@@ -4444,9 +4137,7 @@ import com.azure.resourcemanager.eventgrid.models.WebhookEventSubscriptionDestin
*/
public final class PartnerTopicEventSubscriptionsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerTopicEventSubscriptions_CreateOrUpdate.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerTopicEventSubscriptions_CreateOrUpdate.json
*/
/**
* Sample code: PartnerTopicEventSubscriptions_CreateOrUpdate.
@@ -4476,9 +4167,7 @@ public final class PartnerTopicEventSubscriptionsCreateOrUpdateSamples {
*/
public final class PartnerTopicEventSubscriptionsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerTopicEventSubscriptions_Delete.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerTopicEventSubscriptions_Delete.json
*/
/**
* Sample code: PartnerTopicEventSubscriptions_Delete.
@@ -4501,9 +4190,7 @@ public final class PartnerTopicEventSubscriptionsDeleteSamples {
*/
public final class PartnerTopicEventSubscriptionsGetSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerTopicEventSubscriptions_Get.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerTopicEventSubscriptions_Get.json
*/
/**
* Sample code: PartnerTopicEventSubscriptions_Get.
@@ -4526,9 +4213,7 @@ public final class PartnerTopicEventSubscriptionsGetSamples {
*/
public final class PartnerTopicEventSubscriptionsGetDeliveryAttributesSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerTopicEventSubscriptions_GetDeliveryAttributes.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerTopicEventSubscriptions_GetDeliveryAttributes.json
*/
/**
* Sample code: PartnerTopicEventSubscriptions_GetDeliveryAttributes.
@@ -4552,9 +4237,7 @@ public final class PartnerTopicEventSubscriptionsGetDeliveryAttributesSamples {
*/
public final class PartnerTopicEventSubscriptionsGetFullUrlSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerTopicEventSubscriptions_GetFullUrl.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerTopicEventSubscriptions_GetFullUrl.json
*/
/**
* Sample code: PartnerTopicEventSubscriptions_GetFullUrl.
@@ -4578,9 +4261,7 @@ public final class PartnerTopicEventSubscriptionsGetFullUrlSamples {
*/
public final class PartnerTopicEventSubscriptionsListByPartnerTopicSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerTopicEventSubscriptions_ListByPartnerTopic.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerTopicEventSubscriptions_ListByPartnerTopic.json
*/
/**
* Sample code: PartnerTopicEventSubscriptions_ListByPartnerTopic.
@@ -4608,9 +4289,7 @@ import java.util.Arrays;
*/
public final class PartnerTopicEventSubscriptionsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerTopicEventSubscriptions_Update.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerTopicEventSubscriptions_Update.json
*/
/**
* Sample code: PartnerTopicEventSubscriptions_Update.
@@ -4641,9 +4320,7 @@ public final class PartnerTopicEventSubscriptionsUpdateSamples {
*/
public final class PartnerTopicsActivateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerTopics_Activate.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerTopics_Activate.json
*/
/**
* Sample code: PartnerTopics_Activate.
@@ -4661,16 +4338,13 @@ public final class PartnerTopicsActivateSamples {
```java
import java.time.OffsetDateTime;
-import java.util.UUID;
/**
* Samples for PartnerTopics CreateOrUpdate.
*/
public final class PartnerTopicsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerTopics_CreateOrUpdate.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerTopics_CreateOrUpdate.json
*/
/**
* Sample code: PartnerTopics_CreateOrUpdate.
@@ -4682,7 +4356,7 @@ public final class PartnerTopicsCreateOrUpdateSamples {
.define("examplePartnerTopicName1")
.withRegion("westus2")
.withExistingResourceGroup("examplerg")
- .withPartnerRegistrationImmutableId(UUID.fromString("6f541064-031d-4cc8-9ec3-a3b4fc0f7185"))
+ .withPartnerRegistrationImmutableId("6f541064-031d-4cc8-9ec3-a3b4fc0f7185")
.withSource("ContosoCorp.Accounts.User1")
.withExpirationTimeIfNotActivatedUtc(OffsetDateTime.parse("2022-03-23T23:06:13.109Z"))
.withPartnerTopicFriendlyDescription("Example description")
@@ -4700,9 +4374,7 @@ public final class PartnerTopicsCreateOrUpdateSamples {
*/
public final class PartnerTopicsDeactivateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerTopics_Deactivate.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerTopics_Deactivate.json
*/
/**
* Sample code: PartnerTopics_Deactivate.
@@ -4724,9 +4396,7 @@ public final class PartnerTopicsDeactivateSamples {
*/
public final class PartnerTopicsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerTopics_Delete.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerTopics_Delete.json
*/
/**
* Sample code: PartnerTopics_Delete.
@@ -4747,9 +4417,7 @@ public final class PartnerTopicsDeleteSamples {
*/
public final class PartnerTopicsGetByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerTopics_Get.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerTopics_Get.json
*/
/**
* Sample code: PartnerTopics_Get.
@@ -4771,9 +4439,7 @@ public final class PartnerTopicsGetByResourceGroupSamples {
*/
public final class PartnerTopicsListSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerTopics_ListBySubscription.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerTopics_ListBySubscription.json
*/
/**
* Sample code: PartnerTopics_ListBySubscription.
@@ -4794,9 +4460,7 @@ public final class PartnerTopicsListSamples {
*/
public final class PartnerTopicsListByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerTopics_ListByResourceGroup.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerTopics_ListByResourceGroup.json
*/
/**
* Sample code: PartnerTopics_ListByResourceGroup.
@@ -4821,9 +4485,7 @@ import java.util.Map;
*/
public final class PartnerTopicsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PartnerTopics_Update.json
+ * x-ms-original-file: 2026-06-15-preview/PartnerTopics_Update.json
*/
/**
* Sample code: PartnerTopics_Update.
@@ -4861,9 +4523,7 @@ import com.azure.resourcemanager.eventgrid.models.PermissionType;
*/
public final class PermissionBindingsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PermissionBindings_CreateOrUpdate.json
+ * x-ms-original-file: 2026-06-15-preview/PermissionBindings_CreateOrUpdate.json
*/
/**
* Sample code: PermissionBindings_CreateOrUpdate.
@@ -4890,9 +4550,7 @@ public final class PermissionBindingsCreateOrUpdateSamples {
*/
public final class PermissionBindingsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PermissionBindings_Delete.json
+ * x-ms-original-file: 2026-06-15-preview/PermissionBindings_Delete.json
*/
/**
* Sample code: PermissionBindings_Delete.
@@ -4915,9 +4573,7 @@ public final class PermissionBindingsDeleteSamples {
*/
public final class PermissionBindingsGetSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PermissionBindings_Get.json
+ * x-ms-original-file: 2026-06-15-preview/PermissionBindings_Get.json
*/
/**
* Sample code: PermissionBindings_Get.
@@ -4940,9 +4596,7 @@ public final class PermissionBindingsGetSamples {
*/
public final class PermissionBindingsListByNamespaceSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PermissionBindings_ListByNamespace.json
+ * x-ms-original-file: 2026-06-15-preview/PermissionBindings_ListByNamespace.json
*/
/**
* Sample code: PermissionBindings_ListByNamespace.
@@ -4966,9 +4620,7 @@ import com.azure.resourcemanager.eventgrid.models.PrivateEndpointConnectionsPare
*/
public final class PrivateEndpointConnectionsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PrivateEndpointConnections_Delete.json
+ * x-ms-original-file: 2026-06-15-preview/PrivateEndpointConnections_Delete.json
*/
/**
* Sample code: PrivateEndpointConnections_Delete.
@@ -4993,9 +4645,7 @@ import com.azure.resourcemanager.eventgrid.models.PrivateEndpointConnectionsPare
*/
public final class PrivateEndpointConnectionsGetSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PrivateEndpointConnections_Get.json
+ * x-ms-original-file: 2026-06-15-preview/PrivateEndpointConnections_Get.json
*/
/**
* Sample code: PrivateEndpointConnections_Get.
@@ -5020,9 +4670,7 @@ import com.azure.resourcemanager.eventgrid.models.PrivateEndpointConnectionsPare
*/
public final class PrivateEndpointConnectionsListByResourceSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PrivateEndpointConnections_ListByResource.json
+ * x-ms-original-file: 2026-06-15-preview/PrivateEndpointConnections_ListByResource.json
*/
/**
* Sample code: PrivateEndpointConnections_ListByResource.
@@ -5051,9 +4699,7 @@ import com.azure.resourcemanager.eventgrid.models.PrivateEndpointConnectionsPare
*/
public final class PrivateEndpointConnectionsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PrivateEndpointConnections_Update.json
+ * x-ms-original-file: 2026-06-15-preview/PrivateEndpointConnections_Update.json
*/
/**
* Sample code: PrivateEndpointConnections_Update.
@@ -5081,9 +4727,7 @@ public final class PrivateEndpointConnectionsUpdateSamples {
*/
public final class PrivateLinkResourcesGetSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PrivateLinkResources_Get.json
+ * x-ms-original-file: 2026-06-15-preview/PrivateLinkResources_Get.json
*/
/**
* Sample code: PrivateLinkResources_Get.
@@ -5105,9 +4749,7 @@ public final class PrivateLinkResourcesGetSamples {
*/
public final class PrivateLinkResourcesListByResourceSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * PrivateLinkResources_ListByResource.json
+ * x-ms-original-file: 2026-06-15-preview/PrivateLinkResources_ListByResource.json
*/
/**
* Sample code: PrivateLinkResources_ListByResource.
@@ -5134,9 +4776,7 @@ import com.azure.resourcemanager.eventgrid.models.WebhookEventSubscriptionDestin
*/
public final class SystemTopicEventSubscriptionsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * SystemTopicEventSubscriptions_CreateOrUpdate.json
+ * x-ms-original-file: 2026-06-15-preview/SystemTopicEventSubscriptions_CreateOrUpdate.json
*/
/**
* Sample code: SystemTopicEventSubscriptions_CreateOrUpdate.
@@ -5166,9 +4806,7 @@ public final class SystemTopicEventSubscriptionsCreateOrUpdateSamples {
*/
public final class SystemTopicEventSubscriptionsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * SystemTopicEventSubscriptions_Delete.json
+ * x-ms-original-file: 2026-06-15-preview/SystemTopicEventSubscriptions_Delete.json
*/
/**
* Sample code: SystemTopicEventSubscriptions_Delete.
@@ -5191,9 +4829,7 @@ public final class SystemTopicEventSubscriptionsDeleteSamples {
*/
public final class SystemTopicEventSubscriptionsGetSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * SystemTopicEventSubscriptions_Get.json
+ * x-ms-original-file: 2026-06-15-preview/SystemTopicEventSubscriptions_Get.json
*/
/**
* Sample code: SystemTopicEventSubscriptions_Get.
@@ -5216,9 +4852,7 @@ public final class SystemTopicEventSubscriptionsGetSamples {
*/
public final class SystemTopicEventSubscriptionsGetDeliveryAttributesSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * SystemTopicEventSubscriptions_GetDeliveryAttributes.json
+ * x-ms-original-file: 2026-06-15-preview/SystemTopicEventSubscriptions_GetDeliveryAttributes.json
*/
/**
* Sample code: SystemTopicEventSubscriptions_GetDeliveryAttributes.
@@ -5242,9 +4876,7 @@ public final class SystemTopicEventSubscriptionsGetDeliveryAttributesSamples {
*/
public final class SystemTopicEventSubscriptionsGetFullUrlSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * SystemTopicEventSubscriptions_GetFullUrl.json
+ * x-ms-original-file: 2026-06-15-preview/SystemTopicEventSubscriptions_GetFullUrl.json
*/
/**
* Sample code: SystemTopicEventSubscriptions_GetFullUrl.
@@ -5268,9 +4900,7 @@ public final class SystemTopicEventSubscriptionsGetFullUrlSamples {
*/
public final class SystemTopicEventSubscriptionsListBySystemTopicSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * SystemTopicEventSubscriptions_ListBySystemTopic.json
+ * x-ms-original-file: 2026-06-15-preview/SystemTopicEventSubscriptions_ListBySystemTopic.json
*/
/**
* Sample code: SystemTopicEventSubscriptions_ListBySystemTopic.
@@ -5298,9 +4928,7 @@ import java.util.Arrays;
*/
public final class SystemTopicEventSubscriptionsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * SystemTopicEventSubscriptions_Update.json
+ * x-ms-original-file: 2026-06-15-preview/SystemTopicEventSubscriptions_Update.json
*/
/**
* Sample code: SystemTopicEventSubscriptions_Update.
@@ -5326,6 +4954,17 @@ public final class SystemTopicEventSubscriptionsUpdateSamples {
### SystemTopics_CreateOrUpdate
```java
+import com.azure.resourcemanager.eventgrid.models.ConfidentialCompute;
+import com.azure.resourcemanager.eventgrid.models.ConfidentialComputeMode;
+import com.azure.resourcemanager.eventgrid.models.CustomerManagedKeyEncryption;
+import com.azure.resourcemanager.eventgrid.models.IdentityInfo;
+import com.azure.resourcemanager.eventgrid.models.IdentityType;
+import com.azure.resourcemanager.eventgrid.models.KeyEncryption;
+import com.azure.resourcemanager.eventgrid.models.KeyEncryptionIdentityType;
+import com.azure.resourcemanager.eventgrid.models.KeyEncryptionKeyIdentity;
+import com.azure.resourcemanager.eventgrid.models.PlatformCapabilities;
+import com.azure.resourcemanager.eventgrid.models.UserIdentityProperties;
+import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
@@ -5334,9 +4973,7 @@ import java.util.Map;
*/
public final class SystemTopicsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * SystemTopics_CreateOrUpdate.json
+ * x-ms-original-file: 2026-06-15-preview/SystemTopics_CreateOrUpdate.json
*/
/**
* Sample code: SystemTopics_CreateOrUpdate.
@@ -5346,12 +4983,24 @@ public final class SystemTopicsCreateOrUpdateSamples {
public static void systemTopicsCreateOrUpdate(com.azure.resourcemanager.eventgrid.EventGridManager manager) {
manager.systemTopics()
.define("exampleSystemTopic1")
- .withRegion("westus2")
+ .withRegion("centraluseuap")
.withExistingResourceGroup("examplerg")
.withTags(mapOf("tag1", "value1", "tag2", "value2"))
+ .withIdentity(new IdentityInfo().withType(IdentityType.USER_ASSIGNED)
+ .withUserAssignedIdentities(mapOf(
+ "/subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/azureeventgridrunnerrgcentraluseuap/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-assigned-id",
+ new UserIdentityProperties())))
.withSource(
"/subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/azureeventgridrunnerrgcentraluseuap/providers/microsoft.storage/storageaccounts/pubstgrunnerb71cd29e")
.withTopicType("microsoft.storage.storageaccounts")
+ .withEncryption(new KeyEncryption().withCustomerManagedKeyEncryption(
+ Arrays.asList(new CustomerManagedKeyEncryption().withKeyEncryptionKeyUrl("fakeTokenPlaceholder")
+ .withKeyEncryptionKeyIdentity(new KeyEncryptionKeyIdentity()
+ .withType(KeyEncryptionIdentityType.USER_ASSIGNED)
+ .withUserAssignedIdentityResourceId(
+ "/subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/azureeventgridrunnerrgcentraluseuap/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-assigned-id")))))
+ .withPlatformCapabilities(new PlatformCapabilities()
+ .withConfidentialCompute(new ConfidentialCompute().withMode(ConfidentialComputeMode.ENABLED)))
.create();
}
@@ -5377,9 +5026,7 @@ public final class SystemTopicsCreateOrUpdateSamples {
*/
public final class SystemTopicsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * SystemTopics_Delete.json
+ * x-ms-original-file: 2026-06-15-preview/SystemTopics_Delete.json
*/
/**
* Sample code: SystemTopics_Delete.
@@ -5400,9 +5047,7 @@ public final class SystemTopicsDeleteSamples {
*/
public final class SystemTopicsGetByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/SystemTopics_Get
- * .json
+ * x-ms-original-file: 2026-06-15-preview/SystemTopics_Get.json
*/
/**
* Sample code: SystemTopics_Get.
@@ -5424,9 +5069,7 @@ public final class SystemTopicsGetByResourceGroupSamples {
*/
public final class SystemTopicsListSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * SystemTopics_ListBySubscription.json
+ * x-ms-original-file: 2026-06-15-preview/SystemTopics_ListBySubscription.json
*/
/**
* Sample code: SystemTopics_ListBySubscription.
@@ -5447,9 +5090,7 @@ public final class SystemTopicsListSamples {
*/
public final class SystemTopicsListByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * SystemTopics_ListByResourceGroup.json
+ * x-ms-original-file: 2026-06-15-preview/SystemTopics_ListByResourceGroup.json
*/
/**
* Sample code: SystemTopics_ListByResourceGroup.
@@ -5474,9 +5115,7 @@ import java.util.Map;
*/
public final class SystemTopicsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * SystemTopics_Update.json
+ * x-ms-original-file: 2026-06-15-preview/SystemTopics_Update.json
*/
/**
* Sample code: SystemTopics_Update.
@@ -5516,9 +5155,7 @@ import com.azure.resourcemanager.eventgrid.models.WebhookEventSubscriptionDestin
*/
public final class TopicEventSubscriptionsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * TopicEventSubscriptions_CreateOrUpdate.json
+ * x-ms-original-file: 2026-06-15-preview/TopicEventSubscriptions_CreateOrUpdate.json
*/
/**
* Sample code: TopicEventSubscriptions_CreateOrUpdate.
@@ -5548,9 +5185,7 @@ public final class TopicEventSubscriptionsCreateOrUpdateSamples {
*/
public final class TopicEventSubscriptionsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * TopicEventSubscriptions_Delete.json
+ * x-ms-original-file: 2026-06-15-preview/TopicEventSubscriptions_Delete.json
*/
/**
* Sample code: TopicEventSubscriptions_Delete.
@@ -5572,9 +5207,7 @@ public final class TopicEventSubscriptionsDeleteSamples {
*/
public final class TopicEventSubscriptionsGetSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * TopicEventSubscriptions_Get.json
+ * x-ms-original-file: 2026-06-15-preview/TopicEventSubscriptions_Get.json
*/
/**
* Sample code: TopicEventSubscriptions_Get.
@@ -5596,9 +5229,7 @@ public final class TopicEventSubscriptionsGetSamples {
*/
public final class TopicEventSubscriptionsGetDeliveryAttributesSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * TopicEventSubscriptions_GetDeliveryAttributes.json
+ * x-ms-original-file: 2026-06-15-preview/TopicEventSubscriptions_GetDeliveryAttributes.json
*/
/**
* Sample code: TopicEventSubscriptions_GetDeliveryAttributes.
@@ -5622,9 +5253,7 @@ public final class TopicEventSubscriptionsGetDeliveryAttributesSamples {
*/
public final class TopicEventSubscriptionsGetFullUrlSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * TopicEventSubscriptions_GetFullUrl.json
+ * x-ms-original-file: 2026-06-15-preview/TopicEventSubscriptions_GetFullUrl.json
*/
/**
* Sample code: TopicEventSubscriptions_GetFullUrl.
@@ -5647,9 +5276,7 @@ public final class TopicEventSubscriptionsGetFullUrlSamples {
*/
public final class TopicEventSubscriptionsListSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * TopicEventSubscriptions_List.json
+ * x-ms-original-file: 2026-06-15-preview/TopicEventSubscriptions_List.json
*/
/**
* Sample code: TopicEventSubscriptions_List.
@@ -5676,9 +5303,7 @@ import java.util.Arrays;
*/
public final class TopicEventSubscriptionsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * TopicEventSubscriptions_Update.json
+ * x-ms-original-file: 2026-06-15-preview/TopicEventSubscriptions_Update.json
*/
/**
* Sample code: TopicEventSubscriptions_Update.
@@ -5710,9 +5335,7 @@ import java.util.Arrays;
*/
public final class TopicSpacesCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * TopicSpaces_CreateOrUpdate.json
+ * x-ms-original-file: 2026-06-15-preview/TopicSpaces_CreateOrUpdate.json
*/
/**
* Sample code: TopicSpaces_CreateOrUpdate.
@@ -5737,9 +5360,7 @@ public final class TopicSpacesCreateOrUpdateSamples {
*/
public final class TopicSpacesDeleteSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * TopicSpaces_Delete.json
+ * x-ms-original-file: 2026-06-15-preview/TopicSpaces_Delete.json
*/
/**
* Sample code: TopicSpaces_Delete.
@@ -5761,9 +5382,7 @@ public final class TopicSpacesDeleteSamples {
*/
public final class TopicSpacesGetSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/TopicSpaces_Get.
- * json
+ * x-ms-original-file: 2026-06-15-preview/TopicSpaces_Get.json
*/
/**
* Sample code: TopicSpaces_Get.
@@ -5786,9 +5405,7 @@ public final class TopicSpacesGetSamples {
*/
public final class TopicSpacesListByNamespaceSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * TopicSpaces_ListByNamespace.json
+ * x-ms-original-file: 2026-06-15-preview/TopicSpaces_ListByNamespace.json
*/
/**
* Sample code: TopicSpaces_ListByNamespace.
@@ -5810,9 +5427,7 @@ public final class TopicSpacesListByNamespaceSamples {
*/
public final class TopicTypesGetSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/TopicTypes_Get.
- * json
+ * x-ms-original-file: 2026-06-15-preview/TopicTypes_Get.json
*/
/**
* Sample code: TopicTypes_Get.
@@ -5833,9 +5448,7 @@ public final class TopicTypesGetSamples {
*/
public final class TopicTypesListSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/TopicTypes_List.
- * json
+ * x-ms-original-file: 2026-06-15-preview/TopicTypes_List.json
*/
/**
* Sample code: TopicTypes_List.
@@ -5856,9 +5469,7 @@ public final class TopicTypesListSamples {
*/
public final class TopicTypesListEventTypesSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * TopicTypes_ListEventTypes.json
+ * x-ms-original-file: 2026-06-15-preview/TopicTypes_ListEventTypes.json
*/
/**
* Sample code: TopicTypes_ListEventTypes.
@@ -5874,12 +5485,19 @@ public final class TopicTypesListEventTypesSamples {
### Topics_CreateOrUpdate
```java
+import com.azure.resourcemanager.eventgrid.models.ConfidentialCompute;
+import com.azure.resourcemanager.eventgrid.models.ConfidentialComputeMode;
+import com.azure.resourcemanager.eventgrid.models.CustomerManagedKeyEncryption;
import com.azure.resourcemanager.eventgrid.models.ExtendedLocation;
-import com.azure.resourcemanager.eventgrid.models.InboundIpRule;
+import com.azure.resourcemanager.eventgrid.models.IdentityInfo;
+import com.azure.resourcemanager.eventgrid.models.IdentityType;
import com.azure.resourcemanager.eventgrid.models.InputSchema;
-import com.azure.resourcemanager.eventgrid.models.IpActionType;
-import com.azure.resourcemanager.eventgrid.models.PublicNetworkAccess;
+import com.azure.resourcemanager.eventgrid.models.KeyEncryption;
+import com.azure.resourcemanager.eventgrid.models.KeyEncryptionIdentityType;
+import com.azure.resourcemanager.eventgrid.models.KeyEncryptionKeyIdentity;
+import com.azure.resourcemanager.eventgrid.models.PlatformCapabilities;
import com.azure.resourcemanager.eventgrid.models.ResourceKind;
+import com.azure.resourcemanager.eventgrid.models.UserIdentityProperties;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
@@ -5889,9 +5507,7 @@ import java.util.Map;
*/
public final class TopicsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * Topics_CreateOrUpdate.json
+ * x-ms-original-file: 2026-06-15-preview/Topics_CreateOrUpdate.json
*/
/**
* Sample code: Topics_CreateOrUpdate.
@@ -5904,17 +5520,23 @@ public final class TopicsCreateOrUpdateSamples {
.withRegion("westus2")
.withExistingResourceGroup("examplerg")
.withTags(mapOf("tag1", "value1", "tag2", "value2"))
- .withPublicNetworkAccess(PublicNetworkAccess.ENABLED)
- .withInboundIpRules(
- Arrays.asList(new InboundIpRule().withIpMask("12.18.30.15").withAction(IpActionType.ALLOW),
- new InboundIpRule().withIpMask("12.18.176.1").withAction(IpActionType.ALLOW)))
+ .withIdentity(new IdentityInfo().withType(IdentityType.USER_ASSIGNED)
+ .withUserAssignedIdentities(mapOf(
+ "/subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/azureeventgridrunnerrgcentraluseuap/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-assigned-id",
+ new UserIdentityProperties())))
+ .withEncryption(new KeyEncryption().withCustomerManagedKeyEncryption(
+ Arrays.asList(new CustomerManagedKeyEncryption().withKeyEncryptionKeyUrl("fakeTokenPlaceholder")
+ .withKeyEncryptionKeyIdentity(new KeyEncryptionKeyIdentity()
+ .withType(KeyEncryptionIdentityType.USER_ASSIGNED)
+ .withUserAssignedIdentityResourceId(
+ "/subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/azureeventgridrunnerrgcentraluseuap/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-assigned-id")))))
+ .withPlatformCapabilities(new PlatformCapabilities()
+ .withConfidentialCompute(new ConfidentialCompute().withMode(ConfidentialComputeMode.ENABLED)))
.create();
}
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * Topics_CreateOrUpdateForAzureArc.json
+ * x-ms-original-file: 2026-06-15-preview/Topics_CreateOrUpdateForAzureArc.json
*/
/**
* Sample code: Topics_CreateOrUpdateForAzureArc.
@@ -5957,9 +5579,7 @@ public final class TopicsCreateOrUpdateSamples {
*/
public final class TopicsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/Topics_Delete.
- * json
+ * x-ms-original-file: 2026-06-15-preview/Topics_Delete.json
*/
/**
* Sample code: Topics_Delete.
@@ -5980,8 +5600,7 @@ public final class TopicsDeleteSamples {
*/
public final class TopicsGetByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/Topics_Get.json
+ * x-ms-original-file: 2026-06-15-preview/Topics_Get.json
*/
/**
* Sample code: Topics_Get.
@@ -6002,9 +5621,7 @@ public final class TopicsGetByResourceGroupSamples {
*/
public final class TopicsListSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * Topics_ListBySubscription.json
+ * x-ms-original-file: 2026-06-15-preview/Topics_ListBySubscription.json
*/
/**
* Sample code: Topics_ListBySubscription.
@@ -6025,9 +5642,7 @@ public final class TopicsListSamples {
*/
public final class TopicsListByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * Topics_ListByResourceGroup.json
+ * x-ms-original-file: 2026-06-15-preview/Topics_ListByResourceGroup.json
*/
/**
* Sample code: Topics_ListByResourceGroup.
@@ -6048,9 +5663,7 @@ public final class TopicsListByResourceGroupSamples {
*/
public final class TopicsListEventTypesSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * Topics_ListEventTypes.json
+ * x-ms-original-file: 2026-06-15-preview/Topics_ListEventTypes.json
*/
/**
* Sample code: Topics_ListEventTypes.
@@ -6073,9 +5686,7 @@ public final class TopicsListEventTypesSamples {
*/
public final class TopicsListSharedAccessKeysSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * Topics_ListSharedAccessKeys.json
+ * x-ms-original-file: 2026-06-15-preview/Topics_ListSharedAccessKeys.json
*/
/**
* Sample code: Topics_ListSharedAccessKeys.
@@ -6099,9 +5710,7 @@ import com.azure.resourcemanager.eventgrid.models.TopicRegenerateKeyRequest;
*/
public final class TopicsRegenerateKeySamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * Topics_RegenerateKey.json
+ * x-ms-original-file: 2026-06-15-preview/Topics_RegenerateKey.json
*/
/**
* Sample code: Topics_RegenerateKey.
@@ -6132,9 +5741,7 @@ import java.util.Map;
*/
public final class TopicsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/Topics_Update.
- * json
+ * x-ms-original-file: 2026-06-15-preview/Topics_Update.json
*/
/**
* Sample code: Topics_Update.
@@ -6176,9 +5783,7 @@ public final class TopicsUpdateSamples {
*/
public final class VerifiedPartnersGetSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * VerifiedPartners_Get.json
+ * x-ms-original-file: 2026-06-15-preview/VerifiedPartners_Get.json
*/
/**
* Sample code: VerifiedPartners_Get.
@@ -6199,9 +5804,7 @@ public final class VerifiedPartnersGetSamples {
*/
public final class VerifiedPartnersListSamples {
/*
- * x-ms-original-file:
- * specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2025-04-01-preview/examples/
- * VerifiedPartners_List.json
+ * x-ms-original-file: 2026-06-15-preview/VerifiedPartners_List.json
*/
/**
* Sample code: VerifiedPartners_List.
diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/pom.xml b/sdk/eventgrid/azure-resourcemanager-eventgrid/pom.xml
index 9d2f3b59e86d7..dd0d90b11093b 100644
--- a/sdk/eventgrid/azure-resourcemanager-eventgrid/pom.xml
+++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/pom.xml
@@ -1,9 +1,9 @@
-
+
4.0.0
com.azure
@@ -18,7 +18,7 @@
jar
Microsoft Azure SDK for EventGrid Management
- 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-04-preview.
+ 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 api-version 2026-06-15-preview.
https://github.com/Azure/azure-sdk-for-java
diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/EventGridManager.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/EventGridManager.java
index 3313a96c14cff..f1ca4edb11f16 100644
--- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/EventGridManager.java
+++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/EventGridManager.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.eventgrid;
@@ -101,10 +101,16 @@
* Azure EventGrid Management Client.
*/
public final class EventGridManager {
+ private Operations operations;
+
private CaCertificates caCertificates;
+ private Namespaces namespaces;
+
private Channels channels;
+ private PartnerNamespaces partnerNamespaces;
+
private ClientGroups clientGroups;
private Clients clients;
@@ -113,32 +119,22 @@ public final class EventGridManager {
private DomainTopics domainTopics;
- private DomainTopicEventSubscriptions domainTopicEventSubscriptions;
+ private EventSubscriptions eventSubscriptions;
private TopicEventSubscriptions topicEventSubscriptions;
private DomainEventSubscriptions domainEventSubscriptions;
- private EventSubscriptions eventSubscriptions;
-
private SystemTopicEventSubscriptions systemTopicEventSubscriptions;
- private NamespaceTopicEventSubscriptions namespaceTopicEventSubscriptions;
-
private PartnerTopicEventSubscriptions partnerTopicEventSubscriptions;
- private Namespaces namespaces;
-
private NamespaceTopics namespaceTopics;
- private Operations operations;
-
private PartnerConfigurations partnerConfigurations;
private PartnerDestinations partnerDestinations;
- private PartnerNamespaces partnerNamespaces;
-
private PartnerRegistrations partnerRegistrations;
private PartnerTopics partnerTopics;
@@ -159,10 +155,14 @@ public final class EventGridManager {
private TopicSpaces topicSpaces;
- private TopicTypes topicTypes;
-
private VerifiedPartners verifiedPartners;
+ private DomainTopicEventSubscriptions domainTopicEventSubscriptions;
+
+ private NamespaceTopicEventSubscriptions namespaceTopicEventSubscriptions;
+
+ private TopicTypes topicTypes;
+
private final EventGridManagementClient clientObject;
private EventGridManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
@@ -378,6 +378,18 @@ public EventGridManager authenticate(TokenCredential credential, AzureProfile pr
}
}
+ /**
+ * Gets the resource collection API of Operations.
+ *
+ * @return Resource collection API of Operations.
+ */
+ public Operations operations() {
+ if (this.operations == null) {
+ this.operations = new OperationsImpl(clientObject.getOperations(), this);
+ }
+ return operations;
+ }
+
/**
* Gets the resource collection API of CaCertificates. It manages CaCertificate.
*
@@ -390,6 +402,18 @@ public CaCertificates caCertificates() {
return caCertificates;
}
+ /**
+ * Gets the resource collection API of Namespaces. It manages Namespace.
+ *
+ * @return Resource collection API of Namespaces.
+ */
+ public Namespaces namespaces() {
+ if (this.namespaces == null) {
+ this.namespaces = new NamespacesImpl(clientObject.getNamespaces(), this);
+ }
+ return namespaces;
+ }
+
/**
* Gets the resource collection API of Channels. It manages Channel.
*
@@ -402,6 +426,18 @@ public Channels channels() {
return channels;
}
+ /**
+ * Gets the resource collection API of PartnerNamespaces. It manages PartnerNamespace.
+ *
+ * @return Resource collection API of PartnerNamespaces.
+ */
+ public PartnerNamespaces partnerNamespaces() {
+ if (this.partnerNamespaces == null) {
+ this.partnerNamespaces = new PartnerNamespacesImpl(clientObject.getPartnerNamespaces(), this);
+ }
+ return partnerNamespaces;
+ }
+
/**
* Gets the resource collection API of ClientGroups. It manages ClientGroup.
*
@@ -451,16 +487,15 @@ public DomainTopics domainTopics() {
}
/**
- * Gets the resource collection API of DomainTopicEventSubscriptions.
+ * Gets the resource collection API of EventSubscriptions. It manages EventSubscription.
*
- * @return Resource collection API of DomainTopicEventSubscriptions.
+ * @return Resource collection API of EventSubscriptions.
*/
- public DomainTopicEventSubscriptions domainTopicEventSubscriptions() {
- if (this.domainTopicEventSubscriptions == null) {
- this.domainTopicEventSubscriptions
- = new DomainTopicEventSubscriptionsImpl(clientObject.getDomainTopicEventSubscriptions(), this);
+ public EventSubscriptions eventSubscriptions() {
+ if (this.eventSubscriptions == null) {
+ this.eventSubscriptions = new EventSubscriptionsImpl(clientObject.getEventSubscriptions(), this);
}
- return domainTopicEventSubscriptions;
+ return eventSubscriptions;
}
/**
@@ -489,18 +524,6 @@ public DomainEventSubscriptions domainEventSubscriptions() {
return domainEventSubscriptions;
}
- /**
- * Gets the resource collection API of EventSubscriptions. It manages EventSubscription.
- *
- * @return Resource collection API of EventSubscriptions.
- */
- public EventSubscriptions eventSubscriptions() {
- if (this.eventSubscriptions == null) {
- this.eventSubscriptions = new EventSubscriptionsImpl(clientObject.getEventSubscriptions(), this);
- }
- return eventSubscriptions;
- }
-
/**
* Gets the resource collection API of SystemTopicEventSubscriptions.
*
@@ -514,19 +537,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.
*
@@ -540,18 +550,6 @@ public PartnerTopicEventSubscriptions partnerTopicEventSubscriptions() {
return partnerTopicEventSubscriptions;
}
- /**
- * Gets the resource collection API of Namespaces. It manages Namespace.
- *
- * @return Resource collection API of Namespaces.
- */
- public Namespaces namespaces() {
- if (this.namespaces == null) {
- this.namespaces = new NamespacesImpl(clientObject.getNamespaces(), this);
- }
- return namespaces;
- }
-
/**
* Gets the resource collection API of NamespaceTopics. It manages NamespaceTopic.
*
@@ -564,18 +562,6 @@ public NamespaceTopics namespaceTopics() {
return namespaceTopics;
}
- /**
- * Gets the resource collection API of Operations.
- *
- * @return Resource collection API of Operations.
- */
- public Operations operations() {
- if (this.operations == null) {
- this.operations = new OperationsImpl(clientObject.getOperations(), this);
- }
- return operations;
- }
-
/**
* Gets the resource collection API of PartnerConfigurations.
*
@@ -600,18 +586,6 @@ public PartnerDestinations partnerDestinations() {
return partnerDestinations;
}
- /**
- * Gets the resource collection API of PartnerNamespaces. It manages PartnerNamespace.
- *
- * @return Resource collection API of PartnerNamespaces.
- */
- public PartnerNamespaces partnerNamespaces() {
- if (this.partnerNamespaces == null) {
- this.partnerNamespaces = new PartnerNamespacesImpl(clientObject.getPartnerNamespaces(), this);
- }
- return partnerNamespaces;
- }
-
/**
* Gets the resource collection API of PartnerRegistrations. It manages PartnerRegistration.
*
@@ -734,18 +708,6 @@ public TopicSpaces topicSpaces() {
return topicSpaces;
}
- /**
- * Gets the resource collection API of TopicTypes.
- *
- * @return Resource collection API of TopicTypes.
- */
- public TopicTypes topicTypes() {
- if (this.topicTypes == null) {
- this.topicTypes = new TopicTypesImpl(clientObject.getTopicTypes(), this);
- }
- return topicTypes;
- }
-
/**
* Gets the resource collection API of VerifiedPartners.
*
@@ -758,6 +720,44 @@ public VerifiedPartners verifiedPartners() {
return verifiedPartners;
}
+ /**
+ * 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 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 TopicTypes.
+ *
+ * @return Resource collection API of TopicTypes.
+ */
+ public TopicTypes topicTypes() {
+ if (this.topicTypes == null) {
+ this.topicTypes = new TopicTypesImpl(clientObject.getTopicTypes(), this);
+ }
+ return topicTypes;
+ }
+
/**
* Gets wrapped service client EventGridManagementClient providing direct access to the underlying auto-generated
* API implementation, based on Azure REST API.
diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/CaCertificatesClient.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/CaCertificatesClient.java
index 3422fbc6a0c2b..4756973e376a2 100644
--- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/CaCertificatesClient.java
+++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/CaCertificatesClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.eventgrid.fluent;
@@ -22,14 +22,16 @@ public interface CaCertificatesClient {
*
* Get properties of a CA certificate.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @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}.
+ * @return a CA certificate.
+ *
+ * Get properties of a CA certificate along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getWithResponse(String resourceGroupName, String namespaceName,
@@ -40,13 +42,15 @@ Response getWithResponse(String resourceGroupName, String na
*
* Get properties of a CA certificate.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @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.
+ * @return a CA certificate.
+ *
+ * Get properties of a CA certificate.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
CaCertificateInner get(String resourceGroupName, String namespaceName, String caCertificateName);
@@ -56,9 +60,9 @@ Response getWithResponse(String resourceGroupName, String na
*
* Create or update a CA certificate with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
- * @param caCertificateName The CA certificate name.
+ * @param caCertificateName Name of the CA certificate.
* @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.
@@ -74,9 +78,9 @@ SyncPoller, CaCertificateInner> beginCreateOrUpda
*
* Create or update a CA certificate with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
- * @param caCertificateName The CA certificate name.
+ * @param caCertificateName Name of the CA certificate.
* @param caCertificateInfo CA certificate information.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -93,9 +97,9 @@ SyncPoller, CaCertificateInner> beginCreateOrUpda
*
* Create or update a CA certificate with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
- * @param caCertificateName The CA certificate name.
+ * @param caCertificateName Name of the CA certificate.
* @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.
@@ -111,9 +115,9 @@ CaCertificateInner createOrUpdate(String resourceGroupName, String namespaceName
*
* Create or update a CA certificate with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
- * @param caCertificateName The CA certificate name.
+ * @param caCertificateName Name of the CA certificate.
* @param caCertificateInfo CA certificate information.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -130,7 +134,7 @@ CaCertificateInner createOrUpdate(String resourceGroupName, String namespaceName
*
* Delete an existing CA certificate.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param caCertificateName Name of the CA certificate.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -147,7 +151,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
*
* Delete an existing CA certificate.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param caCertificateName Name of the CA certificate.
* @param context The context to associate with this operation.
@@ -165,7 +169,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
*
* Delete an existing CA certificate.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param caCertificateName Name of the CA certificate.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -180,7 +184,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
*
* Delete an existing CA certificate.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param caCertificateName Name of the CA certificate.
* @param context The context to associate with this operation.
@@ -196,12 +200,12 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
*
* Get all the CA certificates under a namespace.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @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}.
+ * @return result of the List CA Certificate operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByNamespace(String resourceGroupName, String namespaceName);
@@ -211,7 +215,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
*
* Get all the CA certificates under a namespace.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @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
@@ -224,7 +228,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
* @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}.
+ * @return result of the List CA Certificate operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByNamespace(String resourceGroupName, String namespaceName, String filter,
diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/ChannelsClient.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/ChannelsClient.java
index b4588dd0ed432..d19a74af05435 100644
--- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/ChannelsClient.java
+++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/ChannelsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.eventgrid.fluent;
@@ -24,14 +24,16 @@ public interface ChannelsClient {
*
* Get properties of a channel.
*
- * @param resourceGroupName The name of the resource group within the partners subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @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 properties of a channel along with {@link Response}.
+ * @return a channel.
+ *
+ * Get properties of a channel along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getWithResponse(String resourceGroupName, String partnerNamespaceName, String channelName,
@@ -42,13 +44,15 @@ Response getWithResponse(String resourceGroupName, String partnerN
*
* Get properties of a channel.
*
- * @param resourceGroupName The name of the resource group within the partners subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param partnerNamespaceName Name of the partner namespace.
* @param channelName Name of the channel.
* @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 channel.
+ * @return a channel.
+ *
+ * Get properties of a channel.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
ChannelInner get(String resourceGroupName, String partnerNamespaceName, String channelName);
@@ -58,7 +62,7 @@ Response getWithResponse(String resourceGroupName, String partnerN
*
* Synchronously creates or updates a new channel with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the partners subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param partnerNamespaceName Name of the partner namespace.
* @param channelName Name of the channel.
* @param channelInfo Channel information.
@@ -77,7 +81,7 @@ Response createOrUpdateWithResponse(String resourceGroupName, Stri
*
* Synchronously creates or updates a new channel with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the partners subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param partnerNamespaceName Name of the partner namespace.
* @param channelName Name of the channel.
* @param channelInfo Channel information.
@@ -91,113 +95,113 @@ ChannelInner createOrUpdate(String resourceGroupName, String partnerNamespaceNam
ChannelInner channelInfo);
/**
- * Delete a channel.
+ * Update a Channel.
*
- * Delete an existing channel.
+ * Synchronously updates a channel with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the partners subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @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 SyncPoller} for polling of long-running operation.
+ * @return the {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String partnerNamespaceName,
- String channelName);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response updateWithResponse(String resourceGroupName, String partnerNamespaceName, String channelName,
+ ChannelUpdateParameters channelUpdateParameters, Context context);
/**
- * Delete a channel.
+ * Update a Channel.
*
- * Delete an existing channel.
+ * Synchronously updates a channel with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the partners subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param partnerNamespaceName Name of the partner namespace.
* @param channelName Name of the channel.
- * @param context The context to associate with this operation.
+ * @param channelUpdateParameters Channel update 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 long-running operation.
*/
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String partnerNamespaceName,
- String channelName, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void update(String resourceGroupName, String partnerNamespaceName, String channelName,
+ ChannelUpdateParameters channelUpdateParameters);
/**
* Delete a channel.
*
* Delete an existing channel.
*
- * @param resourceGroupName The name of the resource group within the partners subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param partnerNamespaceName Name of the partner namespace.
* @param channelName Name of the channel.
* @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.SINGLE)
- void delete(String resourceGroupName, String partnerNamespaceName, String channelName);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String partnerNamespaceName,
+ String channelName);
/**
* Delete a channel.
*
* Delete an existing channel.
*
- * @param resourceGroupName The name of the resource group within the partners subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @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 {@link SyncPoller} for polling of long-running operation.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String partnerNamespaceName, String channelName, Context context);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String partnerNamespaceName,
+ String channelName, Context context);
/**
- * Update a Channel.
+ * Delete a channel.
*
- * Synchronously updates a channel with the specified parameters.
+ * Delete an existing channel.
*
- * @param resourceGroupName The name of the resource group within the partners subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @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 updateWithResponse(String resourceGroupName, String partnerNamespaceName, String channelName,
- ChannelUpdateParameters channelUpdateParameters, Context context);
+ void delete(String resourceGroupName, String partnerNamespaceName, String channelName);
/**
- * Update a Channel.
+ * Delete a channel.
*
- * Synchronously updates a channel with the specified parameters.
+ * Delete an existing channel.
*
- * @param resourceGroupName The name of the resource group within the partners subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @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.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void update(String resourceGroupName, String partnerNamespaceName, String channelName,
- ChannelUpdateParameters channelUpdateParameters);
+ void delete(String resourceGroupName, String partnerNamespaceName, String channelName, Context context);
/**
* List channels.
*
* List all the channels in a partner namespace.
*
- * @param resourceGroupName The name of the resource group within the partners subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param partnerNamespaceName Name of the partner namespace.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -212,7 +216,7 @@ void update(String resourceGroupName, String partnerNamespaceName, String channe
*
* List all the channels in a partner namespace.
*
- * @param resourceGroupName The name of the resource group within the partners subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param partnerNamespaceName Name of the partner 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
@@ -236,14 +240,16 @@ PagedIterable listByPartnerNamespace(String resourceGroupName, Str
*
* Get the full endpoint URL of a partner destination channel.
*
- * @param resourceGroupName The name of the resource group within the partners subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param partnerNamespaceName Name of the partner namespace.
- * @param channelName Name of the Channel.
+ * @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 full URL of partner destination channel.
+ *
+ * Get the full endpoint URL of a partner destination channel along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getFullUrlWithResponse(String resourceGroupName,
@@ -254,13 +260,15 @@ Response getFullUrlWithResponse(String resourceGr
*
* Get the full endpoint URL of a partner destination channel.
*
- * @param resourceGroupName The name of the resource group within the partners subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param partnerNamespaceName Name of the partner namespace.
- * @param channelName Name of the Channel.
+ * @param channelName Name of the channel.
* @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 full URL of partner destination channel.
+ *
+ * Get the full endpoint URL of a partner destination channel.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
EventSubscriptionFullUrlInner getFullUrl(String resourceGroupName, String partnerNamespaceName, String channelName);
diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/ClientGroupsClient.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/ClientGroupsClient.java
index 0020115f109eb..4525e395a3bc5 100644
--- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/ClientGroupsClient.java
+++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/ClientGroupsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.eventgrid.fluent;
@@ -22,14 +22,16 @@ public interface ClientGroupsClient {
*
* Get properties of a client group.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @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}.
+ * @return a client group.
+ *
+ * Get properties of a client group along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getWithResponse(String resourceGroupName, String namespaceName, String clientGroupName,
@@ -40,13 +42,15 @@ Response getWithResponse(String resourceGroupName, String name
*
* Get properties of a client group.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @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.
+ * @return a client group.
+ *
+ * Get properties of a client group.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
ClientGroupInner get(String resourceGroupName, String namespaceName, String clientGroupName);
@@ -56,9 +60,9 @@ Response getWithResponse(String resourceGroupName, String name
*
* Create or update a client group with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
- * @param clientGroupName The client group name.
+ * @param clientGroupName Name of the client group.
* @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.
@@ -74,9 +78,9 @@ SyncPoller, ClientGroupInner> beginCreateOrUpdate(S
*
* Create or update a client group with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
- * @param clientGroupName The client group name.
+ * @param clientGroupName Name of the client group.
* @param clientGroupInfo Client group information.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -93,9 +97,9 @@ SyncPoller, ClientGroupInner> beginCreateOrUpdate(S
*
* Create or update a client group with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
- * @param clientGroupName The client group name.
+ * @param clientGroupName Name of the client group.
* @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.
@@ -111,9 +115,9 @@ ClientGroupInner createOrUpdate(String resourceGroupName, String namespaceName,
*
* Create or update a client group with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
- * @param clientGroupName The client group name.
+ * @param clientGroupName Name of the client group.
* @param clientGroupInfo Client group information.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -130,7 +134,7 @@ ClientGroupInner createOrUpdate(String resourceGroupName, String namespaceName,
*
* Delete an existing client group.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param clientGroupName Name of the client group.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -147,7 +151,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
*
* Delete an existing client group.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param clientGroupName Name of the client group.
* @param context The context to associate with this operation.
@@ -165,7 +169,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
*
* Delete an existing client group.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param clientGroupName Name of the client group.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -180,7 +184,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
*
* Delete an existing client group.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param clientGroupName Name of the client group.
* @param context The context to associate with this operation.
@@ -196,12 +200,12 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
*
* Get all the client groups under a namespace.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @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}.
+ * @return result of the List Client Group operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByNamespace(String resourceGroupName, String namespaceName);
@@ -211,7 +215,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
*
* Get all the client groups under a namespace.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @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
@@ -224,7 +228,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
* @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}.
+ * @return result of the List Client Group operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByNamespace(String resourceGroupName, String namespaceName, String filter,
diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/ClientsClient.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/ClientsClient.java
index 3b23a0b766282..59fe239453e72 100644
--- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/ClientsClient.java
+++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/ClientsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.eventgrid.fluent;
@@ -22,14 +22,16 @@ public interface ClientsClient {
*
* Get properties of a client.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @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}.
+ * @return a client.
+ *
+ * Get properties of a client along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getWithResponse(String resourceGroupName, String namespaceName, String clientName,
@@ -40,13 +42,15 @@ Response getWithResponse(String resourceGroupName, String namespace
*
* Get properties of a client.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @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.
+ * @return a client.
+ *
+ * Get properties of a client.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
ClientInner get(String resourceGroupName, String namespaceName, String clientName);
@@ -56,9 +60,9 @@ Response getWithResponse(String resourceGroupName, String namespace
*
* Create or update a client with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
- * @param clientName The client name.
+ * @param clientName Name of the client.
* @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.
@@ -74,9 +78,9 @@ SyncPoller, ClientInner> beginCreateOrUpdate(String reso
*
* Create or update a client with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
- * @param clientName The client name.
+ * @param clientName Name of the client.
* @param clientInfo Client information.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -93,9 +97,9 @@ SyncPoller, ClientInner> beginCreateOrUpdate(String reso
*
* Create or update a client with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
- * @param clientName The client name.
+ * @param clientName Name of the client.
* @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.
@@ -111,9 +115,9 @@ ClientInner createOrUpdate(String resourceGroupName, String namespaceName, Strin
*
* Create or update a client with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
- * @param clientName The client name.
+ * @param clientName Name of the client.
* @param clientInfo Client information.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -130,7 +134,7 @@ ClientInner createOrUpdate(String resourceGroupName, String namespaceName, Strin
*
* Delete an existing client.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param clientName Name of the client.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -146,7 +150,7 @@ ClientInner createOrUpdate(String resourceGroupName, String namespaceName, Strin
*
* Delete an existing client.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param clientName Name of the client.
* @param context The context to associate with this operation.
@@ -164,7 +168,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
*
* Delete an existing client.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param clientName Name of the client.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -179,7 +183,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
*
* Delete an existing client.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param clientName Name of the client.
* @param context The context to associate with this operation.
@@ -195,12 +199,12 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
*
* Get all the permission bindings under a namespace.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @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}.
+ * @return result of the List Client operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByNamespace(String resourceGroupName, String namespaceName);
@@ -210,7 +214,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
*
* Get all the permission bindings under a namespace.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @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
@@ -223,7 +227,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
* @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}.
+ * @return result of the List Client operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByNamespace(String resourceGroupName, String namespaceName, String filter,
diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/DomainEventSubscriptionsClient.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/DomainEventSubscriptionsClient.java
index 5acf6db8cfc7f..262669386374f 100644
--- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/DomainEventSubscriptionsClient.java
+++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/DomainEventSubscriptionsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.eventgrid.fluent;
@@ -20,54 +20,21 @@
* An instance of this class provides access to all the operations defined in DomainEventSubscriptionsClient.
*/
public interface DomainEventSubscriptionsClient {
- /**
- * Get delivery attributes for an event subscription for domain.
- *
- * 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.
- * @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}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getDeliveryAttributesWithResponse(String resourceGroupName,
- String domainName, String eventSubscriptionName, Context context);
-
- /**
- * Get delivery attributes for an event subscription for domain.
- *
- * 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.
- * @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.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- DeliveryAttributeListResultInner getDeliveryAttributes(String resourceGroupName, String domainName,
- String eventSubscriptionName);
-
/**
* Get an event subscription of a domain.
*
* Get properties of an event subscription of a domain.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the domain.
* @param eventSubscriptionName Name of the event subscription to be found.
* @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 an event subscription of a domain.
+ *
+ * Get properties of an event subscription of a domain along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getWithResponse(String resourceGroupName, String domainName,
@@ -78,13 +45,15 @@ Response getWithResponse(String resourceGroupName, Strin
*
* Get properties of an event subscription of a domain.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the domain.
* @param eventSubscriptionName Name of the event subscription to be found.
* @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 an event subscription of a domain.
+ *
+ * Get properties of an event subscription of a domain.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
EventSubscriptionInner get(String resourceGroupName, String domainName, String eventSubscriptionName);
@@ -94,10 +63,9 @@ Response getWithResponse(String resourceGroupName, Strin
*
* 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.
- * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names must be
- * between 3 and 64 characters in length and use alphanumeric letters only.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param domainName Name of the domain.
+ * @param eventSubscriptionName Name of the event subscription to be found.
* @param eventSubscriptionInfo Event subscription properties containing the destination and filter information.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -113,10 +81,9 @@ SyncPoller, EventSubscriptionInner> beginCrea
*
* 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.
- * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names must be
- * between 3 and 64 characters in length and use alphanumeric letters only.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param domainName Name of the domain.
+ * @param eventSubscriptionName Name of the event subscription to be found.
* @param eventSubscriptionInfo Event subscription properties containing the destination and filter information.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -133,10 +100,9 @@ SyncPoller, EventSubscriptionInner> beginCrea
*
* 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.
- * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names must be
- * between 3 and 64 characters in length and use alphanumeric letters only.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param domainName Name of the domain.
+ * @param eventSubscriptionName Name of the event subscription to be found.
* @param eventSubscriptionInfo Event subscription properties containing the destination and filter information.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -152,10 +118,9 @@ EventSubscriptionInner createOrUpdate(String resourceGroupName, String domainNam
*
* 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.
- * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names must be
- * between 3 and 64 characters in length and use alphanumeric letters only.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param domainName Name of the domain.
+ * @param eventSubscriptionName Name of the event subscription to be found.
* @param eventSubscriptionInfo Event subscription properties containing the destination and filter information.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -167,80 +132,14 @@ EventSubscriptionInner createOrUpdate(String resourceGroupName, String domainNam
EventSubscriptionInner createOrUpdate(String resourceGroupName, String domainName, String eventSubscriptionName,
EventSubscriptionInner eventSubscriptionInfo, Context context);
- /**
- * 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.
- * @param eventSubscriptionName Name of the event subscription to be deleted.
- * @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, Void> beginDelete(String resourceGroupName, String domainName,
- String eventSubscriptionName);
-
- /**
- * 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.
- * @param eventSubscriptionName Name of the event subscription to be deleted.
- * @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, Void> beginDelete(String resourceGroupName, String domainName,
- String eventSubscriptionName, Context context);
-
- /**
- * 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.
- * @param eventSubscriptionName Name of the event subscription to be deleted.
- * @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 domainName, String eventSubscriptionName);
-
- /**
- * 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.
- * @param eventSubscriptionName Name of the event subscription to be deleted.
- * @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 domainName, String eventSubscriptionName, Context context);
-
/**
* 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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the domain.
- * @param eventSubscriptionName Name of the event subscription to be updated.
+ * @param eventSubscriptionName Name of the event subscription to be found.
* @param eventSubscriptionUpdateParameters Updated event subscription information.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -257,9 +156,9 @@ SyncPoller, EventSubscriptionInner> beginUpda
*
* Update an existing event subscription for a topic.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the domain.
- * @param eventSubscriptionName Name of the event subscription to be updated.
+ * @param eventSubscriptionName Name of the event subscription to be found.
* @param eventSubscriptionUpdateParameters Updated event subscription information.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -277,9 +176,9 @@ SyncPoller, EventSubscriptionInner> beginUpda
*
* Update an existing event subscription for a topic.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the domain.
- * @param eventSubscriptionName Name of the event subscription to be updated.
+ * @param eventSubscriptionName Name of the event subscription to be found.
* @param eventSubscriptionUpdateParameters Updated event subscription information.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -295,9 +194,9 @@ EventSubscriptionInner update(String resourceGroupName, String domainName, Strin
*
* Update an existing event subscription for a topic.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the domain.
- * @param eventSubscriptionName Name of the event subscription to be updated.
+ * @param eventSubscriptionName Name of the event subscription to be found.
* @param eventSubscriptionUpdateParameters Updated event subscription information.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -310,45 +209,77 @@ EventSubscriptionInner update(String resourceGroupName, String domainName, Strin
EventSubscriptionUpdateParameters eventSubscriptionUpdateParameters, Context context);
/**
- * Get full URL of an event subscription for domain.
+ * Delete an event subscription for a domain.
*
- * Get the full endpoint URL for an event subscription for 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 topic.
- * @param eventSubscriptionName Name of the event subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param domainName Name of the domain.
+ * @param eventSubscriptionName Name of the event subscription to be found.
+ * @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, Void> beginDelete(String resourceGroupName, String domainName,
+ String eventSubscriptionName);
+
+ /**
+ * Delete an event subscription for a domain.
+ *
+ * Delete an existing event subscription for a domain.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param domainName Name of the domain.
+ * @param eventSubscriptionName Name of the event subscription to be found.
* @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 {@link SyncPoller} for polling of long-running operation.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getFullUrlWithResponse(String resourceGroupName, String domainName,
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String domainName,
String eventSubscriptionName, Context context);
/**
- * Get full URL of an event subscription for domain.
+ * Delete an event subscription for a domain.
*
- * Get the full endpoint URL for an event subscription for 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 topic.
- * @param eventSubscriptionName Name of the event subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param domainName Name of the domain.
+ * @param eventSubscriptionName Name of the event subscription to be found.
* @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.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- EventSubscriptionFullUrlInner getFullUrl(String resourceGroupName, String domainName, String eventSubscriptionName);
+ void delete(String resourceGroupName, String domainName, String eventSubscriptionName);
+
+ /**
+ * Delete an event subscription for a domain.
+ *
+ * Delete an existing event subscription for a domain.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param domainName Name of the domain.
+ * @param eventSubscriptionName Name of the event subscription to be found.
+ * @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 domainName, String eventSubscriptionName, Context context);
/**
* List all event subscriptions for a specific domain.
*
* 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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the domain.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -363,7 +294,7 @@ Response getFullUrlWithResponse(String resourceGr
*
* 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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the domain.
* @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
@@ -381,4 +312,81 @@ Response getFullUrlWithResponse(String resourceGr
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String resourceGroupName, String domainName, String filter, Integer top,
Context context);
+
+ /**
+ * Get delivery attributes for an event subscription for domain.
+ *
+ * Get all delivery attributes for an event subscription for domain.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param domainName Name of the domain.
+ * @param eventSubscriptionName Name of the event subscription to be found.
+ * @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 delivery attributes for an event subscription for domain.
+ *
+ * Get all delivery attributes for an event subscription for domain along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getDeliveryAttributesWithResponse(String resourceGroupName,
+ String domainName, String eventSubscriptionName, Context context);
+
+ /**
+ * Get delivery attributes for an event subscription for domain.
+ *
+ * Get all delivery attributes for an event subscription for domain.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param domainName Name of the domain.
+ * @param eventSubscriptionName Name of the event subscription to be found.
+ * @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 delivery attributes for an event subscription for domain.
+ *
+ * Get all delivery attributes for an event subscription for domain.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DeliveryAttributeListResultInner getDeliveryAttributes(String resourceGroupName, String domainName,
+ String eventSubscriptionName);
+
+ /**
+ * 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. The name is case insensitive.
+ * @param domainName Name of the domain.
+ * @param eventSubscriptionName Name of the event subscription to be found.
+ * @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 full URL of an event subscription for domain.
+ *
+ * Get the full endpoint URL for an event subscription for domain along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getFullUrlWithResponse(String resourceGroupName, String domainName,
+ String eventSubscriptionName, Context context);
+
+ /**
+ * 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. The name is case insensitive.
+ * @param domainName Name of the domain.
+ * @param eventSubscriptionName Name of the event subscription to be found.
+ * @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 full URL of an event subscription for domain.
+ *
+ * Get the full endpoint URL for an event subscription for domain.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ EventSubscriptionFullUrlInner getFullUrl(String resourceGroupName, String domainName, String eventSubscriptionName);
}
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 30d395925e878..33ae86ebaeb2c 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
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.eventgrid.fluent;
@@ -20,49 +20,12 @@
* 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 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.
*
* 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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the top level domain.
* @param topicName Name of the domain topic.
* @param eventSubscriptionName Name of the event subscription to be found.
@@ -70,7 +33,9 @@ DeliveryAttributeListResultInner getDeliveryAttributes(String resourceGroupName,
* @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 along with {@link Response}.
+ * @return a nested event subscription for domain topic.
+ *
+ * Get properties of a nested event subscription for a domain topic along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getWithResponse(String resourceGroupName, String domainName, String topicName,
@@ -81,14 +46,16 @@ Response getWithResponse(String resourceGroupName, Strin
*
* 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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the top level domain.
* @param topicName Name of the domain topic.
* @param eventSubscriptionName Name of the event subscription to be found.
* @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 a nested event subscription for domain topic.
+ *
+ * Get properties of a nested event subscription for a domain topic.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
EventSubscriptionInner get(String resourceGroupName, String domainName, String topicName,
@@ -99,11 +66,10 @@ EventSubscriptionInner get(String resourceGroupName, String domainName, String t
*
* 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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the top level domain.
* @param topicName Name of the domain topic.
- * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names must be
- * between 3 and 64 characters in length and use alphanumeric letters only.
+ * @param eventSubscriptionName Name of the event subscription to be found.
* @param eventSubscriptionInfo Event subscription properties containing the destination and filter information.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -120,11 +86,10 @@ SyncPoller, EventSubscriptionInner> beginCrea
*
* 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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the top level domain.
* @param topicName Name of the domain topic.
- * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names must be
- * between 3 and 64 characters in length and use alphanumeric letters only.
+ * @param eventSubscriptionName Name of the event subscription to be found.
* @param eventSubscriptionInfo Event subscription properties containing the destination and filter information.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -142,11 +107,10 @@ SyncPoller, EventSubscriptionInner> beginCrea
*
* 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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the top level domain.
* @param topicName Name of the domain topic.
- * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names must be
- * between 3 and 64 characters in length and use alphanumeric letters only.
+ * @param eventSubscriptionName Name of the event subscription to be found.
* @param eventSubscriptionInfo Event subscription properties containing the destination and filter information.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -162,11 +126,10 @@ EventSubscriptionInner createOrUpdate(String resourceGroupName, String domainNam
*
* 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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the top level domain.
* @param topicName Name of the domain topic.
- * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names must be
- * between 3 and 64 characters in length and use alphanumeric letters only.
+ * @param eventSubscriptionName Name of the event subscription to be found.
* @param eventSubscriptionInfo Event subscription properties containing the destination and filter information.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -179,232 +142,277 @@ EventSubscriptionInner createOrUpdate(String resourceGroupName, String domainNam
String eventSubscriptionName, EventSubscriptionInner eventSubscriptionInfo, Context context);
/**
- * Delete a nested event subscription for a domain topic.
+ * Update a nested event subscription for a domain topic.
*
- * Delete a nested existing 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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the top level domain.
* @param topicName Name of the domain topic.
- * @param eventSubscriptionName Name of the event subscription to be deleted.
+ * @param eventSubscriptionName Name of the event subscription to be found.
+ * @param eventSubscriptionUpdateParameters Updated event subscription 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 long-running operation.
+ * @return the {@link SyncPoller} for polling of event Subscription.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String domainName, String topicName,
- String eventSubscriptionName);
+ SyncPoller, EventSubscriptionInner> beginUpdate(String resourceGroupName,
+ String domainName, String topicName, String eventSubscriptionName,
+ EventSubscriptionUpdateParameters eventSubscriptionUpdateParameters);
/**
- * Delete a nested event subscription for a domain topic.
+ * Update a nested event subscription for a domain topic.
*
- * Delete a nested existing 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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the top level domain.
* @param topicName Name of the domain topic.
- * @param eventSubscriptionName Name of the event subscription to be deleted.
+ * @param eventSubscriptionName Name of the event subscription to be found.
+ * @param eventSubscriptionUpdateParameters Updated event subscription 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 long-running operation.
+ * @return the {@link SyncPoller} for polling of event Subscription.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String domainName, String topicName,
- String eventSubscriptionName, Context context);
+ SyncPoller, EventSubscriptionInner> beginUpdate(String resourceGroupName,
+ String domainName, String topicName, String eventSubscriptionName,
+ EventSubscriptionUpdateParameters eventSubscriptionUpdateParameters, Context context);
/**
- * Delete a nested event subscription for a domain topic.
+ * Update a nested event subscription for a domain topic.
*
- * Delete a nested existing 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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the top level domain.
* @param topicName Name of the domain topic.
- * @param eventSubscriptionName Name of the event subscription to be deleted.
+ * @param eventSubscriptionName Name of the event subscription to be found.
+ * @param eventSubscriptionUpdateParameters Updated event subscription 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 event Subscription.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String domainName, String topicName, String eventSubscriptionName);
+ EventSubscriptionInner update(String resourceGroupName, String domainName, String topicName,
+ String eventSubscriptionName, EventSubscriptionUpdateParameters eventSubscriptionUpdateParameters);
/**
- * Delete a nested event subscription for a domain topic.
+ * Update a nested event subscription for a domain topic.
*
- * Delete a nested existing 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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the top level domain.
* @param topicName Name of the domain topic.
- * @param eventSubscriptionName Name of the event subscription to be deleted.
+ * @param eventSubscriptionName Name of the event subscription to be found.
+ * @param eventSubscriptionUpdateParameters Updated event subscription 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 event Subscription.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String domainName, String topicName, String eventSubscriptionName,
+ EventSubscriptionInner update(String resourceGroupName, String domainName, String topicName,
+ String eventSubscriptionName, EventSubscriptionUpdateParameters eventSubscriptionUpdateParameters,
Context context);
/**
- * Update a nested event subscription for a domain topic.
+ * Delete a nested event subscription for a domain topic.
*
- * Update an existing 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 domain.
- * @param topicName Name of the topic.
- * @param eventSubscriptionName Name of the event subscription to be updated.
- * @param eventSubscriptionUpdateParameters Updated event subscription information.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param domainName Name of the top level domain.
+ * @param topicName Name of the domain topic.
+ * @param eventSubscriptionName Name of the event subscription to be found.
* @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 event Subscription.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, EventSubscriptionInner> beginUpdate(String resourceGroupName,
- String domainName, String topicName, String eventSubscriptionName,
- EventSubscriptionUpdateParameters eventSubscriptionUpdateParameters);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String domainName, String topicName,
+ String eventSubscriptionName);
/**
- * Update a nested event subscription for a domain topic.
+ * Delete a nested event subscription for a domain topic.
*
- * Update an existing 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 domain.
- * @param topicName Name of the topic.
- * @param eventSubscriptionName Name of the event subscription to be updated.
- * @param eventSubscriptionUpdateParameters Updated event subscription information.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param domainName Name of the top level domain.
+ * @param topicName Name of the domain topic.
+ * @param eventSubscriptionName Name of the event subscription to be found.
* @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 event Subscription.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, EventSubscriptionInner> beginUpdate(String resourceGroupName,
- String domainName, String topicName, String eventSubscriptionName,
- EventSubscriptionUpdateParameters eventSubscriptionUpdateParameters, Context context);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String domainName, String topicName,
+ String eventSubscriptionName, Context context);
/**
- * Update a nested event subscription for a domain topic.
+ * Delete a nested event subscription for a domain topic.
*
- * Update an existing 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 domain.
- * @param topicName Name of the topic.
- * @param eventSubscriptionName Name of the event subscription to be updated.
- * @param eventSubscriptionUpdateParameters Updated event subscription information.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param domainName Name of the top level domain.
+ * @param topicName Name of the domain topic.
+ * @param eventSubscriptionName Name of the event subscription to be found.
* @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 event Subscription.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- EventSubscriptionInner update(String resourceGroupName, String domainName, String topicName,
- String eventSubscriptionName, EventSubscriptionUpdateParameters eventSubscriptionUpdateParameters);
+ void delete(String resourceGroupName, String domainName, String topicName, String eventSubscriptionName);
/**
- * Update a nested event subscription for a domain topic.
+ * Delete a nested event subscription for a domain topic.
*
- * Update an existing 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 domain.
- * @param topicName Name of the topic.
- * @param eventSubscriptionName Name of the event subscription to be updated.
- * @param eventSubscriptionUpdateParameters Updated event subscription information.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param domainName Name of the top level domain.
+ * @param topicName Name of the domain topic.
+ * @param eventSubscriptionName Name of the event subscription to be found.
* @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 event Subscription.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- EventSubscriptionInner update(String resourceGroupName, String domainName, String topicName,
- String eventSubscriptionName, EventSubscriptionUpdateParameters eventSubscriptionUpdateParameters,
+ void delete(String resourceGroupName, String domainName, String topicName, String eventSubscriptionName,
Context context);
/**
- * Get full URL of a nested event subscription for domain topic.
+ * List all nested event subscriptions for a specific domain topic.
*
- * Get the full endpoint URL for a nested event subscription for domain topic.
+ * List all event subscriptions that have been created for a specific domain topic.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param domainName Name of the top level domain.
+ * @param topicName 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 result of the List EventSubscriptions operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String domainName, String topicName);
+
+ /**
+ * List all nested event subscriptions for a specific domain topic.
+ *
+ * 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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the top level domain.
* @param topicName Name of the domain topic.
- * @param eventSubscriptionName Name of the event 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' 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 the full endpoint URL for a nested event subscription for domain topic along with {@link Response}.
+ * @return result of the List EventSubscriptions operation as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getFullUrlWithResponse(String resourceGroupName, String domainName,
- String topicName, String eventSubscriptionName, Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName, String domainName, String topicName,
+ String filter, Integer top, Context context);
/**
- * Get full URL of a nested event subscription for domain topic.
+ * Get delivery attributes for an event subscription for domain topic.
*
- * Get the full endpoint URL for a nested 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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the top level domain.
* @param topicName Name of the domain topic.
- * @param eventSubscriptionName Name of the event subscription.
+ * @param eventSubscriptionName Name of the event subscription to be found.
+ * @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 delivery attributes for an event subscription for domain topic.
+ *
+ * Get all delivery attributes for an event subscription for domain topic along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- EventSubscriptionFullUrlInner getFullUrl(String resourceGroupName, String domainName, String topicName,
- String eventSubscriptionName);
+ Response getDeliveryAttributesWithResponse(String resourceGroupName,
+ String domainName, String topicName, String eventSubscriptionName, Context context);
/**
- * List all nested event subscriptions for a specific domain topic.
+ * Get delivery attributes for an event subscription for domain topic.
*
- * List all event subscriptions that have been created for a specific 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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the top level domain.
* @param topicName Name of the domain topic.
+ * @param eventSubscriptionName Name of the event subscription to be found.
* @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 EventSubscriptions operation as paginated response with {@link PagedIterable}.
+ * @return delivery attributes for an event subscription for domain topic.
+ *
+ * Get all delivery attributes for an event subscription for domain topic.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String domainName, String topicName);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DeliveryAttributeListResultInner getDeliveryAttributes(String resourceGroupName, String domainName,
+ String topicName, String eventSubscriptionName);
/**
- * List all nested event subscriptions for a specific domain topic.
+ * Get full URL of a nested event subscription for domain topic.
*
- * List all event subscriptions that have been created for a specific 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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the top level domain.
* @param topicName Name of the domain topic.
- * @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 eventSubscriptionName Name of the event subscription to be found.
* @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 EventSubscriptions operation as paginated response with {@link PagedIterable}.
+ * @return full URL of a nested event subscription for domain topic.
+ *
+ * Get the full endpoint URL for a nested event subscription for domain topic along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName, String domainName, String topicName,
- String filter, Integer top, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getFullUrlWithResponse(String resourceGroupName, String domainName,
+ String topicName, String eventSubscriptionName, Context context);
+
+ /**
+ * 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. The name is case insensitive.
+ * @param domainName Name of the top level domain.
+ * @param topicName Name of the domain topic.
+ * @param eventSubscriptionName Name of the event subscription to be found.
+ * @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 full URL of a nested event subscription for domain topic.
+ *
+ * Get the full endpoint URL for a nested event subscription for domain topic.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ EventSubscriptionFullUrlInner getFullUrl(String resourceGroupName, String domainName, String topicName,
+ String eventSubscriptionName);
}
diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/DomainTopicsClient.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/DomainTopicsClient.java
index ee60797fb26a1..ec6c47f62167a 100644
--- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/DomainTopicsClient.java
+++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/DomainTopicsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.eventgrid.fluent;
@@ -22,14 +22,16 @@ public interface DomainTopicsClient {
*
* Get properties of a domain topic.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @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 a domain topic.
+ *
+ * Get properties of a domain topic along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getWithResponse(String resourceGroupName, String domainName, String domainTopicName,
@@ -40,13 +42,15 @@ Response getWithResponse(String resourceGroupName, String doma
*
* Get properties of a domain topic.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @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.
+ * @return a domain topic.
+ *
+ * Get properties of a domain topic.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
DomainTopicInner get(String resourceGroupName, String domainName, String domainTopicName);
@@ -56,9 +60,9 @@ Response getWithResponse(String resourceGroupName, String doma
*
* 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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the domain.
- * @param domainTopicName Name of the domain topic.
+ * @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.
@@ -73,9 +77,9 @@ SyncPoller, DomainTopicInner> beginCreateOrUpdate(S
*
* 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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the domain.
- * @param domainTopicName Name of the domain topic.
+ * @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.
@@ -91,9 +95,9 @@ SyncPoller, DomainTopicInner> beginCreateOrUpdate(S
*
* 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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the domain.
- * @param domainTopicName Name of the domain topic.
+ * @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.
@@ -107,9 +111,9 @@ SyncPoller, DomainTopicInner> beginCreateOrUpdate(S
*
* 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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the domain.
- * @param domainTopicName Name of the domain topic.
+ * @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.
@@ -125,9 +129,9 @@ DomainTopicInner createOrUpdate(String resourceGroupName, String domainName, Str
*
* Delete existing domain topic.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the domain.
- * @param domainTopicName Name of the domain topic.
+ * @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.
@@ -141,9 +145,9 @@ DomainTopicInner createOrUpdate(String resourceGroupName, String domainName, Str
*
* Delete existing domain topic.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the domain.
- * @param domainTopicName Name of the domain topic.
+ * @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.
@@ -159,9 +163,9 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
*
* Delete existing domain topic.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the domain.
- * @param domainTopicName Name of the domain topic.
+ * @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.
@@ -174,9 +178,9 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
*
* Delete existing domain topic.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the domain.
- * @param domainTopicName Name of the domain topic.
+ * @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.
@@ -190,8 +194,8 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
*
* 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 resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param domainName Name of the domain.
* @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.
@@ -205,8 +209,8 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
*
* 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 resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param domainName Name of the domain.
* @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
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 0ebd4df482d58..8454bd2e1a403 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
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.eventgrid.fluent;
@@ -25,13 +25,15 @@ public interface DomainsClient {
*
* Get properties of a domain.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @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 a domain.
+ *
+ * Get properties of a domain along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getByResourceGroupWithResponse(String resourceGroupName, String domainName, Context context);
@@ -41,12 +43,14 @@ public interface DomainsClient {
*
* Get properties of a domain.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the domain.
* @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 a domain.
+ *
+ * Get properties of a domain.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
DomainInner getByResourceGroup(String resourceGroupName, String domainName);
@@ -56,7 +60,7 @@ public interface DomainsClient {
*
* 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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the domain.
* @param domainInfo Domain information.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -73,7 +77,7 @@ SyncPoller, DomainInner> beginCreateOrUpdate(String reso
*
* 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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the domain.
* @param domainInfo Domain information.
* @param context The context to associate with this operation.
@@ -91,7 +95,7 @@ SyncPoller, DomainInner> beginCreateOrUpdate(String reso
*
* 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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the domain.
* @param domainInfo Domain information.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -107,7 +111,7 @@ SyncPoller, DomainInner> beginCreateOrUpdate(String reso
*
* 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 resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the domain.
* @param domainInfo Domain information.
* @param context The context to associate with this operation.
@@ -120,27 +124,30 @@ SyncPoller, DomainInner> beginCreateOrUpdate(String reso
DomainInner createOrUpdate(String resourceGroupName, String domainName, DomainInner domainInfo, Context context);
/**
- * Delete a domain.
+ * Update a domain.
*
- * Delete existing domain.
+ * Asynchronously updates a domain with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the domain.
+ * @param domainUpdateParameters Domain update 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 long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String domainName);
+ SyncPoller, DomainInner> beginUpdate(String resourceGroupName, String domainName,
+ DomainUpdateParameters domainUpdateParameters);
/**
- * Delete a domain.
+ * Update a domain.
*
- * Delete existing domain.
+ * Asynchronously updates a domain with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the domain.
+ * @param domainUpdateParameters Domain 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.
@@ -148,62 +155,65 @@ SyncPoller, DomainInner> beginCreateOrUpdate(String reso
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String domainName, Context context);
+ SyncPoller, DomainInner> beginUpdate(String resourceGroupName, String domainName,
+ DomainUpdateParameters domainUpdateParameters, Context context);
/**
- * Delete a domain.
+ * Update a domain.
*
- * Delete existing domain.
+ * Asynchronously updates a domain with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the domain.
+ * @param domainUpdateParameters Domain update 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 response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String domainName);
+ DomainInner update(String resourceGroupName, String domainName, DomainUpdateParameters domainUpdateParameters);
/**
- * Delete a domain.
+ * Update a domain.
*
- * Delete existing domain.
+ * Asynchronously updates a domain with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the domain.
+ * @param domainUpdateParameters Domain 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 response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String domainName, Context context);
+ DomainInner update(String resourceGroupName, String domainName, DomainUpdateParameters domainUpdateParameters,
+ Context context);
/**
- * Update a domain.
+ * Delete a domain.
*
- * Asynchronously updates a domain with the specified parameters.
+ * Delete existing domain.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the domain.
- * @param domainUpdateParameters Domain update 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 long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, DomainInner> beginUpdate(String resourceGroupName, String domainName,
- DomainUpdateParameters domainUpdateParameters);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String domainName);
/**
- * Update a domain.
+ * Delete a domain.
*
- * Asynchronously updates a domain with the specified parameters.
+ * Delete existing domain.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the domain.
- * @param domainUpdateParameters Domain 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.
@@ -211,60 +221,57 @@ SyncPoller, DomainInner> beginUpdate(String resourceGrou
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, DomainInner> beginUpdate(String resourceGroupName, String domainName,
- DomainUpdateParameters domainUpdateParameters, Context context);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String domainName, Context context);
/**
- * Update a domain.
+ * Delete a domain.
*
- * Asynchronously updates a domain with the specified parameters.
+ * Delete existing domain.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the domain.
- * @param domainUpdateParameters Domain update 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 response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- DomainInner update(String resourceGroupName, String domainName, DomainUpdateParameters domainUpdateParameters);
+ void delete(String resourceGroupName, String domainName);
/**
- * Update a domain.
+ * Delete a domain.
*
- * Asynchronously updates a domain with the specified parameters.
+ * Delete existing domain.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the domain.
- * @param domainUpdateParameters Domain 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 response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- DomainInner update(String resourceGroupName, String domainName, DomainUpdateParameters domainUpdateParameters,
- Context context);
+ void delete(String resourceGroupName, String domainName, Context context);
/**
- * List domains under an Azure subscription.
+ * List domains under a resource group.
*
- * List all the domains under an Azure subscription.
+ * List all the domains under a resource group.
*
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 Domains operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
+ PagedIterable listByResourceGroup(String resourceGroupName);
/**
- * List domains under an Azure subscription.
+ * List domains under a resource group.
*
- * List all the domains under an Azure subscription.
+ * List all the domains under a resource group.
*
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @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
@@ -279,28 +286,26 @@ DomainInner update(String resourceGroupName, String domainName, DomainUpdatePara
* @return result of the List Domains operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String filter, Integer top, Context context);
+ PagedIterable listByResourceGroup(String resourceGroupName, String filter, Integer top,
+ Context context);
/**
- * List domains under a resource group.
+ * List domains under an Azure subscription.
*
- * List all the domains under a resource group.
+ * List all the domains under an Azure subscription.
*
- * @param resourceGroupName The name of the resource group within the user's 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 result of the List Domains operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName);
+ PagedIterable list();
/**
- * List domains under a resource group.
+ * List domains under an Azure subscription.
*
- * List all the domains under a resource group.
+ * List all the domains under an Azure subscription.
*
- * @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
* '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
@@ -315,15 +320,14 @@ DomainInner update(String resourceGroupName, String domainName, DomainUpdatePara
* @return result of the List Domains operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName, String filter, Integer top,
- Context context);
+ PagedIterable list(String filter, Integer top, Context context);
/**
* List keys for a domain.
*
* List the two keys used to publish to a domain.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the domain.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -340,7 +344,7 @@ Response listSharedAccessKeysWithResponse(String re
*
* List the two keys used to publish to a domain.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the domain.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -355,7 +359,7 @@ Response listSharedAccessKeysWithResponse(String re
*
* Regenerate a shared access key for a domain.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the domain.
* @param regenerateKeyRequest Request body to regenerate key.
* @param context The context to associate with this operation.
@@ -373,7 +377,7 @@ Response regenerateKeyWithResponse(String resourceG
*
* Regenerate a shared access key for a domain.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param domainName Name of the domain.
* @param regenerateKeyRequest Request body to regenerate key.
* @throws IllegalArgumentException thrown if parameters fail the validation.
diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/EventGridManagementClient.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/EventGridManagementClient.java
index 6c64aea9724dc..2b94d5abfe3e2 100644
--- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/EventGridManagementClient.java
+++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/EventGridManagementClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.eventgrid.fluent;
@@ -12,27 +12,26 @@
*/
public interface EventGridManagementClient {
/**
- * Gets Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms
- * part of the URI for every service call.
- *
- * @return the subscriptionId value.
- */
- String getSubscriptionId();
-
- /**
- * Gets server parameter.
+ * Gets Service host.
*
* @return the endpoint value.
*/
String getEndpoint();
/**
- * Gets Api Version.
+ * Gets Version parameter.
*
* @return the apiVersion value.
*/
String getApiVersion();
+ /**
+ * Gets The ID of the target subscription. The value must be an UUID.
+ *
+ * @return the subscriptionId value.
+ */
+ String getSubscriptionId();
+
/**
* Gets The HTTP pipeline to send requests through.
*
@@ -47,6 +46,13 @@ public interface EventGridManagementClient {
*/
Duration getDefaultPollInterval();
+ /**
+ * Gets the OperationsClient object to access its operations.
+ *
+ * @return the OperationsClient object.
+ */
+ OperationsClient getOperations();
+
/**
* Gets the CaCertificatesClient object to access its operations.
*
@@ -54,6 +60,13 @@ public interface EventGridManagementClient {
*/
CaCertificatesClient getCaCertificates();
+ /**
+ * Gets the NamespacesClient object to access its operations.
+ *
+ * @return the NamespacesClient object.
+ */
+ NamespacesClient getNamespaces();
+
/**
* Gets the ChannelsClient object to access its operations.
*
@@ -61,6 +74,13 @@ public interface EventGridManagementClient {
*/
ChannelsClient getChannels();
+ /**
+ * Gets the PartnerNamespacesClient object to access its operations.
+ *
+ * @return the PartnerNamespacesClient object.
+ */
+ PartnerNamespacesClient getPartnerNamespaces();
+
/**
* Gets the ClientGroupsClient object to access its operations.
*
@@ -90,11 +110,11 @@ public interface EventGridManagementClient {
DomainTopicsClient getDomainTopics();
/**
- * Gets the DomainTopicEventSubscriptionsClient object to access its operations.
+ * Gets the EventSubscriptionsClient object to access its operations.
*
- * @return the DomainTopicEventSubscriptionsClient object.
+ * @return the EventSubscriptionsClient object.
*/
- DomainTopicEventSubscriptionsClient getDomainTopicEventSubscriptions();
+ EventSubscriptionsClient getEventSubscriptions();
/**
* Gets the TopicEventSubscriptionsClient object to access its operations.
@@ -110,13 +130,6 @@ public interface EventGridManagementClient {
*/
DomainEventSubscriptionsClient getDomainEventSubscriptions();
- /**
- * Gets the EventSubscriptionsClient object to access its operations.
- *
- * @return the EventSubscriptionsClient object.
- */
- EventSubscriptionsClient getEventSubscriptions();
-
/**
* Gets the SystemTopicEventSubscriptionsClient object to access its operations.
*
@@ -124,13 +137,6 @@ public interface EventGridManagementClient {
*/
SystemTopicEventSubscriptionsClient getSystemTopicEventSubscriptions();
- /**
- * Gets the NamespaceTopicEventSubscriptionsClient object to access its operations.
- *
- * @return the NamespaceTopicEventSubscriptionsClient object.
- */
- NamespaceTopicEventSubscriptionsClient getNamespaceTopicEventSubscriptions();
-
/**
* Gets the PartnerTopicEventSubscriptionsClient object to access its operations.
*
@@ -138,13 +144,6 @@ public interface EventGridManagementClient {
*/
PartnerTopicEventSubscriptionsClient getPartnerTopicEventSubscriptions();
- /**
- * Gets the NamespacesClient object to access its operations.
- *
- * @return the NamespacesClient object.
- */
- NamespacesClient getNamespaces();
-
/**
* Gets the NamespaceTopicsClient object to access its operations.
*
@@ -152,13 +151,6 @@ public interface EventGridManagementClient {
*/
NamespaceTopicsClient getNamespaceTopics();
- /**
- * Gets the OperationsClient object to access its operations.
- *
- * @return the OperationsClient object.
- */
- OperationsClient getOperations();
-
/**
* Gets the PartnerConfigurationsClient object to access its operations.
*
@@ -173,13 +165,6 @@ public interface EventGridManagementClient {
*/
PartnerDestinationsClient getPartnerDestinations();
- /**
- * Gets the PartnerNamespacesClient object to access its operations.
- *
- * @return the PartnerNamespacesClient object.
- */
- PartnerNamespacesClient getPartnerNamespaces();
-
/**
* Gets the PartnerRegistrationsClient object to access its operations.
*
@@ -251,16 +236,30 @@ public interface EventGridManagementClient {
TopicSpacesClient getTopicSpaces();
/**
- * Gets the TopicTypesClient object to access its operations.
+ * Gets the VerifiedPartnersClient object to access its operations.
*
- * @return the TopicTypesClient object.
+ * @return the VerifiedPartnersClient object.
*/
- TopicTypesClient getTopicTypes();
+ VerifiedPartnersClient getVerifiedPartners();
/**
- * Gets the VerifiedPartnersClient object to access its operations.
+ * Gets the DomainTopicEventSubscriptionsClient object to access its operations.
*
- * @return the VerifiedPartnersClient object.
+ * @return the DomainTopicEventSubscriptionsClient object.
*/
- VerifiedPartnersClient getVerifiedPartners();
+ DomainTopicEventSubscriptionsClient getDomainTopicEventSubscriptions();
+
+ /**
+ * Gets the NamespaceTopicEventSubscriptionsClient object to access its operations.
+ *
+ * @return the NamespaceTopicEventSubscriptionsClient object.
+ */
+ NamespaceTopicEventSubscriptionsClient getNamespaceTopicEventSubscriptions();
+
+ /**
+ * Gets the TopicTypesClient object to access its operations.
+ *
+ * @return the TopicTypesClient object.
+ */
+ TopicTypesClient getTopicTypes();
}
diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/EventSubscriptionsClient.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/EventSubscriptionsClient.java
index 1bf427df48757..3ed035b3fec89 100644
--- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/EventSubscriptionsClient.java
+++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/EventSubscriptionsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.eventgrid.fluent;
@@ -21,70 +21,98 @@
*/
public interface EventSubscriptionsClient {
/**
- * Get delivery attributes for an event subscription.
+ * List all global event subscriptions under an Azure subscription and resource group.
*
- * Get all delivery attributes for an event subscription.
+ * List all global event subscriptions under a specific Azure subscription and resource group.
*
- * @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.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 EventSubscriptions operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * List all global event subscriptions under an Azure subscription and resource group.
+ *
+ * List all global event subscriptions under a specific Azure subscription and resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 delivery attributes for an event subscription along with {@link Response}.
+ * @return result of the List EventSubscriptions operation as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getDeliveryAttributesWithResponse(String scope,
- String eventSubscriptionName, Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, String filter, Integer top,
+ Context context);
/**
- * Get delivery attributes for an event subscription.
+ * List all event subscriptions for a specific domain topic.
*
- * Get all delivery attributes for an event subscription.
+ * List all event subscriptions that have been created for a specific domain topic.
*
- * @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.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param domainName Name of the top level domain.
+ * @param topicName 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 all delivery attributes for an event subscription.
+ * @return result of the List EventSubscriptions operation as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- DeliveryAttributeListResultInner getDeliveryAttributes(String scope, String eventSubscriptionName);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByDomainTopic(String resourceGroupName, String domainName,
+ String topicName);
+
+ /**
+ * List all event subscriptions for a specific domain topic.
+ *
+ * List all event subscriptions that have been created for a specific domain topic.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param domainName Name of the top level domain.
+ * @param topicName Name of the domain topic.
+ * @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 EventSubscriptions operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByDomainTopic(String resourceGroupName, String domainName,
+ String topicName, String filter, Integer top, Context context);
/**
* 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
- * '/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 scope undefined.
* @param eventSubscriptionName Name of the event subscription to be found.
* @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 along with {@link Response}.
+ * @return an event subscription.
+ *
+ * Get properties of an event subscription along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getWithResponse(String scope, String eventSubscriptionName, Context context);
@@ -94,19 +122,14 @@ Response getDeliveryAttributesWithResponse(Str
*
* 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 scope undefined.
* @param eventSubscriptionName Name of the event subscription to be found.
* @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 an event subscription.
+ *
+ * Get properties of an event subscription.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
EventSubscriptionInner get(String scope, String eventSubscriptionName);
@@ -117,16 +140,8 @@ Response getDeliveryAttributesWithResponse(Str
* 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
- * 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 to be created. Event subscription names must be
- * between 3 and 64 characters in length and should use alphanumeric letters only.
+ * @param scope undefined.
+ * @param eventSubscriptionName Name of the event subscription to be found.
* @param eventSubscriptionInfo Event subscription properties containing the destination and filter information.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -143,16 +158,8 @@ SyncPoller, EventSubscriptionInner> beginCrea
* 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
- * 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 to be created. Event subscription names must be
- * between 3 and 64 characters in length and should use alphanumeric letters only.
+ * @param scope undefined.
+ * @param eventSubscriptionName Name of the event subscription to be found.
* @param eventSubscriptionInfo Event subscription properties containing the destination and filter information.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -170,16 +177,8 @@ SyncPoller, EventSubscriptionInner> beginCrea
* 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
- * 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 to be created. Event subscription names must be
- * between 3 and 64 characters in length and should use alphanumeric letters only.
+ * @param scope undefined.
+ * @param eventSubscriptionName Name of the event subscription to be found.
* @param eventSubscriptionInfo Event subscription properties containing the destination and filter information.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -196,16 +195,8 @@ EventSubscriptionInner createOrUpdate(String scope, String eventSubscriptionName
* 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
- * 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 to be created. Event subscription names must be
- * between 3 and 64 characters in length and should use alphanumeric letters only.
+ * @param scope undefined.
+ * @param eventSubscriptionName Name of the event subscription to be found.
* @param eventSubscriptionInfo Event subscription properties containing the destination and filter information.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -217,108 +208,13 @@ EventSubscriptionInner createOrUpdate(String scope, String eventSubscriptionName
EventSubscriptionInner createOrUpdate(String scope, String eventSubscriptionName,
EventSubscriptionInner eventSubscriptionInfo, Context context);
- /**
- * 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
- * '/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 to be deleted.
- * @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, Void> beginDelete(String scope, String eventSubscriptionName);
-
- /**
- * 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
- * '/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 to be deleted.
- * @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, Void> beginDelete(String scope, String eventSubscriptionName, Context context);
-
- /**
- * 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
- * '/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 to be deleted.
- * @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 scope, String eventSubscriptionName);
-
- /**
- * 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
- * '/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 to be deleted.
- * @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 scope, String eventSubscriptionName, Context context);
-
/**
* 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
- * '/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 to be updated.
+ * @param scope undefined.
+ * @param eventSubscriptionName Name of the event subscription to be found.
* @param eventSubscriptionUpdateParameters Updated event subscription information.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -334,15 +230,8 @@ SyncPoller, EventSubscriptionInner> beginUpda
*
* 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
- * '/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 to be updated.
+ * @param scope undefined.
+ * @param eventSubscriptionName Name of the event subscription to be found.
* @param eventSubscriptionUpdateParameters Updated event subscription information.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -360,15 +249,8 @@ SyncPoller, EventSubscriptionInner> beginUpda
*
* 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
- * '/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 to be updated.
+ * @param scope undefined.
+ * @param eventSubscriptionName Name of the event subscription to be found.
* @param eventSubscriptionUpdateParameters Updated event subscription information.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -384,15 +266,8 @@ EventSubscriptionInner update(String scope, String eventSubscriptionName,
*
* 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
- * '/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 to be updated.
+ * @param scope undefined.
+ * @param eventSubscriptionName Name of the event subscription to be found.
* @param eventSubscriptionUpdateParameters Updated event subscription information.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -405,50 +280,64 @@ EventSubscriptionInner update(String scope, String eventSubscriptionName,
EventSubscriptionUpdateParameters eventSubscriptionUpdateParameters, Context context);
/**
- * Get full URL of an event subscription.
+ * Delete an event subscription.
*
- * Get the full endpoint URL for an event subscription.
+ * Delete an existing event subscription.
+ *
+ * @param scope undefined.
+ * @param eventSubscriptionName Name of the event subscription to be found.
+ * @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, Void> beginDelete(String scope, String eventSubscriptionName);
+
+ /**
+ * 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
- * '/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.
+ * @param scope undefined.
+ * @param eventSubscriptionName Name of the event subscription to be found.
* @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 {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String scope, String eventSubscriptionName, Context context);
+
+ /**
+ * Delete an event subscription.
+ *
+ * Delete an existing event subscription.
+ *
+ * @param scope undefined.
+ * @param eventSubscriptionName Name of the event subscription to be found.
+ * @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)
- Response getFullUrlWithResponse(String scope, String eventSubscriptionName,
- Context context);
+ void delete(String scope, String eventSubscriptionName);
/**
- * Get full URL of an event subscription.
+ * Delete an event subscription.
*
- * Get the full endpoint URL for 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
- * '/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.
+ * @param scope undefined.
+ * @param eventSubscriptionName Name of the event subscription to be found.
+ * @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.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- EventSubscriptionFullUrlInner getFullUrl(String scope, String eventSubscriptionName);
+ void delete(String scope, String eventSubscriptionName, Context context);
/**
* Get an aggregated list of all global event subscriptions under an Azure subscription.
@@ -457,7 +346,10 @@ Response getFullUrlWithResponse(String scope, Str
*
* @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 EventSubscriptions operation as paginated response with {@link PagedIterable}.
+ * @return an aggregated list of all global event subscriptions under an Azure subscription.
+ *
+ * List all aggregated global event subscriptions under a specific Azure subscription as paginated response with
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list();
@@ -478,31 +370,41 @@ Response getFullUrlWithResponse(String scope, Str
* @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 EventSubscriptions operation as paginated response with {@link PagedIterable}.
+ * @return an aggregated list of all global event subscriptions under an Azure subscription.
+ *
+ * List all aggregated global event subscriptions under a specific Azure subscription as paginated response with
+ * {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String filter, Integer top, Context context);
/**
- * List all global event subscriptions for a topic type.
+ * List all event subscriptions.
*
- * List all global event subscriptions under an Azure subscription for a topic type.
+ * List all event subscriptions that have been created for a specific resource.
*
- * @param topicTypeName Name of the topic type.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param providerNamespace Namespace of the provider of the topic.
+ * @param resourceTypeName Name of the resource type.
+ * @param resourceName Name of the resource.
* @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 EventSubscriptions operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listGlobalBySubscriptionForTopicType(String topicTypeName);
+ PagedIterable listByResource(String resourceGroupName, String providerNamespace,
+ String resourceTypeName, String resourceName);
/**
- * List all global event subscriptions for a topic type.
+ * List all event subscriptions.
*
- * List all global event subscriptions under an Azure subscription for a topic type.
+ * List all event subscriptions that have been created for a specific resource.
*
- * @param topicTypeName Name of the topic type.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param providerNamespace Namespace of the provider of the topic.
+ * @param resourceTypeName Name of the resource type.
+ * @param resourceName Name of the resource.
* @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
@@ -517,29 +419,101 @@ Response getFullUrlWithResponse(String scope, Str
* @return result of the List EventSubscriptions operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listGlobalBySubscriptionForTopicType(String topicTypeName, String filter,
- Integer top, Context context);
+ PagedIterable listByResource(String resourceGroupName, String providerNamespace,
+ String resourceTypeName, String resourceName, String filter, Integer top, Context context);
/**
- * List all global event subscriptions under an Azure subscription and resource group.
+ * Get delivery attributes for an event subscription.
*
- * List all global event subscriptions under a specific Azure subscription and resource group.
+ * Get all delivery attributes for an event subscription.
+ *
+ * @param scope undefined.
+ * @param eventSubscriptionName Name of the event subscription to be found.
+ * @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 delivery attributes for an event subscription.
+ *
+ * Get all delivery attributes for an event subscription along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getDeliveryAttributesWithResponse(String scope,
+ String eventSubscriptionName, Context context);
+
+ /**
+ * Get delivery attributes for an event subscription.
+ *
+ * Get all delivery attributes for an event subscription.
+ *
+ * @param scope undefined.
+ * @param eventSubscriptionName Name of the event subscription to be found.
+ * @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 delivery attributes for an event subscription.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * Get all delivery attributes for an event subscription.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DeliveryAttributeListResultInner getDeliveryAttributes(String scope, String eventSubscriptionName);
+
+ /**
+ * Get full URL of an event subscription.
+ *
+ * Get the full endpoint URL for an event subscription.
+ *
+ * @param scope undefined.
+ * @param eventSubscriptionName Name of the event subscription to be found.
+ * @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 full URL of an event subscription.
+ *
+ * Get the full endpoint URL for an event subscription along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getFullUrlWithResponse(String scope, String eventSubscriptionName,
+ Context context);
+
+ /**
+ * Get full URL of an event subscription.
+ *
+ * Get the full endpoint URL for an event subscription.
+ *
+ * @param scope undefined.
+ * @param eventSubscriptionName Name of the event subscription to be found.
+ * @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 full URL of an event subscription.
+ *
+ * Get the full endpoint URL for an event subscription.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ EventSubscriptionFullUrlInner getFullUrl(String scope, String eventSubscriptionName);
+
+ /**
+ * List all global event subscriptions for a topic type.
+ *
+ * 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.
* @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 EventSubscriptions operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName);
+ PagedIterable listGlobalBySubscriptionForTopicType(String topicTypeName);
/**
- * List all global event subscriptions under an Azure subscription and resource group.
+ * List all global event subscriptions for a topic type.
*
- * List all global event subscriptions under a specific Azure subscription and resource group.
+ * List all global event subscriptions under an Azure subscription for a topic type.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @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
* '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
@@ -554,15 +528,15 @@ PagedIterable listGlobalBySubscriptionForTopicType(Strin
* @return result of the List EventSubscriptions operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName, String filter, Integer top,
- Context context);
+ PagedIterable listGlobalBySubscriptionForTopicType(String topicTypeName, String filter,
+ Integer top, Context context);
/**
* List all global event subscriptions under a resource group for a topic type.
*
* List all global event subscriptions under a resource group for a specific topic type.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param topicTypeName Name of the topic type.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -578,7 +552,7 @@ PagedIterable listGlobalByResourceGroupForTopicType(Stri
*
* List all global event subscriptions under a resource group for a specific topic type.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @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
* 'name' property only and with limited number of OData operations. These operations are: the 'contains' function
@@ -602,7 +576,7 @@ PagedIterable listGlobalByResourceGroupForTopicType(Stri
*
* List all event subscriptions from the given location under a specific Azure subscription.
*
- * @param location Name of the location.
+ * @param location The location 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.
@@ -616,7 +590,7 @@ PagedIterable listGlobalByResourceGroupForTopicType(Stri
*
* List all event subscriptions from the given location under a specific Azure subscription.
*
- * @param location Name of the location.
+ * @param location The location 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
@@ -639,8 +613,8 @@ PagedIterable listRegionalBySubscription(String location
*
* List all event subscriptions from the given location under a specific Azure subscription and resource group.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
- * @param location Name of the location.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The location 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.
@@ -654,8 +628,8 @@ PagedIterable listRegionalBySubscription(String location
*
* List all event subscriptions from the given location under a specific Azure subscription and resource group.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
- * @param location Name of the location.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The location 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
@@ -678,7 +652,7 @@ PagedIterable listRegionalByResourceGroup(String resourc
*
* List all event subscriptions from the given location under a specific Azure subscription and topic type.
*
- * @param location Name of the location.
+ * @param location The location name.
* @param topicTypeName Name of the topic type.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -693,7 +667,7 @@ PagedIterable listRegionalByResourceGroup(String resourc
*
* List all event subscriptions from the given location under a specific Azure subscription and topic type.
*
- * @param location Name of the location.
+ * @param location The location name.
* @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
* 'name' property only and with limited number of OData operations. These operations are: the 'contains' function
@@ -718,8 +692,8 @@ PagedIterable listRegionalBySubscriptionForTopicType(Str
* List all event subscriptions from the given location under a specific Azure subscription and resource group and
* topic type.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
- * @param location Name of the location.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The location name.
* @param topicTypeName Name of the topic type.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -736,8 +710,8 @@ PagedIterable listRegionalByResourceGroupForTopicType(St
* List all event subscriptions from the given location under a specific Azure subscription and resource group and
* topic type.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
- * @param location Name of the location.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param location The location name.
* @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
* 'name' property only and with limited number of OData operations. These operations are: the 'contains' function
@@ -755,90 +729,4 @@ PagedIterable listRegionalByResourceGroupForTopicType(St
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listRegionalByResourceGroupForTopicType(String resourceGroupName,
String location, String topicTypeName, String filter, Integer top, Context context);
-
- /**
- * List all event subscriptions.
- *
- * List all event subscriptions that have been created for a specific resource.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription.
- * @param providerNamespace Namespace of the provider of the topic.
- * @param resourceTypeName Name of the resource type.
- * @param resourceName Name of the resource.
- * @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 EventSubscriptions operation as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResource(String resourceGroupName, String providerNamespace,
- String resourceTypeName, String resourceName);
-
- /**
- * List all event subscriptions.
- *
- * List all event subscriptions that have been created for a specific resource.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription.
- * @param providerNamespace Namespace of the provider of the topic.
- * @param resourceTypeName Name of the resource type.
- * @param resourceName Name of the resource.
- * @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 EventSubscriptions operation as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResource(String resourceGroupName, String providerNamespace,
- String resourceTypeName, String resourceName, String filter, Integer top, Context context);
-
- /**
- * List all event subscriptions for a specific domain topic.
- *
- * 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.
- * @param topicName 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 result of the List EventSubscriptions operation as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByDomainTopic(String resourceGroupName, String domainName,
- String topicName);
-
- /**
- * List all event subscriptions for a specific domain topic.
- *
- * 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.
- * @param topicName Name of the domain topic.
- * @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 EventSubscriptions operation as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByDomainTopic(String resourceGroupName, String domainName,
- String topicName, String filter, Integer top, Context context);
}
diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/ExtensionTopicsClient.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/ExtensionTopicsClient.java
index ebf2418b955bc..d2012bdb3002c 100644
--- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/ExtensionTopicsClient.java
+++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/ExtensionTopicsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.eventgrid.fluent;
@@ -19,17 +19,14 @@ public interface ExtensionTopicsClient {
*
* Get the properties of an extension topic.
*
- * @param scope The identifier of the resource to which extension topic is queried. The scope can be a subscription,
- * or a resource group, or a top level resource belonging to a resource provider namespace. 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 Azure resource.
+ * @param scope The fully qualified Azure Resource manager identifier of the resource.
* @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 properties of an extension topic along with {@link Response}.
+ * @return properties of an extension topic.
+ *
+ * Get the properties of an extension topic along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getWithResponse(String scope, Context context);
@@ -39,16 +36,13 @@ public interface ExtensionTopicsClient {
*
* Get the properties of an extension topic.
*
- * @param scope The identifier of the resource to which extension topic is queried. The scope can be a subscription,
- * or a resource group, or a top level resource belonging to a resource provider namespace. 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 Azure resource.
+ * @param scope The fully qualified Azure Resource manager identifier of the resource.
* @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 properties of an extension topic.
+ * @return properties of an extension topic.
+ *
+ * Get the properties of an extension topic.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
ExtensionTopicInner get(String scope);
diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/NamespaceTopicEventSubscriptionsClient.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/NamespaceTopicEventSubscriptionsClient.java
index bb65166c9317b..5da212ad4ae2e 100644
--- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/NamespaceTopicEventSubscriptionsClient.java
+++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/NamespaceTopicEventSubscriptionsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.eventgrid.fluent;
@@ -25,7 +25,7 @@ public interface NamespaceTopicEventSubscriptionsClient {
*
* Get properties of an event subscription of a namespace topic.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param topicName Name of the namespace topic.
* @param eventSubscriptionName Name of the event subscription to be found.
@@ -33,7 +33,9 @@ public interface NamespaceTopicEventSubscriptionsClient {
* @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 namespace topic along with {@link Response}.
+ * @return an event subscription of a namespace topic.
+ *
+ * Get properties of an event subscription of a namespace topic along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getWithResponse(String resourceGroupName, String namespaceName, String topicName,
@@ -44,14 +46,16 @@ Response getWithResponse(String resourceGroupName, String nam
*
* Get properties of an event subscription of a namespace topic.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param topicName Name of the namespace topic.
* @param eventSubscriptionName Name of the event subscription to be found.
* @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 namespace topic.
+ * @return an event subscription of a namespace topic.
+ *
+ * Get properties of an event subscription of a namespace topic.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SubscriptionInner get(String resourceGroupName, String namespaceName, String topicName,
@@ -63,11 +67,10 @@ SubscriptionInner get(String resourceGroupName, String namespaceName, String top
* Asynchronously creates or updates an event subscription of a namespace topic with the specified parameters.
* Existing event subscriptions will be updated with this API.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param topicName Name of the namespace topic.
- * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names must be
- * between 3 and 50 characters in length and use alphanumeric letters only.
+ * @param eventSubscriptionName Name of the event subscription to be found.
* @param eventSubscriptionInfo Event subscription properties containing the delivery mode, filter information, and
* others.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -85,11 +88,10 @@ SyncPoller, SubscriptionInner> beginCreateOrUpdate
* Asynchronously creates or updates an event subscription of a namespace topic with the specified parameters.
* Existing event subscriptions will be updated with this API.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param topicName Name of the namespace topic.
- * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names must be
- * between 3 and 50 characters in length and use alphanumeric letters only.
+ * @param eventSubscriptionName Name of the event subscription to be found.
* @param eventSubscriptionInfo Event subscription properties containing the delivery mode, filter information, and
* others.
* @param context The context to associate with this operation.
@@ -109,11 +111,10 @@ SyncPoller, SubscriptionInner> beginCreateOrUpdate
* Asynchronously creates or updates an event subscription of a namespace topic with the specified parameters.
* Existing event subscriptions will be updated with this API.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param topicName Name of the namespace topic.
- * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names must be
- * between 3 and 50 characters in length and use alphanumeric letters only.
+ * @param eventSubscriptionName Name of the event subscription to be found.
* @param eventSubscriptionInfo Event subscription properties containing the delivery mode, filter information, and
* others.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -131,11 +132,10 @@ SubscriptionInner createOrUpdate(String resourceGroupName, String namespaceName,
* Asynchronously creates or updates an event subscription of a namespace topic with the specified parameters.
* Existing event subscriptions will be updated with this API.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param topicName Name of the namespace topic.
- * @param eventSubscriptionName Name of the event subscription to be created. Event subscription names must be
- * between 3 and 50 characters in length and use alphanumeric letters only.
+ * @param eventSubscriptionName Name of the event subscription to be found.
* @param eventSubscriptionInfo Event subscription properties containing the delivery mode, filter information, and
* others.
* @param context The context to associate with this operation.
@@ -149,162 +149,162 @@ SubscriptionInner createOrUpdate(String resourceGroupName, String namespaceName,
String eventSubscriptionName, SubscriptionInner eventSubscriptionInfo, Context context);
/**
- * Delete an event subscription of a namespace topic.
+ * Update event subscription of a namespace topic.
*
- * Delete an existing event subscription of a namespace topic.
+ * Update an existing event subscription of a namespace topic.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param topicName Name of the namespace topic.
- * @param eventSubscriptionName Name of the event subscription to be deleted.
+ * @param eventSubscriptionName Name of the event subscription to be found.
+ * @param eventSubscriptionUpdateParameters Updated event subscription 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 long-running operation.
+ * @return the {@link SyncPoller} for polling of event Subscription.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String namespaceName, String topicName,
- String eventSubscriptionName);
+ SyncPoller, SubscriptionInner> beginUpdate(String resourceGroupName,
+ String namespaceName, String topicName, String eventSubscriptionName,
+ SubscriptionUpdateParameters eventSubscriptionUpdateParameters);
/**
- * Delete an event subscription of a namespace topic.
+ * Update event subscription of a namespace topic.
*
- * Delete an existing event subscription of a namespace topic.
+ * Update an existing event subscription of a namespace topic.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param topicName Name of the namespace topic.
- * @param eventSubscriptionName Name of the event subscription to be deleted.
+ * @param eventSubscriptionName Name of the event subscription to be found.
+ * @param eventSubscriptionUpdateParameters Updated event subscription 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 long-running operation.
+ * @return the {@link SyncPoller} for polling of event Subscription.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String namespaceName, String topicName,
- String eventSubscriptionName, Context context);
+ SyncPoller, SubscriptionInner> beginUpdate(String resourceGroupName,
+ String namespaceName, String topicName, String eventSubscriptionName,
+ SubscriptionUpdateParameters eventSubscriptionUpdateParameters, Context context);
/**
- * Delete an event subscription of a namespace topic.
+ * Update event subscription of a namespace topic.
*
- * Delete an existing event subscription of a namespace topic.
+ * Update an existing event subscription of a namespace topic.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param topicName Name of the namespace topic.
- * @param eventSubscriptionName Name of the event subscription to be deleted.
+ * @param eventSubscriptionName Name of the event subscription to be found.
+ * @param eventSubscriptionUpdateParameters Updated event subscription 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 event Subscription.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String namespaceName, String topicName, String eventSubscriptionName);
+ SubscriptionInner update(String resourceGroupName, String namespaceName, String topicName,
+ String eventSubscriptionName, SubscriptionUpdateParameters eventSubscriptionUpdateParameters);
/**
- * Delete an event subscription of a namespace topic.
+ * Update event subscription of a namespace topic.
*
- * Delete an existing event subscription of a namespace topic.
+ * Update an existing event subscription of a namespace topic.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param topicName Name of the namespace topic.
- * @param eventSubscriptionName Name of the event subscription to be deleted.
+ * @param eventSubscriptionName Name of the event subscription to be found.
+ * @param eventSubscriptionUpdateParameters Updated event subscription 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 event Subscription.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String namespaceName, String topicName, String eventSubscriptionName,
- Context context);
+ SubscriptionInner update(String resourceGroupName, String namespaceName, String topicName,
+ String eventSubscriptionName, SubscriptionUpdateParameters eventSubscriptionUpdateParameters, Context context);
/**
- * Update event subscription of a namespace topic.
+ * Delete an event subscription of a namespace topic.
*
- * Update an existing event subscription of a namespace topic.
+ * Delete an existing event subscription of a namespace topic.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param topicName Name of the namespace topic.
- * @param eventSubscriptionName Name of the event subscription to be updated.
- * @param eventSubscriptionUpdateParameters Updated event subscription information.
+ * @param eventSubscriptionName Name of the event subscription to be found.
* @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 event Subscription.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, SubscriptionInner> beginUpdate(String resourceGroupName,
- String namespaceName, String topicName, String eventSubscriptionName,
- SubscriptionUpdateParameters eventSubscriptionUpdateParameters);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String namespaceName, String topicName,
+ String eventSubscriptionName);
/**
- * Update event subscription of a namespace topic.
+ * Delete an event subscription of a namespace topic.
*
- * Update an existing event subscription of a namespace topic.
+ * Delete an existing event subscription of a namespace topic.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param topicName Name of the namespace topic.
- * @param eventSubscriptionName Name of the event subscription to be updated.
- * @param eventSubscriptionUpdateParameters Updated event subscription information.
+ * @param eventSubscriptionName Name of the event subscription to be found.
* @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 event Subscription.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, SubscriptionInner> beginUpdate(String resourceGroupName,
- String namespaceName, String topicName, String eventSubscriptionName,
- SubscriptionUpdateParameters eventSubscriptionUpdateParameters, Context context);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String namespaceName, String topicName,
+ String eventSubscriptionName, Context context);
/**
- * Update event subscription of a namespace topic.
+ * Delete an event subscription of a namespace topic.
*
- * Update an existing event subscription of a namespace topic.
+ * Delete an existing event subscription of a namespace topic.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param topicName Name of the namespace topic.
- * @param eventSubscriptionName Name of the event subscription to be updated.
- * @param eventSubscriptionUpdateParameters Updated event subscription information.
+ * @param eventSubscriptionName Name of the event subscription to be found.
* @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 event Subscription.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SubscriptionInner update(String resourceGroupName, String namespaceName, String topicName,
- String eventSubscriptionName, SubscriptionUpdateParameters eventSubscriptionUpdateParameters);
+ void delete(String resourceGroupName, String namespaceName, String topicName, String eventSubscriptionName);
/**
- * Update event subscription of a namespace topic.
+ * Delete an event subscription of a namespace topic.
*
- * Update an existing event subscription of a namespace topic.
+ * Delete an existing event subscription of a namespace topic.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param topicName Name of the namespace topic.
- * @param eventSubscriptionName Name of the event subscription to be updated.
- * @param eventSubscriptionUpdateParameters Updated event subscription information.
+ * @param eventSubscriptionName Name of the event subscription to be found.
* @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 event Subscription.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SubscriptionInner update(String resourceGroupName, String namespaceName, String topicName,
- String eventSubscriptionName, SubscriptionUpdateParameters eventSubscriptionUpdateParameters, Context context);
+ void delete(String resourceGroupName, String namespaceName, String topicName, String eventSubscriptionName,
+ Context context);
/**
* List event subscriptions of a namespace topic.
*
* List event subscriptions that belong to a specific namespace topic.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param topicName Name of the namespace topic.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -321,7 +321,7 @@ PagedIterable listByNamespaceTopic(String resourceGroupName,
*
* List event subscriptions that belong to a specific namespace topic.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param topicName Name of the namespace topic.
* @param filter The query used to filter the search results using OData syntax. Filtering is permitted on the
@@ -346,15 +346,17 @@ PagedIterable listByNamespaceTopic(String resourceGroupName,
*
* Get all delivery attributes for an event subscription of a namespace topic.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param topicName Name of the namespace topic.
- * @param eventSubscriptionName Name of the event subscription.
+ * @param eventSubscriptionName Name of the event subscription to be found.
* @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 of a namespace topic along with {@link Response}.
+ * @return delivery attributes for an event subscription of a namespace topic.
+ *
+ * Get all delivery attributes for an event subscription of a namespace topic along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getDeliveryAttributesWithResponse(String resourceGroupName,
@@ -365,14 +367,16 @@ Response getDeliveryAttributesWithResponse(Str
*
* Get all delivery attributes for an event subscription of a namespace topic.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param topicName Name of the namespace topic.
- * @param eventSubscriptionName Name of the event subscription.
+ * @param eventSubscriptionName Name of the event subscription to be found.
* @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 of a namespace topic.
+ * @return delivery attributes for an event subscription of a namespace topic.
+ *
+ * Get all delivery attributes for an event subscription of a namespace topic.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
DeliveryAttributeListResultInner getDeliveryAttributes(String resourceGroupName, String namespaceName,
@@ -383,15 +387,17 @@ DeliveryAttributeListResultInner getDeliveryAttributes(String resourceGroupName,
*
* Get the full endpoint URL for an event subscription of a namespace topic.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param topicName Name of the namespace topic.
- * @param eventSubscriptionName Name of the event subscription.
+ * @param eventSubscriptionName Name of the event subscription to be found.
* @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 of a namespace topic along with {@link Response}.
+ * @return full URL of an event subscription of a namespace topic.
+ *
+ * Get the full endpoint URL for an event subscription of a namespace topic along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getFullUrlWithResponse(String resourceGroupName, String namespaceName,
@@ -402,14 +408,16 @@ Response getFullUrlWithResponse(String resourceGroupNa
*
* Get the full endpoint URL for an event subscription of a namespace topic.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param topicName Name of the namespace topic.
- * @param eventSubscriptionName Name of the event subscription.
+ * @param eventSubscriptionName Name of the event subscription to be found.
* @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 of a namespace topic.
+ * @return full URL of an event subscription of a namespace topic.
+ *
+ * Get the full endpoint URL for an event subscription of a namespace topic.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SubscriptionFullUrlInner getFullUrl(String resourceGroupName, String namespaceName, String topicName,
diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/NamespaceTopicsClient.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/NamespaceTopicsClient.java
index 74535baeebb2e..8a9f6e2ce3c3f 100644
--- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/NamespaceTopicsClient.java
+++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/NamespaceTopicsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.eventgrid.fluent;
@@ -25,14 +25,16 @@ public interface NamespaceTopicsClient {
*
* Get properties of a namespace topic.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param topicName Name of the namespace 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 namespace topic along with {@link Response}.
+ * @return a namespace topic.
+ *
+ * Get properties of a namespace topic along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getWithResponse(String resourceGroupName, String namespaceName, String topicName,
@@ -43,13 +45,15 @@ Response getWithResponse(String resourceGroupName, String n
*
* Get properties of a namespace topic.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param topicName Name of the namespace 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 namespace topic.
+ * @return a namespace topic.
+ *
+ * Get properties of a namespace topic.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
NamespaceTopicInner get(String resourceGroupName, String namespaceName, String topicName);
@@ -59,7 +63,7 @@ Response getWithResponse(String resourceGroupName, String n
*
* Asynchronously creates a new namespace topic with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param topicName Name of the namespace topic.
* @param namespaceTopicInfo Namespace topic information.
@@ -77,7 +81,7 @@ SyncPoller, NamespaceTopicInner> beginCreateOrUp
*
* Asynchronously creates a new namespace topic with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param topicName Name of the namespace topic.
* @param namespaceTopicInfo Namespace topic information.
@@ -96,7 +100,7 @@ SyncPoller, NamespaceTopicInner> beginCreateOrUp
*
* Asynchronously creates a new namespace topic with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param topicName Name of the namespace topic.
* @param namespaceTopicInfo Namespace topic information.
@@ -114,7 +118,7 @@ NamespaceTopicInner createOrUpdate(String resourceGroupName, String namespaceNam
*
* Asynchronously creates a new namespace topic with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param topicName Name of the namespace topic.
* @param namespaceTopicInfo Namespace topic information.
@@ -129,151 +133,151 @@ NamespaceTopicInner createOrUpdate(String resourceGroupName, String namespaceNam
NamespaceTopicInner namespaceTopicInfo, Context context);
/**
- * Delete a namespace topic.
+ * Update a namespace topic.
*
- * Delete existing namespace topic.
+ * Asynchronously updates a namespace topic with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
- * @param topicName Name of the topic.
+ * @param topicName Name of the namespace topic.
+ * @param namespaceTopicUpdateParameters Namespace topic update 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 long-running operation.
+ * @return the {@link SyncPoller} for polling of namespace topic details.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String namespaceName, String topicName);
+ SyncPoller, NamespaceTopicInner> beginUpdate(String resourceGroupName,
+ String namespaceName, String topicName, NamespaceTopicUpdateParameters namespaceTopicUpdateParameters);
/**
- * Delete a namespace topic.
+ * Update a namespace topic.
*
- * Delete existing namespace topic.
+ * Asynchronously updates a namespace topic with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
- * @param topicName Name of the topic.
+ * @param topicName Name of the namespace topic.
+ * @param namespaceTopicUpdateParameters Namespace topic 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 SyncPoller} for polling of long-running operation.
+ * @return the {@link SyncPoller} for polling of namespace topic details.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String namespaceName, String topicName,
+ SyncPoller, NamespaceTopicInner> beginUpdate(String resourceGroupName,
+ String namespaceName, String topicName, NamespaceTopicUpdateParameters namespaceTopicUpdateParameters,
Context context);
/**
- * Delete a namespace topic.
+ * Update a namespace topic.
*
- * Delete existing namespace topic.
+ * Asynchronously updates a namespace topic with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
- * @param topicName Name of the topic.
+ * @param topicName Name of the namespace topic.
+ * @param namespaceTopicUpdateParameters Namespace topic update 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 namespace topic details.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String namespaceName, String topicName);
+ NamespaceTopicInner update(String resourceGroupName, String namespaceName, String topicName,
+ NamespaceTopicUpdateParameters namespaceTopicUpdateParameters);
/**
- * Delete a namespace topic.
+ * Update a namespace topic.
*
- * Delete existing namespace topic.
+ * Asynchronously updates a namespace topic with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
- * @param topicName Name of the topic.
+ * @param topicName Name of the namespace topic.
+ * @param namespaceTopicUpdateParameters Namespace topic 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 namespace topic details.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String namespaceName, String topicName, Context context);
+ NamespaceTopicInner update(String resourceGroupName, String namespaceName, String topicName,
+ NamespaceTopicUpdateParameters namespaceTopicUpdateParameters, Context context);
/**
- * Update a namespace topic.
+ * Delete a namespace topic.
*
- * Asynchronously updates a namespace topic with the specified parameters.
+ * Delete existing namespace topic.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param topicName Name of the namespace topic.
- * @param namespaceTopicUpdateParameters Namespace topic update 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 namespace topic details.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, NamespaceTopicInner> beginUpdate(String resourceGroupName,
- String namespaceName, String topicName, NamespaceTopicUpdateParameters namespaceTopicUpdateParameters);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String namespaceName, String topicName);
/**
- * Update a namespace topic.
+ * Delete a namespace topic.
*
- * Asynchronously updates a namespace topic with the specified parameters.
+ * Delete existing namespace topic.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param topicName Name of the namespace topic.
- * @param namespaceTopicUpdateParameters Namespace topic 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 SyncPoller} for polling of namespace topic details.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, NamespaceTopicInner> beginUpdate(String resourceGroupName,
- String namespaceName, String topicName, NamespaceTopicUpdateParameters namespaceTopicUpdateParameters,
+ SyncPoller, Void> beginDelete(String resourceGroupName, String namespaceName, String topicName,
Context context);
/**
- * Update a namespace topic.
+ * Delete a namespace topic.
*
- * Asynchronously updates a namespace topic with the specified parameters.
+ * Delete existing namespace topic.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param topicName Name of the namespace topic.
- * @param namespaceTopicUpdateParameters Namespace topic update 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 namespace topic details.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- NamespaceTopicInner update(String resourceGroupName, String namespaceName, String topicName,
- NamespaceTopicUpdateParameters namespaceTopicUpdateParameters);
+ void delete(String resourceGroupName, String namespaceName, String topicName);
/**
- * Update a namespace topic.
+ * Delete a namespace topic.
*
- * Asynchronously updates a namespace topic with the specified parameters.
+ * Delete existing namespace topic.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param topicName Name of the namespace topic.
- * @param namespaceTopicUpdateParameters Namespace topic 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 namespace topic details.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- NamespaceTopicInner update(String resourceGroupName, String namespaceName, String topicName,
- NamespaceTopicUpdateParameters namespaceTopicUpdateParameters, Context context);
+ void delete(String resourceGroupName, String namespaceName, String topicName, Context context);
/**
* List namespace topics under a namespace.
*
* List all the namespace topics under a namespace.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @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.
@@ -288,7 +292,7 @@ NamespaceTopicInner update(String resourceGroupName, String namespaceName, Strin
*
* List all the namespace topics under a namespace.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @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
@@ -312,9 +316,9 @@ PagedIterable listByNamespace(String resourceGroupName, Str
*
* List the two keys used to publish to a namespace topic.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
- * @param topicName Name of the topic.
+ * @param topicName Name of the namespace 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.
@@ -330,9 +334,9 @@ Response listSharedAccessKeysWithResponse(String res
*
* List the two keys used to publish to a namespace topic.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
- * @param topicName Name of the topic.
+ * @param topicName Name of the namespace 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.
@@ -346,9 +350,9 @@ Response listSharedAccessKeysWithResponse(String res
*
* Regenerate a shared access key for a namespace topic.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
- * @param topicName Name of the topic.
+ * @param topicName Name of the namespace topic.
* @param regenerateKeyRequest Request body to regenerate key.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -365,9 +369,9 @@ SyncPoller, TopicSharedAccessKeysInner> b
*
* Regenerate a shared access key for a namespace topic.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
- * @param topicName Name of the topic.
+ * @param topicName Name of the namespace topic.
* @param regenerateKeyRequest Request body to regenerate key.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -385,9 +389,9 @@ SyncPoller, TopicSharedAccessKeysInner> b
*
* Regenerate a shared access key for a namespace topic.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
- * @param topicName Name of the topic.
+ * @param topicName Name of the namespace topic.
* @param regenerateKeyRequest Request body to regenerate key.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -403,9 +407,9 @@ TopicSharedAccessKeysInner regenerateKey(String resourceGroupName, String namesp
*
* Regenerate a shared access key for a namespace topic.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
- * @param topicName Name of the topic.
+ * @param topicName Name of the namespace topic.
* @param regenerateKeyRequest Request body to regenerate key.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/NamespacesClient.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/NamespacesClient.java
index 2a3c90b42c5b8..634de3c3a11f1 100644
--- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/NamespacesClient.java
+++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/NamespacesClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.eventgrid.fluent;
@@ -26,13 +26,15 @@ public interface NamespacesClient {
*
* Get properties of a namespace.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @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 namespace along with {@link Response}.
+ * @return a namespace.
+ *
+ * Get properties of a namespace along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getByResourceGroupWithResponse(String resourceGroupName, String namespaceName,
@@ -43,12 +45,14 @@ Response getByResourceGroupWithResponse(String resourceGroupName
*
* Get properties of a namespace.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @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 properties of a namespace.
+ * @return a namespace.
+ *
+ * Get properties of a namespace.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
NamespaceInner getByResourceGroup(String resourceGroupName, String namespaceName);
@@ -58,7 +62,7 @@ Response getByResourceGroupWithResponse(String resourceGroupName
*
* Asynchronously creates or updates a new namespace with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param namespaceInfo Namespace information.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -75,7 +79,7 @@ SyncPoller, NamespaceInner> beginCreateOrUpdate(Strin
*
* Asynchronously creates or updates a new namespace with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param namespaceInfo Namespace information.
* @param context The context to associate with this operation.
@@ -93,7 +97,7 @@ SyncPoller, NamespaceInner> beginCreateOrUpdate(Strin
*
* Asynchronously creates or updates a new namespace with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param namespaceInfo Namespace information.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -109,7 +113,7 @@ SyncPoller, NamespaceInner> beginCreateOrUpdate(Strin
*
* Asynchronously creates or updates a new namespace with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param namespaceInfo Namespace information.
* @param context The context to associate with this operation.
@@ -123,152 +127,155 @@ NamespaceInner createOrUpdate(String resourceGroupName, String namespaceName, Na
Context context);
/**
- * Delete a namespace.
+ * Update a namespace.
*
- * Delete existing namespace.
+ * Asynchronously updates a namespace with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
+ * @param namespaceUpdateParameters Namespace update 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 long-running operation.
+ * @return the {@link SyncPoller} for polling of namespace resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String namespaceName);
+ SyncPoller, NamespaceInner> beginUpdate(String resourceGroupName, String namespaceName,
+ NamespaceUpdateParameters namespaceUpdateParameters);
/**
- * Delete a namespace.
+ * Update a namespace.
*
- * Delete existing namespace.
+ * Asynchronously updates a namespace with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
+ * @param namespaceUpdateParameters Namespace 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 SyncPoller} for polling of long-running operation.
+ * @return the {@link SyncPoller} for polling of namespace resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String namespaceName, Context context);
+ SyncPoller, NamespaceInner> beginUpdate(String resourceGroupName, String namespaceName,
+ NamespaceUpdateParameters namespaceUpdateParameters, Context context);
/**
- * Delete a namespace.
+ * Update a namespace.
*
- * Delete existing namespace.
+ * Asynchronously updates a namespace with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
+ * @param namespaceUpdateParameters Namespace update 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 namespace resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String namespaceName);
+ NamespaceInner update(String resourceGroupName, String namespaceName,
+ NamespaceUpdateParameters namespaceUpdateParameters);
/**
- * Delete a namespace.
+ * Update a namespace.
*
- * Delete existing namespace.
+ * Asynchronously updates a namespace with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
+ * @param namespaceUpdateParameters Namespace 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 namespace resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String namespaceName, Context context);
+ NamespaceInner update(String resourceGroupName, String namespaceName,
+ NamespaceUpdateParameters namespaceUpdateParameters, Context context);
/**
- * Update a namespace.
+ * Delete a namespace.
*
- * Asynchronously updates a namespace with the specified parameters.
+ * Delete existing namespace.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
- * @param namespaceUpdateParameters Namespace update 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 namespace resource.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, NamespaceInner> beginUpdate(String resourceGroupName, String namespaceName,
- NamespaceUpdateParameters namespaceUpdateParameters);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String namespaceName);
/**
- * Update a namespace.
+ * Delete a namespace.
*
- * Asynchronously updates a namespace with the specified parameters.
+ * Delete existing namespace.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
- * @param namespaceUpdateParameters Namespace 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 SyncPoller} for polling of namespace resource.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, NamespaceInner> beginUpdate(String resourceGroupName, String namespaceName,
- NamespaceUpdateParameters namespaceUpdateParameters, Context context);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String namespaceName, Context context);
/**
- * Update a namespace.
+ * Delete a namespace.
*
- * Asynchronously updates a namespace with the specified parameters.
+ * Delete existing namespace.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
- * @param namespaceUpdateParameters Namespace update 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 namespace resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- NamespaceInner update(String resourceGroupName, String namespaceName,
- NamespaceUpdateParameters namespaceUpdateParameters);
+ void delete(String resourceGroupName, String namespaceName);
/**
- * Update a namespace.
+ * Delete a namespace.
*
- * Asynchronously updates a namespace with the specified parameters.
+ * Delete existing namespace.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
- * @param namespaceUpdateParameters Namespace 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 namespace resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- NamespaceInner update(String resourceGroupName, String namespaceName,
- NamespaceUpdateParameters namespaceUpdateParameters, Context context);
+ void delete(String resourceGroupName, String namespaceName, Context context);
/**
- * List namespaces under an Azure subscription.
+ * List namespaces under a resource group.
*
- * List all the namespaces under an Azure subscription.
+ * List all the namespaces under a resource group.
*
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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 Namespaces operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
+ PagedIterable listByResourceGroup(String resourceGroupName);
/**
- * List namespaces under an Azure subscription.
+ * List namespaces under a resource group.
*
- * List all the namespaces under an Azure subscription.
+ * List all the namespaces under a resource group.
*
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @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
@@ -283,28 +290,26 @@ NamespaceInner update(String resourceGroupName, String namespaceName,
* @return result of the List Namespaces operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String filter, Integer top, Context context);
+ PagedIterable listByResourceGroup(String resourceGroupName, String filter, Integer top,
+ Context context);
/**
- * List namespaces under a resource group.
+ * List namespaces under an Azure subscription.
*
- * List all the namespaces under a resource group.
+ * List all the namespaces under an Azure subscription.
*
- * @param resourceGroupName The name of the resource group within the user's 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 result of the List Namespaces operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName);
+ PagedIterable list();
/**
- * List namespaces under a resource group.
+ * List namespaces under an Azure subscription.
*
- * List all the namespaces under a resource group.
+ * List all the namespaces under an Azure subscription.
*
- * @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
* '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
@@ -319,15 +324,14 @@ NamespaceInner update(String resourceGroupName, String namespaceName,
* @return result of the List Namespaces operation as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName, String filter, Integer top,
- Context context);
+ PagedIterable list(String filter, Integer top, Context context);
/**
* List keys for a namespace.
*
* List the two keys used to publish to a namespace.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName Name of the namespace.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -344,7 +348,7 @@ Response listSharedAccessKeysWithResponse(String
*
* List the two keys used to publish to a namespace.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @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.
@@ -359,8 +363,8 @@ Response listSharedAccessKeysWithResponse(String
*
* Regenerate a shared access key for a namespace.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
- * @param namespaceName Name of the Namespace.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName Name of the namespace.
* @param regenerateKeyRequest Request body to regenerate key.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -376,8 +380,8 @@ SyncPoller, NamespaceSharedAccessKeys
*
* Regenerate a shared access key for a namespace.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
- * @param namespaceName Name of the Namespace.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName Name of the namespace.
* @param regenerateKeyRequest Request body to regenerate key.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -395,8 +399,8 @@ SyncPoller, NamespaceSharedAccessKeys
*
* Regenerate a shared access key for a namespace.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
- * @param namespaceName Name of the Namespace.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName Name of the namespace.
* @param regenerateKeyRequest Request body to regenerate key.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -412,8 +416,8 @@ NamespaceSharedAccessKeysInner regenerateKey(String resourceGroupName, String na
*
* Regenerate a shared access key for a namespace.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
- * @param namespaceName Name of the Namespace.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName Name of the namespace.
* @param regenerateKeyRequest Request body to regenerate key.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -430,8 +434,8 @@ NamespaceSharedAccessKeysInner regenerateKey(String resourceGroupName, String na
*
* Performs ownership validation via checking TXT records for all custom domains in a namespace.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
- * @param namespaceName Name of the Namespace.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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.
@@ -446,8 +450,8 @@ NamespaceSharedAccessKeysInner regenerateKey(String resourceGroupName, String na
*
* Performs ownership validation via checking TXT records for all custom domains in a namespace.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
- * @param namespaceName Name of the Namespace.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName Name of the namespace.
* @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.
@@ -463,8 +467,8 @@ NamespaceSharedAccessKeysInner regenerateKey(String resourceGroupName, String na
*
* Performs ownership validation via checking TXT records for all custom domains in a namespace.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
- * @param namespaceName Name of the Namespace.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @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.
@@ -479,8 +483,8 @@ CustomDomainOwnershipValidationResultInner validateCustomDomainOwnership(String
*
* Performs ownership validation via checking TXT records for all custom domains in a namespace.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
- * @param namespaceName Name of the Namespace.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param namespaceName Name of the namespace.
* @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.
diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/NetworkSecurityPerimeterConfigurationsClient.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/NetworkSecurityPerimeterConfigurationsClient.java
index c3f2db6d09fd8..7285715d118a6 100644
--- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/NetworkSecurityPerimeterConfigurationsClient.java
+++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/NetworkSecurityPerimeterConfigurationsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.eventgrid.fluent;
@@ -24,16 +24,18 @@ public interface NetworkSecurityPerimeterConfigurationsClient {
*
* Get a specific network security perimeter configuration with a topic or domain.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
- * @param resourceType The type of the resource. This can be either \'topics\', or \'domains\'.
- * @param resourceName The name of the resource (namely, either, the topic name or domain name).
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param resourceType The type of the resource. This can be either \\'topics\\', or \\'domains\\'.
+ * @param resourceName The name of the resource group within the user's subscription.
* @param perimeterGuid Unique identifier for perimeter.
* @param associationName Association name to association network security perimeter resource to profile.
* @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 a specific network security perimeter configuration with a topic or domain along with {@link Response}.
+ * @return a specific network security perimeter configuration.
+ *
+ * Get a specific network security perimeter configuration with a topic or domain along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getWithResponse(String resourceGroupName,
@@ -45,30 +47,73 @@ Response getWithResponse(String reso
*
* Get a specific network security perimeter configuration with a topic or domain.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
- * @param resourceType The type of the resource. This can be either \'topics\', or \'domains\'.
- * @param resourceName The name of the resource (namely, either, the topic name or domain name).
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param resourceType The type of the resource. This can be either \\'topics\\', or \\'domains\\'.
+ * @param resourceName The name of the resource group within the user's subscription.
* @param perimeterGuid Unique identifier for perimeter.
* @param associationName Association name to association network security perimeter resource to profile.
* @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 a specific network security perimeter configuration with a topic or domain.
+ * @return a specific network security perimeter configuration.
+ *
+ * Get a specific network security perimeter configuration with a topic or domain.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
NetworkSecurityPerimeterConfigurationInner get(String resourceGroupName,
NetworkSecurityPerimeterResourceType resourceType, String resourceName, String perimeterGuid,
String associationName);
+ /**
+ * Get all network security perimeter configurations for resource.
+ *
+ * Get all network security perimeter configurations associated with a topic or domain.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param resourceType The type of the resource. This can be either \\'topics\\', or \\'domains\\'.
+ * @param resourceName The name of the resource group within the user's 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 network security perimeter configurations for resource.
+ *
+ * Get all network security perimeter configurations associated with a topic or domain as paginated response with
+ * {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName,
+ NetworkSecurityPerimeterResourceType resourceType, String resourceName);
+
+ /**
+ * Get all network security perimeter configurations for resource.
+ *
+ * Get all network security perimeter configurations associated with a topic or domain.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param resourceType The type of the resource. This can be either \\'topics\\', or \\'domains\\'.
+ * @param resourceName The name of the resource group within the user's 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 network security perimeter configurations for resource.
+ *
+ * Get all network security perimeter configurations associated with a topic or domain as paginated response with
+ * {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String resourceGroupName,
+ NetworkSecurityPerimeterResourceType resourceType, String resourceName, Context context);
+
/**
* Reconcile a specific network security perimeter configuration for a given network security perimeter association.
*
* Reconcile a specific network security perimeter configuration for a given network security perimeter association
* with a topic or domain.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
- * @param resourceType The type of the resource. This can be either \'topics\' or \'domains\'.
- * @param resourceName The name of the resource (namely, either, the topic name or domain name).
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param resourceType The type of the resource. This can be either \\'topics\\', or \\'domains\\'.
+ * @param resourceName The name of the resource group within the user's subscription.
* @param perimeterGuid Unique identifier for perimeter.
* @param associationName Association name to association network security perimeter resource to profile.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -87,9 +132,9 @@ NetworkSecurityPerimeterConfigurationInner get(String resourceGroupName,
* Reconcile a specific network security perimeter configuration for a given network security perimeter association
* with a topic or domain.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
- * @param resourceType The type of the resource. This can be either \'topics\' or \'domains\'.
- * @param resourceName The name of the resource (namely, either, the topic name or domain name).
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param resourceType The type of the resource. This can be either \\'topics\\', or \\'domains\\'.
+ * @param resourceName The name of the resource group within the user's subscription.
* @param perimeterGuid Unique identifier for perimeter.
* @param associationName Association name to association network security perimeter resource to profile.
* @param context The context to associate with this operation.
@@ -109,9 +154,9 @@ NetworkSecurityPerimeterConfigurationInner get(String resourceGroupName,
* Reconcile a specific network security perimeter configuration for a given network security perimeter association
* with a topic or domain.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
- * @param resourceType The type of the resource. This can be either \'topics\' or \'domains\'.
- * @param resourceName The name of the resource (namely, either, the topic name or domain name).
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param resourceType The type of the resource. This can be either \\'topics\\', or \\'domains\\'.
+ * @param resourceName The name of the resource group within the user's subscription.
* @param perimeterGuid Unique identifier for perimeter.
* @param associationName Association name to association network security perimeter resource to profile.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -130,9 +175,9 @@ NetworkSecurityPerimeterConfigurationInner reconcile(String resourceGroupName,
* Reconcile a specific network security perimeter configuration for a given network security perimeter association
* with a topic or domain.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
- * @param resourceType The type of the resource. This can be either \'topics\' or \'domains\'.
- * @param resourceName The name of the resource (namely, either, the topic name or domain name).
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param resourceType The type of the resource. This can be either \\'topics\\', or \\'domains\\'.
+ * @param resourceName The name of the resource group within the user's subscription.
* @param perimeterGuid Unique identifier for perimeter.
* @param associationName Association name to association network security perimeter resource to profile.
* @param context The context to associate with this operation.
@@ -145,41 +190,4 @@ NetworkSecurityPerimeterConfigurationInner reconcile(String resourceGroupName,
NetworkSecurityPerimeterConfigurationInner reconcile(String resourceGroupName,
NetworkSecurityPerimeterResourceType resourceType, String resourceName, String perimeterGuid,
String associationName, Context context);
-
- /**
- * Get all network security perimeter configurations for resource.
- *
- * Get all network security perimeter configurations associated with a topic or domain.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription.
- * @param resourceType The type of the resource. This can be either \'topics\' or \'domains\'.
- * @param resourceName The name of the resource (namely, either, the topic name or 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 all network security perimeter configurations associated with a topic or domain as paginated response
- * with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName,
- NetworkSecurityPerimeterResourceType resourceType, String resourceName);
-
- /**
- * Get all network security perimeter configurations for resource.
- *
- * Get all network security perimeter configurations associated with a topic or domain.
- *
- * @param resourceGroupName The name of the resource group within the user's subscription.
- * @param resourceType The type of the resource. This can be either \'topics\' or \'domains\'.
- * @param resourceName The name of the resource (namely, either, the topic name or domain name).
- * @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 network security perimeter configurations associated with a topic or domain as paginated response
- * with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String resourceGroupName,
- NetworkSecurityPerimeterResourceType resourceType, String resourceName, Context context);
}
diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/OperationsClient.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/OperationsClient.java
index ea64505b9fa0f..b90092e3657f3 100644
--- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/OperationsClient.java
+++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/OperationsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.eventgrid.fluent;
diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/PartnerConfigurationsClient.java b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/PartnerConfigurationsClient.java
index 6b1ae5ac888ea..d4b038eb2d389 100644
--- a/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/PartnerConfigurationsClient.java
+++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/PartnerConfigurationsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.eventgrid.fluent;
@@ -24,12 +24,14 @@ public interface PartnerConfigurationsClient {
*
* Get properties of a partner configuration.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @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 partner configuration along with {@link Response}.
+ * @return a partner configuration.
+ *
+ * Get properties of a partner configuration along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getByResourceGroupWithResponse(String resourceGroupName, Context context);
@@ -39,11 +41,13 @@ public interface PartnerConfigurationsClient {
*
* Get properties of a partner configuration.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @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 partner configuration.
+ * @return a partner configuration.
+ *
+ * Get properties of a partner configuration.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
PartnerConfigurationInner getByResourceGroup(String resourceGroupName);
@@ -53,7 +57,7 @@ public interface PartnerConfigurationsClient {
*
* Synchronously creates or updates a partner configuration with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param partnerConfigurationInfo Partner configuration information.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -69,7 +73,7 @@ public interface PartnerConfigurationsClient {
*
* Synchronously creates or updates a partner configuration with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param partnerConfigurationInfo Partner configuration information.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -86,7 +90,7 @@ SyncPoller, PartnerConfigurationInner> beg
*
* Synchronously creates or updates a partner configuration with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param partnerConfigurationInfo Partner configuration information.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -102,7 +106,7 @@ PartnerConfigurationInner createOrUpdate(String resourceGroupName,
*
* Synchronously creates or updates a partner configuration with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param partnerConfigurationInfo Partner configuration information.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -115,133 +119,133 @@ PartnerConfigurationInner createOrUpdate(String resourceGroupName,
PartnerConfigurationInner partnerConfigurationInfo, Context context);
/**
- * Delete a partner configuration.
+ * Update a partner configuration.
*
- * Delete existing partner configuration.
+ * Synchronously updates a partner configuration with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param partnerConfigurationUpdateParameters Partner configuration update 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 long-running operation.
+ * @return the {@link SyncPoller} for polling of partner configuration information.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName);
+ SyncPoller, PartnerConfigurationInner> beginUpdate(String resourceGroupName,
+ PartnerConfigurationUpdateParameters partnerConfigurationUpdateParameters);
/**
- * Delete a partner configuration.
+ * Update a partner configuration.
*
- * Delete existing partner configuration.
+ * Synchronously updates a partner configuration with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param partnerConfigurationUpdateParameters Partner configuration 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 SyncPoller} for polling of long-running operation.
+ * @return the {@link SyncPoller} for polling of partner configuration information.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, Context context);
+ SyncPoller, PartnerConfigurationInner> beginUpdate(String resourceGroupName,
+ PartnerConfigurationUpdateParameters partnerConfigurationUpdateParameters, Context context);
/**
- * Delete a partner configuration.
+ * Update a partner configuration.
*
- * Delete existing partner configuration.
+ * Synchronously updates a partner configuration with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param partnerConfigurationUpdateParameters Partner configuration update 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 partner configuration information.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName);
+ PartnerConfigurationInner update(String resourceGroupName,
+ PartnerConfigurationUpdateParameters partnerConfigurationUpdateParameters);
/**
- * Delete a partner configuration.
+ * Update a partner configuration.
*
- * Delete existing partner configuration.
+ * Synchronously updates a partner configuration with the specified parameters.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param partnerConfigurationUpdateParameters Partner configuration 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 partner configuration information.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, Context context);
+ PartnerConfigurationInner update(String resourceGroupName,
+ PartnerConfigurationUpdateParameters partnerConfigurationUpdateParameters, Context context);
/**
- * Update a partner configuration.
+ * Delete a partner configuration.
*
- * Synchronously updates a partner configuration with the specified parameters.
+ * Delete existing partner configuration.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
- * @param partnerConfigurationUpdateParameters Partner configuration update information.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @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 partner configuration information.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, PartnerConfigurationInner> beginUpdate(String resourceGroupName,
- PartnerConfigurationUpdateParameters partnerConfigurationUpdateParameters);
+ SyncPoller, Void> beginDelete(String resourceGroupName);
/**
- * Update a partner configuration.
+ * Delete a partner configuration.
*
- * Synchronously updates a partner configuration with the specified parameters.
+ * Delete existing partner configuration.
*
- * @param resourceGroupName The name of the resource group within the user's subscription.
- * @param partnerConfigurationUpdateParameters Partner configuration update information.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @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 partner configuration information.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller